5.5.1.1 st_Crypto_Aead_AesGcm_ctx

Description

This structure is used to define context for AES-GCM algorithms.

Structure Elements Data TypeElement NameDescription
uint32_tcryptoSessionIDIt defines the session ID, must be more than zero
crypto_HandlerType_EaeadHandlerType_enEnum for crypto handler type i.e., SW, HW
crypto_CipherOper_EaeadCipherOper_en;Enum for crypto operation mode i.e., encrypt, decrypt
uint8_t*ptr_keyKey for the AES-GCM cipher operation
uint32_taeadKeySizeKey length for the AES-GCM algorithm
uint8_t*ptr_initVectPointer for initialization vector
uint32_tinitVectLenIV length for the AES-GCM algorithm
uint8_tarr_aeadDataCtx[512]Array for the context variable data storage