![]() |
xilskey
Vitis Drivers API Documentation
|
Functions | |
| u32 | XilSKey_ZynqMp_Bbram_Program (const u32 *AesKey) |
| This function implements the BBRAM programming and verifying the key written. More... | |
| u32 | XilSKey_ZynqMp_Bbram_Zeroise (void) |
| This function zeroize's Bbram Key. More... | |
| u32 XilSKey_ZynqMp_Bbram_Program | ( | const u32 * | AesKey | ) |
This function implements the BBRAM programming and verifying the key written.
Program and verification of AES will work only together. CRC of the provided key will be calculated internally and verified after programming.
| AesKey | Pointer to the key which has to be programmed. |
References XSK_ZYNQMP_BBRAM_0_OFFSET, XSK_ZYNQMP_BBRAM_7_OFFSET, XSK_ZYNQMP_BBRAM_AES_CRC_OFFSET, XSK_ZYNQMP_BBRAM_BASEADDR, XSK_ZYNQMP_BBRAM_STS_AES_CRC_DONE_MASK, XSK_ZYNQMP_BBRAM_STS_AES_CRC_PASS_MASK, XSK_ZYNQMP_BBRAM_STS_OFFSET, XSK_ZYNQMP_BBRAMPS_ERROR_IN_CRC_CHECK, XSK_ZYNQMP_BBRAMPS_ERROR_IN_PRGRMG, and XSK_ZYNQMP_BBRAMPS_ERROR_IN_WRITE_CRC.
| u32 XilSKey_ZynqMp_Bbram_Zeroise | ( | void | ) |
This function zeroize's Bbram Key.
References XSK_ZYNQMP_BBRAM_0_OFFSET, XSK_ZYNQMP_BBRAM_7_OFFSET, XSK_ZYNQMP_BBRAM_BASEADDR, XSK_ZYNQMP_BBRAM_CTRL_OFFSET, XSK_ZYNQMP_BBRAM_CTRL_ZEROIZE_MASK, XSK_ZYNQMP_BBRAM_STS_OFFSET, and XSK_ZYNQMP_BBRAM_STS_ZEROIZED_MASK.