Add X25519 curve to list
authorDr. Stephen Henson <steve@openssl.org>
Tue, 2 Feb 2016 15:23:00 +0000 (15:23 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 28 Feb 2016 22:54:53 +0000 (22:54 +0000)
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Emilia Käsper <emilia@openssl.org>
crypto/ec/ec_curve.c

index befe59d2bcde55d7853045a19348d35284658489..a95d519f475d75725f9dc0cfae637d6298fa5802 100644 (file)
@@ -3020,6 +3020,7 @@ static const ec_list_element curve_list[] = {
      "RFC 5639 curve over a 512 bit prime field"},
     {NID_brainpoolP512t1, &_EC_brainpoolP512t1.h, 0,
      "RFC 5639 curve over a 512 bit prime field"},
+    {NID_X25519, NULL, ec_x25519_meth, "X25519"},
 };
 
 #define curve_list_length OSSL_NELEM(curve_list)