summaryrefslogtreecommitdiffstats
path: root/providers/defltprov.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2020-01-27 16:57:03 +0000
committerMatt Caswell <matt@openssl.org>2020-02-11 22:32:56 +0000
commit90d3cb57c6caafbe031e32a99051386b8c5a90c0 (patch)
tree02f761db4d8bd08a329845fbe623f08ae3ac7d60 /providers/defltprov.c
parent4de88fe6daad0b7bd65b20bc887ff1ac62ae2ce8 (diff)
Implement Provider side Key Management for X25519 and X448
Reviewed-by: Patrick Steuer <patrick.steuer@de.ibm.com> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/10964)
Diffstat (limited to 'providers/defltprov.c')
-rw-r--r--providers/defltprov.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/providers/defltprov.c b/providers/defltprov.c
index 8d89322825..71eba5f5a7 100644
--- a/providers/defltprov.c
+++ b/providers/defltprov.c
@@ -395,6 +395,10 @@ static const OSSL_ALGORITHM deflt_keymgmt[] = {
{ "DSA:dsaEncryption", "default=yes", dsa_keymgmt_functions },
#endif
{ "RSA:rsaEncryption", "default=yes", rsa_keymgmt_functions },
+#ifndef OPENSSL_NO_EC
+ { "X25519", "default=yes", x25519_keymgmt_functions },
+ { "X448", "default=yes", x448_keymgmt_functions },
+#endif
{ NULL, NULL, NULL }
};