nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ ocrypto_aes_cmac_authenticate()

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.

Parameters
[out]tagResulting tag.
tag_lenTag length, 0 < tag_len <= 16.
msgMessage to authenticate.
msg_lenMessage length.
keyAES key.
sizeKey size (16, 24, or 32).