aboutsummaryrefslogtreecommitdiff
path: root/providers/defltprov.c
diff options
context:
space:
mode:
authorNicola Tuveri <nic.tuv@gmail.com>2019-12-15 00:20:53 +0200
committerNicola Tuveri <nic.tuv@gmail.com>2020-02-18 19:11:10 +0200
commit4fe54d674f14e7964f982285d1aeb86698a33c3c (patch)
tree22b2e7ef133ef38ba551719538d68422f2d0b500 /providers/defltprov.c
parentcf6404b14198b96a882affe917bb337e2626136c (diff)
downloadopenssl-4fe54d674f14e7964f982285d1aeb86698a33c3c.zip
openssl-4fe54d674f14e7964f982285d1aeb86698a33c3c.tar.gz
openssl-4fe54d674f14e7964f982285d1aeb86698a33c3c.tar.bz2
[PROV][KMGMT][KEXCH][EC] Implement EC keymgtm and ECDH
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/10631)
Diffstat (limited to 'providers/defltprov.c')
-rw-r--r--providers/defltprov.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/providers/defltprov.c b/providers/defltprov.c
index 6740a8e..3819c61 100644
--- a/providers/defltprov.c
+++ b/providers/defltprov.c
@@ -373,6 +373,7 @@ static const OSSL_ALGORITHM deflt_keyexch[] = {
{ "DH:dhKeyAgreement", "default=yes", dh_keyexch_functions },
#endif
#ifndef OPENSSL_NO_EC
+ { "ECDH:id-ecPublicKey", "default=yes", ecdh_keyexch_functions },
{ "X25519", "default=yes", x25519_keyexch_functions },
{ "X448", "default=yes", x448_keyexch_functions },
#endif
@@ -400,6 +401,7 @@ static const OSSL_ALGORITHM deflt_keymgmt[] = {
#endif
{ "RSA:rsaEncryption", "default=yes", rsa_keymgmt_functions },
#ifndef OPENSSL_NO_EC
+ { "EC:id-ecPublicKey", "default=yes", ec_keymgmt_functions },
{ "X25519", "default=yes", x25519_keymgmt_functions },
{ "X448", "default=yes", x448_keymgmt_functions },
#endif