DL_AES_Config
Module: Driverlib (AM13E230X) APIs / Driverlib AES API
Configuration structure for the AES module. It contains the superset of configurable information for the control module.
#include <dl_aes.h>
Public Attributes
Name |
|
|---|---|
uint8_t * |
|
uint8_t * |
|
uint8_t * |
|
uint8_t * |
|
uint32_t |
|
uint32_t |
|
uint32_t |
Public Attributes Documentation
variable mode
DL_AES_MODE mode;
Mode field, one of DL_AES_MODE
variable direction
DL_AES_DIR direction;
Encrypt or decrypt, one of DL_AES_DIR. Note that CBCMAC cannot be configured with the decrypt direction
variable ctr_ctrWidth
DL_AES_CTR_WIDTH ctr_ctrWidth;
Counter mode (CTR) counter width, one of DL_AES_CTR_WIDTH. CTR width is also used in combined operation modes CCM and GCM
variable cfb_fbWidth
DL_AES_FB_WIDTH cfb_fbWidth;
Cipher Feedback (CFB) feedback width, one of DL_AES_FB_WIDTH
variable ccm_ctrWidth
DL_AES_CCM_CTR_WIDTH ccm_ctrWidth;
CCM width of the counter length field for CCM operations, one of DL_AES_CCM_CTR_WIDTH. The ctr_width parameter must be equal to or larger than this value
variable ccm_tagWidth
DL_AES_CCM_TAG_WIDTH ccm_tagWidth;
CCM Width of the authentication field for CCM operations, one of DL_AES_CCM_TAG_WIDTH
variable iv
uint8_t * iv;
Initialization Vector. Should be 32-bit aligned
variable nonce
uint8_t * nonce;
Nonce in the case of CCM, this should point to the nonce. Refer to DL_AES_loadCCMNonceAndCounter in order to determine nonce length used
variable k1
uint8_t * k1;
Derived key K1, used in the authentication-only mode CMAC Must be 32-bit aligned and equal to the block size (128-bits)
variable k2
uint8_t * k2;
Derived key K2, used in the authentication-only mode CMAC must be 32-bit aligned and equal to the block size (128-bits)
variable lowerCryptoLength
uint32_t lowerCryptoLength;
Crypto Data Length - 61-bit value expressed as an upper value and lower value. This is the lower 32-bits
variable upperCryptoLength
uint32_t upperCryptoLength;
Crypto Data Length - 61-bit value expressed as an upper value and lower value. This is the upper 29-bits
variable aadLength
uint32_t aadLength;
Additional Authentication Data (AAD) Length. CCM/GCM specific