openssl/include
Richard Levitte 3b924da0f0 EVP: add internal evp_keymgmt_util_get_deflt_digest_name() and use it
evp_keymgmt_util_get_deflt_digest_name() is a refactor of the provider
side key part of EVP_PKEY_get_default_digest_name(), that takes
EVP_KEYMGMT and provider keydata pointers instead of an EVP_PKEY
pointer.

We also ensure that it uses SN_undef as the default name if the
provider implementation gave us an empty string, since this is what
EVP_PKEY_get_default_digest_name() responds when getting the digest
name via a EVP_PKEY_ASN1_METHOD ctrl call that returns NID_undef.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11576)
2020-04-23 10:44:37 +01:00
..
crypto EVP: add internal evp_keymgmt_util_get_deflt_digest_name() and use it 2020-04-23 10:44:37 +01:00
internal Fix DH_get_nid() so that it does not cache values. 2020-04-20 11:07:38 +10:00
openssl params: add functionality to test if an OSSL_PARAM has been set. 2020-04-22 13:56:44 +10:00