go/src/crypto
Roland Shoemaker 9b842e2e63 crypto/tls: improve ech parsing errors
Make the errors we return when parsing an ECHConfig slightly more
verbose.

Fixes #71706

Change-Id: Id138fd9defec71ce492a490a71af4981cb9ede51
Reviewed-on: https://go-review.googlesource.com/c/go/+/650720
Auto-Submit: Roland Shoemaker <roland@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Daniel McCarney <daniel@binaryparadox.net>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
2025-02-19 19:33:58 -08:00
..
aes crypto/aes: more precise description for AES keys requirements 2025-02-10 08:30:07 -08:00
boring all: drop old +build lines 2023-10-19 23:33:27 +00:00
cipher crypto/cipher: block non-AES CTR and CBC in fips140=only mode 2024-12-17 08:02:43 -08:00
des crypto: implement fips140=only mode 2024-11-22 03:48:06 +00:00
dsa crypto: implement fips140=only mode 2024-11-22 03:48:06 +00:00
ecdh crypto: use provided random Reader in FIPS mode 2024-12-11 13:26:50 -08:00
ecdsa crypto: fix fips140=only detection of SHA-3 2025-01-09 06:18:54 -08:00
ed25519 crypto: implement fips140=only mode 2024-11-22 03:48:06 +00:00
elliptic all: rename crypto/internal/fips to crypto/internal/fips140 2024-11-20 20:28:34 +00:00
fips140 internal/godebugs: add fips140 as an opaque godebug setting 2025-02-14 16:08:33 -08:00
hkdf crypto/hkdf: check error in TestFIPSServiceIndicator 2025-01-28 17:24:40 -08:00
hmac crypto: fix fips140=only detection of SHA-3 2025-01-09 06:18:54 -08:00
internal crypto/internal/fips140/drbg: add Counter warning 2025-02-19 12:54:48 -08:00
md5 crypto/md5,crypto/sha1: apply fips140=only to Write and Sum, not New 2025-01-08 11:44:28 -08:00
mlkem crypto/mlkem: merge mlkem768.go and mlkem1024.go to improve godoc 2025-01-08 14:34:45 -08:00
pbkdf2 crypto/pbkdf2: add keyLength limit 2025-01-28 18:20:16 -08:00
rand crypto: use provided random Reader in FIPS mode 2024-12-11 13:26:50 -08:00
rc4 crypto: implement fips140=only mode 2024-11-22 03:48:06 +00:00
rsa crypto/rsa: add benchmarks for not and partially optimized keys 2025-02-14 16:01:58 -08:00
sha1 crypto/md5,crypto/sha1: apply fips140=only to Write and Sum, not New 2025-01-08 11:44:28 -08:00
sha3 crypto: fix fips140=only detection of SHA-3 2025-01-09 06:18:54 -08:00
sha256 all: rename crypto/internal/fips to crypto/internal/fips140 2024-11-20 20:28:34 +00:00
sha512 all: rename crypto/internal/fips to crypto/internal/fips140 2024-11-20 20:28:34 +00:00
subtle crypto/subtle: add additional benchmarks for XORBytes 2025-02-07 01:32:39 -08:00
tls crypto/tls: improve ech parsing errors 2025-02-19 19:33:58 -08:00
x509 all: use a more straightforward return value 2025-02-18 09:28:50 -08:00
crypto.go crypto: add available godoc link 2023-10-13 17:09:47 +00:00
issue21104_test.go
purego_test.go crypto: use and test purego tag consistently 2024-03-04 17:29:44 +00:00