libgcrypt: the AES-CMAC algorithm

AES CMAC example for libgcrypt version 1.6.0.

See “The AES-CMAC Algorithm”, Request for Comments: 4493,

Build:

gcc -Wall -Wextra -g -std=c99 -o aes_cmac aes_cmac.c -lgcrypt

Code here.

 

Tags:

Comments are closed.