From e863d83e403e8d694fa7d17f4af3cd176624ef12 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Tue, 19 Dec 2017 13:16:16 -0500 Subject: [PATCH] Add P521 to defined curves --- ctx.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ctx.go b/ctx.go index f698669..33befc4 100644 --- a/ctx.go +++ b/ctx.go @@ -178,6 +178,8 @@ const ( Prime256v1 EllipticCurve = C.NID_X9_62_prime256v1 // P-384: NIST/SECG curve over a 384 bit prime field Secp384r1 EllipticCurve = C.NID_secp384r1 + // P-521: NIST/SECG curve over a 521 bit prime field + Secp521r1 EllipticCurve = C.NID_secp521r1 ) // SetEllipticCurve sets the elliptic curve used by the SSL context to