Extend the EVP_PKEY KDF to KDF provider bridge to also support HKDF
[openssl.git] / providers / defltprov.c
index 4ab39e6531e7a255f12dc5ea3af5f433dc4fd723..f2fe98fc7f4f04315c4e9476957bf7f4e6ae6fc6 100644 (file)
@@ -339,6 +339,8 @@ static const OSSL_ALGORITHM deflt_keyexch[] = {
     { "X25519", "provider=default", x25519_keyexch_functions },
     { "X448", "provider=default", x448_keyexch_functions },
 #endif
+    { "TLS1-PRF", "provider=default", kdf_tls1_prf_keyexch_functions },
+    { "HKDF", "provider=default", kdf_hkdf_keyexch_functions },
     { NULL, NULL, NULL }
 };
 
@@ -384,6 +386,8 @@ 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 },
+    { "HKDF", "provider=default", kdf_keymgmt_functions },
     { NULL, NULL, NULL }
 };