5.4.1.1 st_Crypto_Aead_AesEax_ctx
Description
This structure is used to define context for AES-EAX algorithms.
Structure Elements Data Type | Element Name | Description |
---|---|---|
uint32_t | cryptoSessionID | It defines the session ID, must be more than zero |
crypto_HandlerType_E | aeadHandlerType_en | Enum for crypto operation handler i.e., SW, HW |
crypto_CipherOper_E | aeadCipherOper_en | Select cipher operation, encryption or decryption |
uint8_t* | ptr_key | Key for the AES-EAX cipher operation |
uint32_t | aeadKeySize | Key length in bytes for the AES-EAX algorithm |
uint8_t* | ptr_aeadNonce | Pointer for nonce |
uint32_t | aeadNonuceLen | Nonce length in bytes(usually of 128-bit) |
uint8_t | arr_aeadDataCtx[512] | Array for the context variable data storage |