Is there any way to compute AES CMAC with OpenSSL/libcrypto?
Preferably in a way that takes advantage of AES-NI (or any other hardware acceleration).
See also CMAC Key generation with OpenSSL EVP_DigestSign* fails
Is there any way to compute AES CMAC with OpenSSL/libcrypto?
Preferably in a way that takes advantage of AES-NI (or any other hardware acceleration).
See also CMAC Key generation with OpenSSL EVP_DigestSign* fails
Copyright © 2021 Jogjafile Inc.
As stated in my blog post you can use the
CMAC_CTX_new,CMAC_Init,CMAC_UpdateandCMAC_Finalfromlib cryptoto calculate AES-128-CBC CMAC. Here is an example: