projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Extend the EVP_PKEY KDF to KDF provider bridge to also support HKDF
[openssl.git]
/
providers
/
defltprov.c
diff --git
a/providers/defltprov.c
b/providers/defltprov.c
index 5b6d6a677e3bb2eeee8b0c0ca32127038dc5d98f..f2fe98fc7f4f04315c4e9476957bf7f4e6ae6fc6 100644
(file)
--- a/
providers/defltprov.c
+++ b/
providers/defltprov.c
@@
-339,7
+339,8
@@
static const OSSL_ALGORITHM deflt_keyexch[] = {
{ "X25519", "provider=default", x25519_keyexch_functions },
{ "X448", "provider=default", x448_keyexch_functions },
#endif
{ "X25519", "provider=default", x25519_keyexch_functions },
{ "X448", "provider=default", x448_keyexch_functions },
#endif
- { "TLS1-PRF", "provider=default", kdf_keyexch_functions },
+ { "TLS1-PRF", "provider=default", kdf_tls1_prf_keyexch_functions },
+ { "HKDF", "provider=default", kdf_hkdf_keyexch_functions },
{ NULL, NULL, NULL }
};
{ NULL, NULL, NULL }
};
@@
-386,6
+387,7
@@
static const OSSL_ALGORITHM deflt_keymgmt[] = {
{ "ED448", "provider=default", ed448_keymgmt_functions },
#endif
{ "TLS1-PRF", "provider=default", kdf_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 }
};
{ NULL, NULL, NULL }
};