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.
Prototype
u32 XilSKey_ZynqMp_Bbram_Program(const u32 *AesKey);
Parameters
The following table lists the XilSKey_ZynqMp_Bbram_Program
function arguments.
Type | Name | Description |
---|---|---|
const u32 * | AesKey | Pointer to the key which has to be programmed. |
Returns
- Error code from XskZynqMp_Ps_Bbram_ErrorCodes enum if it fails
- XST_SUCCESS if programming is done.