diff options
author | Matt Caswell <matt@openssl.org> | 2020-07-03 16:18:03 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-08-10 14:51:57 +0100 |
commit | ac2d58c72b4dc4a8c74eef893000306bf78a30fd (patch) | |
tree | 105bc32568afcb7dd145a2560bc865ff8de3a20f /providers/defltprov.c | |
parent | 23f04372f45f8c9e3865c3bcfee3f77a9cc10673 (diff) |
Implement a EVP_PKEY KDF to KDF provider bridge
Some KDF implementations were available before the current EVP_KDF API.
They were used via EVP_PKEY_derive. There exists a bridge between the old
API and the EVP_KDF API however this bridge itself uses a legacy
EVP_PKEY_METHOD. This commit implements a provider side bridge without
having to use any legacy code.
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12573)
Diffstat (limited to 'providers/defltprov.c')
-rw-r--r-- | providers/defltprov.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/providers/defltprov.c b/providers/defltprov.c index 4ab39e6531..5b6d6a677e 100644 --- a/providers/defltprov.c +++ b/providers/defltprov.c @@ -339,6 +339,7 @@ static const OSSL_ALGORITHM deflt_keyexch[] = { { "X25519", "provider=default", x25519_keyexch_functions }, { "X448", "provider=default", x448_keyexch_functions }, #endif + { "TLS1-PRF", "provider=default", kdf_keyexch_functions }, { NULL, NULL, NULL } }; @@ -384,6 +385,7 @@ static const OSSL_ALGORITHM deflt_keymgmt[] = { { "ED25519", "provider=default", ed25519_keymgmt_functions }, { "ED448", "provider=default", ed448_keymgmt_functions }, #endif + { "TLS1-PRF", "provider=default", kdf_keymgmt_functions }, { NULL, NULL, NULL } }; |