5.5.1.1 st_Crypto_Aead_AesGcm_ctx
Description
This structure is used to define context for AES-GCM 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 handler type i.e., SW, HW |
crypto_CipherOper_E | aeadCipherOper_en; | Enum for crypto operation mode i.e., encrypt, decrypt |
uint8_t* | ptr_key | Key for the AES-GCM cipher operation |
uint32_t | aeadKeySize | Key length for the AES-GCM algorithm |
uint8_t* | ptr_initVect | Pointer for initialization vector |
uint32_t | initVectLen | IV length for the AES-GCM algorithm |
uint8_t | arr_aeadDataCtx[512] | Array for the context variable data storage |