mbedtls_cmac_context_t Struct ReferenceCryptography Hardware Acceleration Plugins > Accelerated AES-CMAC Cipher

The CMAC context structure.

Definition at line 42 of file cmac_alt.h.

#include <cmac_alt.h>

Data Fields

unsigned char state [MBEDTLS_CIPHER_BLKSIZE_MAX]
 
unsigned char unprocessed_block [MBEDTLS_CIPHER_BLKSIZE_MAX]
 
size_t unprocessed_len
 

Field Documentation

unsigned char mbedtls_cmac_context_t::state[MBEDTLS_CIPHER_BLKSIZE_MAX]

The internal state of the CMAC algorithm.

Definition at line 45 of file cmac_alt.h.

unsigned char mbedtls_cmac_context_t::unprocessed_block[MBEDTLS_CIPHER_BLKSIZE_MAX]

Unprocessed data - either data that was not block aligned and is still pending processing, or the final block.

Definition at line 49 of file cmac_alt.h.

size_t mbedtls_cmac_context_t::unprocessed_len

The length of data pending processing.

Definition at line 52 of file cmac_alt.h.


The documentation for this struct was generated from the following file:
  • cmac_alt.h