mirror of
https://github.com/libp2p/go-openssl.git
synced 2025-03-10 11:10:23 +08:00
Add P521 to defined curves
This commit is contained in:
parent
08c83c41f3
commit
e863d83e40
2
ctx.go
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user