nrfxlib API 3.3.99
Loading...
Searching...
No Matches

AES Cipher-based Message Authentication Code algorithm. More...

Files

file  ocrypto_aes_cmac.h
 AES Cipher-based Message Authentication Code.
 

Macros

#define ocrypto_aes_cmac_prf128_BYTES   (16)
 

Functions

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)
 
void ocrypto_aes_cmac_prf128 (uint8_t prf[(16)], const uint8_t *msg, size_t msg_len, const uint8_t *key, size_t key_len)
 

Detailed Description

AES Cipher-based Message Authentication Code algorithm.

AES-CMAC (AES Cipher-based Message Authentication Code) is a block cipher-based message authentication code algorithm. The AES block cipher primitive is used in variant of the CBC mode to get the authentication tag.

See also
RFC - The AES-CMAC Algorithm
NIST - Special Publication 800-38B