nrfxlib API 0.1.0
|
void ocrypto_aes_cmac_authenticate | ( | uint8_t * | tag, |
size_t | tag_len, | ||
const uint8_t * | msg, | ||
size_t | msg_len, | ||
const uint8_t * | key, | ||
size_t | size | ||
) |
#include <crypto/nrf_oberon/include/ocrypto_aes_cmac.h>
AES-CMAC authentication algorithm.
[out] | tag | Resulting tag. |
tag_len | Tag length, 0 < tag_len <= 16. | |
msg | Message to authenticate. | |
msg_len | Message length. | |
key | AES key. | |
size | Key size (16, 24, or 32). |