go/src/crypto
Filippo Valsorda 3a3c006ac0 crypto/tls: enable signature algorithm BoGo tests (and fix two bugs)
The two bugs are very minor:

- We were trying to set the ConnectionState CurveID field even if the
  RSA key exchange was in use

- We were sending the wrong alert from TLS 1.2 clients if none of the
  certificate signature algorithms were supported

Change-Id: I6a6a46564f5a9f1a5d44e54fc59a650118ad67d5
Reviewed-on: https://go-review.googlesource.com/c/go/+/675918
Auto-Submit: Filippo Valsorda <filippo@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Daniel McCarney <daniel@binaryparadox.net>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
2025-05-27 08:37:16 -07:00
..
aes crypto: test for unexpected concrete methods in interface value returns 2025-03-06 08:06:34 -08:00
boring all: drop old +build lines 2023-10-19 23:33:27 +00:00
cipher crypto/cipher: use AEAD.NonceSize to make nonce in the example 2025-04-16 08:45:29 -07: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/internal/fips140/nistec: make SetBytes constant time 2025-02-21 10:31:33 -08:00
ecdsa crypto/ecdsa: add low-level encoding functions for keys 2025-05-21 14:18:13 -07:00
ed25519 crypto/ecdsa,crypto/ed25519: cache FIPS private keys 2025-05-20 16:33:12 -07:00
elliptic crypto/elliptic: drop hidden Inverse and CombinedMult methods 2025-03-04 12:43:35 -08:00
fips140 internal/godebug,crypto/fips140: make fips140 setting immutable 2025-05-21 12:21:44 -07:00
hkdf crypto/hkdf: check error in TestFIPSServiceIndicator 2025-01-28 17:24:40 -08:00
hmac crypto,hash: add and implement hash.Cloner 2025-05-21 16:39:55 -07:00
internal crypto,hash: add and implement hash.Cloner 2025-05-21 16:39:55 -07:00
md5 crypto,hash: add and implement hash.Cloner 2025-05-21 16:39:55 -07:00
mlkem crypto/mlkem: merge mlkem768.go and mlkem1024.go to improve godoc 2025-01-08 14:34:45 -08:00
pbkdf2 crypto/pbkdf2: fix code example for Key 2025-03-10 08:11:48 -07:00
rand crypto/rand: add and update examples 2025-04-16 16:10:00 -07:00
rc4 crypto: implement fips140=only mode 2024-11-22 03:48:06 +00:00
rsa crypto/rsa: add a test with very different prime sizes 2025-03-06 08:07:28 -08:00
sha1 crypto,hash: add and implement hash.Cloner 2025-05-21 16:39:55 -07:00
sha3 crypto,hash: add and implement hash.Cloner 2025-05-21 16:39:55 -07:00
sha256 crypto,hash: add and implement hash.Cloner 2025-05-21 16:39:55 -07:00
sha512 crypto,hash: add and implement hash.Cloner 2025-05-21 16:39:55 -07:00
subtle crypto/subtle: add additional benchmarks for XORBytes 2025-02-07 01:32:39 -08:00
tls crypto/tls: enable signature algorithm BoGo tests (and fix two bugs) 2025-05-27 08:37:16 -07:00
x509 crypto/x509: use truncated SHA-256 for SubjectKeyId 2025-05-21 15:09:45 -07:00
crypto.go crypto,crypto/x509: implement MessageSigner 2025-05-08 07:46:12 -07:00
crypto_test.go crypto: add a test for disallowed instructions 2025-05-21 15:01:46 -07:00
issue21104_test.go
purego_test.go crypto: use and test purego tag consistently 2024-03-04 17:29:44 +00:00