]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Extend the EVP_PKEY KDF to KDF provider bridge to the FIPS provider
authorMatt Caswell <matt@openssl.org>
Fri, 7 Aug 2020 11:22:29 +0000 (12:22 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 10 Aug 2020 13:52:49 +0000 (14:52 +0100)
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12573)

providers/fips/fipsprov.c

index e39c306e481738b67083d6aa1814254ca2e96602..4711a99b0161370670e52e437ef0baef40974120 100644 (file)
@@ -421,6 +421,8 @@ static const OSSL_ALGORITHM fips_keyexch[] = {
     { "X25519", FIPS_DEFAULT_PROPERTIES, x25519_keyexch_functions },
     { "X448", FIPS_DEFAULT_PROPERTIES, x448_keyexch_functions },
 #endif
+    { "TLS1-PRF", FIPS_DEFAULT_PROPERTIES, kdf_tls1_prf_keyexch_functions },
+    { "HKDF", FIPS_DEFAULT_PROPERTIES, kdf_hkdf_keyexch_functions },
     { NULL, NULL, NULL }
 };
 
@@ -459,6 +461,8 @@ static const OSSL_ALGORITHM fips_keymgmt[] = {
     { "ED25519", FIPS_DEFAULT_PROPERTIES, ed25519_keymgmt_functions },
     { "ED448", FIPS_DEFAULT_PROPERTIES, ed448_keymgmt_functions },
 #endif
+    { "TLS1-PRF", FIPS_DEFAULT_PROPERTIES, kdf_keymgmt_functions },
+    { "HKDF", FIPS_DEFAULT_PROPERTIES, kdf_keymgmt_functions },
     { NULL, NULL, NULL }
 };