]> Cypherpunks repositories - gostls13.git/commit
crypto/rsa: minor FIPS 186-5 compliance fixes
authorFilippo Valsorda <filippo@golang.org>
Sat, 30 Nov 2024 16:50:31 +0000 (17:50 +0100)
committerGopher Robot <gobot@golang.org>
Tue, 3 Dec 2024 00:06:03 +0000 (00:06 +0000)
commitfb41d5eb51909e777cf6c82a8eff607d7c1456b0
tree6e788a4f2b22d7eed8078bfd93e3c3e6bf5232c9
parent50a8b3a30ec104ce00533db47e7200e01371eaa0
crypto/rsa: minor FIPS 186-5 compliance fixes

None of these checks actually matter, and indeed we didn't have them
before, but they are required by FIPS 186-5.

Fixes #69799
For #69536

Change-Id: I5e866962a1b2a31a753053e5b9ec50a3f4c87394
Reviewed-on: https://go-review.googlesource.com/c/go/+/632535
Auto-Submit: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/crypto/internal/fips140/bigmod/nat.go
src/crypto/internal/fips140/rsa/keygen.go
src/crypto/internal/fips140/rsa/pkcs1v15.go
src/crypto/internal/fips140/rsa/pkcs1v22.go
src/crypto/internal/fips140/rsa/rsa.go
src/crypto/rsa/fips.go
src/crypto/rsa/rsa.go