minio/internal/fips
Andreas Auernhammer 825634d24e
fips: fix order of elliptic curves (#15141)
This commit fixes the order of elliptic curves.
As documented by https://pkg.go.dev/crypto/tls#Config
```
// CurvePreferences contains the elliptic curves that will be used in
// an ECDHE handshake, in preference order. If empty, the default will
// be used. The client will use the first preference as the type for
// its key share in TLS 1.3. This may change in the future.
```

In general, we should prefer `X25519` over the NIST curves.

Signed-off-by: Andreas Auernhammer <hi@aead.dev>
2022-06-22 08:09:28 -07:00
..
api.go fips: fix order of elliptic curves (#15141) 2022-06-22 08:09:28 -07:00
fips.go fips: simplify TLS configuration (#15127) 2022-06-21 07:54:48 -07:00
go1.18.go add go1.18 specific curve preferences (#15132) 2022-06-21 11:10:50 -07:00
no_fips.go fips: simplify TLS configuration (#15127) 2022-06-21 07:54:48 -07:00
no_go18.go add go1.18 specific curve preferences (#15132) 2022-06-21 11:10:50 -07:00