Skip to content

Commit

Permalink
Add P521 to defined curves
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferai authored and zeebo committed Jan 5, 2018
1 parent 08c83c4 commit e863d83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ctx.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e863d83

Please sign in to comment.