AES_CMAC calculation context.
int cmac_init(cmac_context_t *ctx, const uint8_t *key, uint8_t key_size)
Initialize CMAC message digest context.
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.