diff options
author | Matt Caswell <matt@openssl.org> | 2020-01-24 17:13:40 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-02-11 22:32:56 +0000 |
commit | 6f7d213533d9c7c2d810499cfedaa6d2424482c9 (patch) | |
tree | 4677e309cbc687b77a956255cbc8cc06fab1214e /providers/defltprov.c | |
parent | 90d3cb57c6caafbe031e32a99051386b8c5a90c0 (diff) | |
download | openssl-6f7d213533d9c7c2d810499cfedaa6d2424482c9.zip openssl-6f7d213533d9c7c2d810499cfedaa6d2424482c9.tar.gz openssl-6f7d213533d9c7c2d810499cfedaa6d2424482c9.tar.bz2 |
Add X25519/X448 Key Exchange to the default provider
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.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/providers/defltprov.c b/providers/defltprov.c index 71eba5f..6740a8e 100644 --- a/providers/defltprov.c +++ b/providers/defltprov.c @@ -372,6 +372,10 @@ static const OSSL_ALGORITHM deflt_keyexch[] = { #ifndef OPENSSL_NO_DH { "DH:dhKeyAgreement", "default=yes", dh_keyexch_functions }, #endif +#ifndef OPENSSL_NO_EC + { "X25519", "default=yes", x25519_keyexch_functions }, + { "X448", "default=yes", x448_keyexch_functions }, +#endif { NULL, NULL, NULL } }; |