Need Replacement for Deprecated function.

Jeremy Harris jgh at wizmail.org
Sun Dec 5 21:59:34 UTC 2021


On 05/12/2021 02:12, Dr Paul Dale wrote:
> They are documented in provider-mac(7) <https://www.openssl.org/docs/man3.0/man7/provider-mac.html> and EVP_MAC-HMAC(7) <https://www.openssl.org/docs/man3.0/man7/EVP_MAC-HMAC.html> respectively.
> 
> The key is the MAC key -- a string of bytes.
> The digest is the name of the digest that is to be used by the MAC. "sha1", "sha2-256", ...
> 
> Pauli
> 
> On 4/12/21 10:55 pm, Jeremy Harris wrote:
>> Following along with my tidying out of now-deprecated interface uses...
>>
>>
>> The reference example in
>> https://www.openssl.org/docs/manmaster/man3/SSL_CTX_set_tlsext_ticket_key_cb.html
>>
>> uses OSSL_MAC_PARAM_KEY and OSSL_MAC_PARAM_DIGEST.
>>
>> So does the code in master as of 6d770c5ba3.  But I don't see definitions
>> for them
So... how does that code compile?
Where is that macro defined?


(Thanks for the docs pointer.  I guess I can just use the explicit string)

-- 
Cheers,
   Jeremy


More information about the openssl-users mailing list