Add X25519/X448 Key Exchange to the default provider
[openssl.git] / providers / defltprov.c
index 71eba5f5a70e31be59691618cd34af7910288bbf..6740a8e58f5829a3cd67644a9844ca94fd6ba70d 100644 (file)
@@ -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 }
 };