From 6f7d213533d9c7c2d810499cfedaa6d2424482c9 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Fri, 24 Jan 2020 17:13:40 +0000 Subject: Add X25519/X448 Key Exchange to the default provider Reviewed-by: Patrick Steuer Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/10964) --- providers/defltprov.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'providers/defltprov.c') diff --git a/providers/defltprov.c b/providers/defltprov.c index 71eba5f5a7..6740a8e58f 100644 --- a/providers/defltprov.c +++ b/providers/defltprov.c @@ -371,6 +371,10 @@ static const OSSL_ALGORITHM deflt_kdfs[] = { 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 } }; -- cgit v1.2.3