mirror of
https://github.com/libp2p/go-openssl.git
synced 2026-08-19 14:53:28 +08:00
Add P521 to defined curves
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user