EVP_MAC_init - specify the hash algorithm

Ken Goldman kgoldman at us.ibm.com
Tue Jul 13 18:02:22 UTC 2021

Porting to 3.0 ... HMAC_Init_ex() had a place for
the hash algorithm.  EVP_MAC_init() does not,
unless it's embedded in the 'params' parameter.

Any advice?  Or a sample for doing an
HMAC with 3.0?

More information about the openssl-users mailing list