Posts Tagged ‘libgcrypt’

libgcrypt: the AES-CMAC algorithm

Wednesday, November 12th, 2014

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.