aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/cipher
diff options
context:
space:
mode:
authorFilippo Valsorda <filippo@golang.org>2025-12-17 17:50:07 +0100
committerGopher Robot <gobot@golang.org>2025-12-17 09:29:08 -0800
commiteecdb61eebabc083f588a349d4ce5ac2defaf2ca (patch)
tree0b6ee3d8728d3d4ddf318c88615103457dbf4546 /src/crypto/cipher
parent05e41225f6e7e707c196b57b16ade185a7c6aa06 (diff)
downloadgo-eecdb61eebabc083f588a349d4ce5ac2defaf2ca.tar.xz
crypto: rename fips140v2.0 to fips140v1.26
Turns out we can't use non-v1 versions for the FIPS 140-3 module, so we decided to match the versioning of the Go release the module is frozen from. Change-Id: Ib5c13511a51f9930fcde86cd7e8bd39c6a6a6964 Reviewed-on: https://go-review.googlesource.com/c/go/+/730740 Auto-Submit: Filippo Valsorda <filippo@golang.org> Reviewed-by: Roland Shoemaker <roland@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/crypto/cipher')
-rw-r--r--src/crypto/cipher/gcm_fips140v1.26_test.go (renamed from src/crypto/cipher/gcm_fips140v2.0_test.go)4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto/cipher/gcm_fips140v2.0_test.go b/src/crypto/cipher/gcm_fips140v1.26_test.go
index d3a8ea5c63..9f17a497ca 100644
--- a/src/crypto/cipher/gcm_fips140v2.0_test.go
+++ b/src/crypto/cipher/gcm_fips140v1.26_test.go
@@ -18,10 +18,10 @@ import (
"testing"
)
-func TestGCMNoncesFIPSV2(t *testing.T) {
+func TestGCMNoncesFIPSV126(t *testing.T) {
cryptotest.MustSupportFIPS140(t)
if !fips140.Enabled {
- cmd := testenv.Command(t, testenv.Executable(t), "-test.run=^TestGCMNoncesFIPSV2$", "-test.v")
+ cmd := testenv.Command(t, testenv.Executable(t), "-test.run=^TestGCMNoncesFIPSV126$", "-test.v")
cmd.Env = append(cmd.Environ(), "GODEBUG=fips140=on")
out, err := cmd.CombinedOutput()
t.Logf("running with GODEBUG=fips140=on:\n%s", out)