aboutsummaryrefslogtreecommitdiff
path: root/src/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/cipher/gcm_fips140v1.26_test.go (renamed from src/crypto/cipher/gcm_fips140v2.0_test.go)4
-rw-r--r--src/crypto/hpke/aead_fips140v1.0.go (renamed from src/crypto/hpke/aead_fipsv1.0.go)0
-rw-r--r--src/crypto/hpke/aead_fips140v1.26.go (renamed from src/crypto/hpke/aead_fipsv2.0.go)0
-rw-r--r--src/crypto/internal/fips140test/acvp_capabilities_fips140v1.26.json (renamed from src/crypto/internal/fips140test/acvp_capabilities_fips140v2.0.json)0
-rw-r--r--src/crypto/internal/fips140test/acvp_fips140v1.26_test.go (renamed from src/crypto/internal/fips140test/acvp_fips140v2.0_test.go)4
-rw-r--r--src/crypto/internal/fips140test/acvp_test_fips140v1.26.config.json (renamed from src/crypto/internal/fips140test/acvp_test_fips140v2.0.config.json)0
-rw-r--r--src/crypto/internal/fips140test/cast_fips140v1.0_test.go2
-rw-r--r--src/crypto/internal/fips140test/cast_fips140v1.26_test.go (renamed from src/crypto/internal/fips140test/cast_fips140v2.0_test.go)2
-rw-r--r--src/crypto/internal/fips140test/cast_test.go2
-rw-r--r--src/crypto/internal/rand/rand_fips140v1.0.go (renamed from src/crypto/internal/rand/rand_fipsv1.0.go)0
-rw-r--r--src/crypto/internal/rand/rand_fips140v1.26.go (renamed from src/crypto/internal/rand/rand_fipsv2.0.go)0
11 files changed, 7 insertions, 7 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)
diff --git a/src/crypto/hpke/aead_fipsv1.0.go b/src/crypto/hpke/aead_fips140v1.0.go
index 986126cbf9..986126cbf9 100644
--- a/src/crypto/hpke/aead_fipsv1.0.go
+++ b/src/crypto/hpke/aead_fips140v1.0.go
diff --git a/src/crypto/hpke/aead_fipsv2.0.go b/src/crypto/hpke/aead_fips140v1.26.go
index 710eb1c08f..710eb1c08f 100644
--- a/src/crypto/hpke/aead_fipsv2.0.go
+++ b/src/crypto/hpke/aead_fips140v1.26.go
diff --git a/src/crypto/internal/fips140test/acvp_capabilities_fips140v2.0.json b/src/crypto/internal/fips140test/acvp_capabilities_fips140v1.26.json
index 33c8aa235b..33c8aa235b 100644
--- a/src/crypto/internal/fips140test/acvp_capabilities_fips140v2.0.json
+++ b/src/crypto/internal/fips140test/acvp_capabilities_fips140v1.26.json
diff --git a/src/crypto/internal/fips140test/acvp_fips140v2.0_test.go b/src/crypto/internal/fips140test/acvp_fips140v1.26_test.go
index e9ef91537a..10a44f1492 100644
--- a/src/crypto/internal/fips140test/acvp_fips140v2.0_test.go
+++ b/src/crypto/internal/fips140test/acvp_fips140v1.26_test.go
@@ -12,10 +12,10 @@ import (
"fmt"
)
-//go:embed acvp_capabilities_fips140v2.0.json
+//go:embed acvp_capabilities_fips140v1.26.json
var capabilitiesJson []byte
-var testConfigFile = "acvp_test_fips140v2.0.config.json"
+var testConfigFile = "acvp_test_fips140v1.26.config.json"
func init() {
commands["ML-DSA-44/keyGen"] = cmdMlDsaKeyGenAft(mldsa.NewPrivateKey44)
diff --git a/src/crypto/internal/fips140test/acvp_test_fips140v2.0.config.json b/src/crypto/internal/fips140test/acvp_test_fips140v1.26.config.json
index 51c76d9288..51c76d9288 100644
--- a/src/crypto/internal/fips140test/acvp_test_fips140v2.0.config.json
+++ b/src/crypto/internal/fips140test/acvp_test_fips140v1.26.config.json
diff --git a/src/crypto/internal/fips140test/cast_fips140v1.0_test.go b/src/crypto/internal/fips140test/cast_fips140v1.0_test.go
index 4780966208..b9ddfe4d8b 100644
--- a/src/crypto/internal/fips140test/cast_fips140v1.0_test.go
+++ b/src/crypto/internal/fips140test/cast_fips140v1.0_test.go
@@ -6,4 +6,4 @@
package fipstest
-func fips140v2Conditionals() {}
+func fips140v126Conditionals() {}
diff --git a/src/crypto/internal/fips140test/cast_fips140v2.0_test.go b/src/crypto/internal/fips140test/cast_fips140v1.26_test.go
index 06e0513a7f..ef79068c38 100644
--- a/src/crypto/internal/fips140test/cast_fips140v2.0_test.go
+++ b/src/crypto/internal/fips140test/cast_fips140v1.26_test.go
@@ -8,7 +8,7 @@ package fipstest
import "crypto/internal/fips140/mldsa"
-func fips140v2Conditionals() {
+func fips140v126Conditionals() {
// ML-DSA sign and verify PCT
kMLDSA := mldsa.GenerateKey44()
// ML-DSA-44
diff --git a/src/crypto/internal/fips140test/cast_test.go b/src/crypto/internal/fips140test/cast_test.go
index 5a80006622..817dcb9a35 100644
--- a/src/crypto/internal/fips140test/cast_test.go
+++ b/src/crypto/internal/fips140test/cast_test.go
@@ -115,7 +115,7 @@ func TestAllCASTs(t *testing.T) {
// TestConditionals causes the conditional CASTs and PCTs to be invoked.
func TestConditionals(t *testing.T) {
- fips140v2Conditionals()
+ fips140v126Conditionals()
// ML-KEM PCT
kMLKEM, err := mlkem.GenerateKey768()
if err != nil {
diff --git a/src/crypto/internal/rand/rand_fipsv1.0.go b/src/crypto/internal/rand/rand_fips140v1.0.go
index 29eba7e0bc..29eba7e0bc 100644
--- a/src/crypto/internal/rand/rand_fipsv1.0.go
+++ b/src/crypto/internal/rand/rand_fips140v1.0.go
diff --git a/src/crypto/internal/rand/rand_fipsv2.0.go b/src/crypto/internal/rand/rand_fips140v1.26.go
index 0dc18e7883..0dc18e7883 100644
--- a/src/crypto/internal/rand/rand_fipsv2.0.go
+++ b/src/crypto/internal/rand/rand_fips140v1.26.go