What MAC (Message Authentication Code) algorithms are supported in OpenSSL?

What MAC (Message Authentication Code) algorithms are supported in OpenSSL?

I found hmac and gost-mac (ccgost). Others?

+4
source share
1 answer

What MAC (Message Authentication Code) algorithms are supported in OpenSSL?

HMAC, GMAC and CMAC. GMAC is part of the GCM; and CMAC is supported in the upcoming OpenSSL 1.1.0, which is available in Master.

You also have traditional signatures.

OpenSSL provides an example of using HMAC, CMAC, and signing on its Wiki in Signing and Verifying EVP . For GMAC, you need to go to EVP Authenticated Encryption and Decryption and just use the AAD function in this mode.

+3
source

All Articles