xilsecure
Vitis Drivers API Documentation
xsecure_plat_aes.h File Reference

Overview

This file contains Versal Net specific code for Xilsecure aes server.

MODIFICATION HISTORY:
Ver   Who  Date        Changes


5.2 kpt 06/20/23 Initial release 5.4 yog 04/29/24 Fixed doxygen grouping. kpt 06/13/24 Added AES key unwrap with padding support.

 

Macros

#define XSECURE_AES_ECB_MODE_EN   (1U)
 AES ECB Mode Enable. More...
 
#define XSECURE_AES_ECB_MODE_DIS   (0U)
 AES ECB Mode Enable. More...
 
#define XSECURE_AES_64BIT_BLOCK_SIZE   (8U)
 AES 64-bit block size in bytes. More...
 

Functions

int XSecure_AesEcbCfg (XSecure_Aes *InstancePtr, u32 EcbModeFlag)
 This function sets AES ECB mode. More...
 
int XSecure_AesEcbDecrypt (XSecure_Aes *InstancePtr, u64 KeyAddr, XSecure_AesKeySize KeySize, u64 InDataAddr, u64 OutDataAddr, u32 Size)
 This function writes AES key into XSECURE_AES_USER_KEY_7 and decrypts the data in ECB mode. More...
 
int XSecure_AesKeyUnwrap (XSecure_Aes *InstancePtr, u8 *EphAesKey, XSecure_AesKeySize KeySize, u8 *AesWrapKey, u64 OutDataAddr, u32 Size)
 This function unwraps the given AES wrapped key. More...