MW_AES_Ctx_T

PIC32CX-BZ2

C

typedef struct MW_AES_Ctx_T
{
    CRYPT_AES_CTX aesCtx;
    MW_AES_Ccm_T ccmCtx;
} MW_AES_Ctx_T;

Description

Structure for maintaining AES encryption context.

Field Documentation

FieldDescription
aesCtxUnderlying cryptographic library's AES context. This context is used to retain the internal state between encryption or decryption operations.
ccmCtxUnderlying ccm library's user input. This context is used to ensure the api consistency.

PIC32CX-BZ3

C

typedef struct MW_AES_Ctx_T
{
  struct sxblkcipher aesBlkCipher;
  struct sxkeyref    aesKeyRef;
  struct sxaead      aeadCtx;
  uint16_t           aeadSize; 
} MW_AES_Ctx_T;

Description

Structure for maintaining AES encryption context.

Field Documentation

FieldDescription
aesBlkCipherBlock cipher context for AES operations.
aesKeyRefReference to the AES key for encryption or decryption.
aeadCtxCipher context for AEAD operations.
aeadSizeData size for AEAD operations.

PIC32CX-BZ6

C

typedef struct MW_AES_Ctx_T
{
  struct crmblkcipher aesBlkCipher;
  struct crmkeyref    aesKeyRef;
  struct crmaead      aeadCtx;
  uint16_t            aeadSize; 
} MW_AES_Ctx_T;

Description

Structure for maintaining AES encryption context.

Field Documentation

FieldDescription
aesBlkCipherBlock cipher context for AES operations.
aesKeyRefReference to the AES key for encryption or decryption.
aeadCtxCipher context for AEAD operations.
aeadSizeData size for AEAD operations.