We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 257bc2f commit de30be3Copy full SHA for de30be3
transport/tlscommon/types_fips.go
@@ -37,10 +37,13 @@ func init() {
37
supportedCipherSuites[i] = cipherName
38
}
39
40
- // only allow P256, P384.
+ // Elliptic curves approved for use in ECDSA are specified in SP 800-186,
41
+ // as implemented in FIPS 186-5.
42
+ // Based on NIST SP 800-186 section 3 and SP 800-56A Rev.3
43
+ // only allows P-256, P-384, P-521
44
for name, curveType := range tlsCurveTypes {
45
switch tls.CurveID(curveType) {
- case tls.CurveP256, tls.CurveP384:
46
+ case tls.CurveP256, tls.CurveP384, tls.CurveP521:
47
supportedCurveTypes[curveType] = name
48
49
0 commit comments