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
..
2019-07-02 14:22:29 +02:00
2019-12-11 19:04:01 +01:00
2019-10-11 15:30:57 +02:00
2019-10-11 15:30:57 +02:00
2019-10-11 15:30:57 +02:00
2019-10-11 15:30:57 +02:00
2019-10-31 14:26:34 +01:00
2019-08-19 00:06:41 +02:00
2019-10-14 22:54:02 +02:00
2019-08-19 07:19:56 +02:00
2019-07-01 10:09:22 +02:00
2019-10-11 15:30:57 +02:00
2019-12-11 19:04:01 +01:00
2019-11-15 17:20:33 +01:00
2019-11-15 17:20:33 +01:00
2019-12-11 19:04:01 +01:00
2020-02-26 17:21:08 +01:00
2019-07-02 14:22:29 +02:00
2019-09-04 10:38:13 +02:00
2020-01-22 18:06:49 +01:00
2020-01-19 10:14:39 +10:00
2019-12-11 19:04:01 +01:00
2019-07-02 14:22:29 +02:00
2019-10-09 17:44:04 +02:00
2019-10-31 14:26:34 +01:00
2020-01-22 18:06:49 +01:00
2020-03-09 10:46:57 +01:00
2019-12-11 19:04:01 +01:00
2019-11-06 19:38:32 +01:00
2019-08-19 00:06:41 +02:00
2019-05-31 12:23:58 +02:00