12 u8 subkey[AES_BLOCK_SIZE];
13 u8 mac[AES_BLOCK_SIZE];
14 u8 buffer[AES_BLOCK_SIZE];
22 u8 subkey[AES_BLOCK_SIZE];
23 u8 mac[AES_BLOCK_SIZE];
24 u8 buffer[AES_BLOCK_SIZE];
32 u8 subkey[AES_BLOCK_SIZE];
33 u8 mac[AES_BLOCK_SIZE];
34 u8 buffer[AES_BLOCK_SIZE];
Hardware accelerated AES-ECB implementation.
void cmacAes192CalculateMac(void *dst, const void *key, const void *src, size_t size)
Simple all-in-one AES-192-CMAC calculator.
void cmacAes128CalculateMac(void *dst, const void *key, const void *src, size_t size)
Simple all-in-one AES-128-CMAC calculator.
void cmacAes256ContextCreate(Aes256CmacContext *out, const void *key)
Initialize an AES-256-CMAC context.
void cmacAes256ContextUpdate(Aes256CmacContext *ctx, const void *src, size_t size)
Updates AES-256-CMAC context with data to hash.
void cmacAes256CalculateMac(void *dst, const void *key, const void *src, size_t size)
Simple all-in-one AES-256-CMAC calculator.
void cmacAes192ContextCreate(Aes192CmacContext *out, const void *key)
Initialize an AES-192-CMAC context.
void cmacAes256ContextGetMac(Aes256CmacContext *ctx, void *dst)
Gets the context's output mac, finalizes the context.
void cmacAes128ContextCreate(Aes128CmacContext *out, const void *key)
Initialize an AES-128-CMAC context.
void cmacAes192ContextUpdate(Aes192CmacContext *ctx, const void *src, size_t size)
Updates AES-192-CMAC context with data to hash.
void cmacAes192ContextGetMac(Aes192CmacContext *ctx, void *dst)
Gets the context's output mac, finalizes the context.
void cmacAes128ContextGetMac(Aes128CmacContext *ctx, void *dst)
Gets the context's output mac, finalizes the context.
void cmacAes128ContextUpdate(Aes128CmacContext *ctx, const void *src, size_t size)
Updates AES-128-CMAC context with data to hash.
Context for AES-128 CMAC.
Definition: cmac.h:10
Context for AES-128 operations.
Definition: aes.h:41
Context for AES-192 CMAC.
Definition: cmac.h:20
Context for AES-192 operations.
Definition: aes.h:46
Context for AES-256 CMAC.
Definition: cmac.h:30
Context for AES-256 operations.
Definition: aes.h:51
uint8_t u8
8-bit unsigned integer.
Definition: types.h:19