Add X25519/X448 Key Exchange to the default provider
[openssl.git] / providers / defltprov.c
index 71eba5f..6740a8e 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 }
 };