Is there an OpenSSL API available for AES-GMAC operation #24393
Answered
by
mattcaswell
Yogaraj-Alamenda
asked this question in
Q&A
-
Is there an OpenSSL API available for AES-GMAC operation ? or is it through AES-GCM with plaintext zero only ? |
Beta Was this translation helpful? Give feedback.
Answered by
mattcaswell
May 14, 2024
Replies: 1 comment 1 reply
-
AES in combination with GMAC is AES-GCM - but I think you mean GMAC as a standalone operation. In which case, yes. You can use the EVP_MAC APIs: https://www.openssl.org/docs/man3.3/man7/EVP_MAC-GMAC.html |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Yogaraj-Alamenda
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
AES in combination with GMAC is AES-GCM - but I think you mean GMAC as a standalone operation. In which case, yes. You can use the EVP_MAC APIs:
https://www.openssl.org/docs/man3.3/man7/EVP_MAC-GMAC.html
https://www.openssl.org/docs/man3.3/man3/EVP_MAC_init.html