HMAC

Martin Bonner Martin.Bonner at entrust.com
Wed Nov 15 12:55:11 UTC 2023


> with OpenSSL deprecating most of the HMAC functions (c.f.
> /docs/man3.0/man3/HMAC_Init_ex.html (openssl.org)
> https://www.openssl.org/docs/man3.0/man3/HMAC_Init_ex.html
> what is the alternative approach to do that computation if you have
> multiple data arrays to do the computation over via HMAC_Update?

From the page you linked to:
"Applications should instead use EVP_MAC_CTX_new(3), EVP_MAC_CTX_free(3)
 EVP_MAC_init(3), EVP_MAC_update(3) and EVP_MAC_final(3)"

Specifically you can call EVP_MAC_update multiple times.

Martin Bonner
Any email and files/attachments transmitted with it are intended solely for the use of the individual or entity to whom they are addressed. If this message has been sent to you in error, you must not copy, distribute or disclose of the information it contains. Please notify Entrust immediately and delete the message from your system.


More information about the openssl-users mailing list