AES_CMAC interface definition. More...
AES_CMAC interface definition.
Definition in file cmac.h.
Go to the source code of this file.
Data Structures | |
struct | cmac_context_t |
AES_CMAC calculation context. More... | |
Macros | |
#define | CMAC_BLOCK_SIZE 16 |
Length of AES_CMAC block in bytes. | |
Functions | |
int | cmac_init (cmac_context_t *ctx, const uint8_t *key, uint8_t key_size) |
Initialize CMAC message digest context. More... | |
void | cmac_update (cmac_context_t *ctx, const void *data, size_t len) |
Update the CMAC context with a portion of the message being hashed. More... | |
void | cmac_final (cmac_context_t *ctx, void *digest) |
Finalizes the CMAC message digest. More... | |