aboutsummaryrefslogtreecommitdiff
path: root/src/crypto
diff options
context:
space:
mode:
authorFilippo Valsorda <filippo@golang.org>2024-10-24 16:10:53 +0200
committerFilippo Valsorda <filippo@golang.org>2024-11-18 16:39:11 +0000
commit15b7046309b6d8e8ab411272d4320e51fe6dfd7d (patch)
treeb823d1297ea7e4e27346b6f4fceb7a365c70a50a /src/crypto
parent44b2ba721ba53efdc72fb2970d57ea75da6e0158 (diff)
downloadgo-15b7046309b6d8e8ab411272d4320e51fe6dfd7d.tar.xz
crypto/internal/alias: move to crypto/internal/fips/alias
For #69536 Change-Id: Id0bb46fbb39c205ebc903e72e706bbbaaeec6dbd Reviewed-on: https://go-review.googlesource.com/c/go/+/622275 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Daniel McCarney <daniel@binaryparadox.net> Reviewed-by: Roland Shoemaker <roland@golang.org>
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/aes/aes_gcm.go2
-rw-r--r--src/crypto/aes/cbc_ppc64x.go2
-rw-r--r--src/crypto/aes/cbc_s390x.go2
-rw-r--r--src/crypto/aes/cipher.go2
-rw-r--r--src/crypto/aes/cipher_asm.go2
-rw-r--r--src/crypto/aes/cipher_s390x.go2
-rw-r--r--src/crypto/aes/ctr_s390x.go2
-rw-r--r--src/crypto/aes/gcm_ppc64x.go2
-rw-r--r--src/crypto/aes/gcm_s390x.go2
-rw-r--r--src/crypto/cipher/cbc.go2
-rw-r--r--src/crypto/cipher/cfb.go2
-rw-r--r--src/crypto/cipher/ctr.go2
-rw-r--r--src/crypto/cipher/gcm.go2
-rw-r--r--src/crypto/cipher/ofb.go2
-rw-r--r--src/crypto/des/cipher.go2
-rw-r--r--src/crypto/internal/fips/alias/alias.go (renamed from src/crypto/internal/alias/alias.go)0
-rw-r--r--src/crypto/internal/fips/alias/alias_test.go (renamed from src/crypto/internal/alias/alias_test.go)0
-rw-r--r--src/crypto/rc4/rc4.go2
18 files changed, 16 insertions, 16 deletions
diff --git a/src/crypto/aes/aes_gcm.go b/src/crypto/aes/aes_gcm.go
index d9a9545f12..c1de6bfb3d 100644
--- a/src/crypto/aes/aes_gcm.go
+++ b/src/crypto/aes/aes_gcm.go
@@ -8,7 +8,7 @@ package aes
import (
"crypto/cipher"
- "crypto/internal/alias"
+ "crypto/internal/fips/alias"
"crypto/subtle"
"errors"
)
diff --git a/src/crypto/aes/cbc_ppc64x.go b/src/crypto/aes/cbc_ppc64x.go
index d5b491e8e1..6311a115f7 100644
--- a/src/crypto/aes/cbc_ppc64x.go
+++ b/src/crypto/aes/cbc_ppc64x.go
@@ -8,7 +8,7 @@ package aes
import (
"crypto/cipher"
- "crypto/internal/alias"
+ "crypto/internal/fips/alias"
)
// Assert that aesCipherAsm implements the cbcEncAble and cbcDecAble interfaces.
diff --git a/src/crypto/aes/cbc_s390x.go b/src/crypto/aes/cbc_s390x.go
index 09c19ff394..3cc531e50b 100644
--- a/src/crypto/aes/cbc_s390x.go
+++ b/src/crypto/aes/cbc_s390x.go
@@ -8,7 +8,7 @@ package aes
import (
"crypto/cipher"
- "crypto/internal/alias"
+ "crypto/internal/fips/alias"
)
// Assert that aesCipherAsm implements the cbcEncAble and cbcDecAble interfaces.
diff --git a/src/crypto/aes/cipher.go b/src/crypto/aes/cipher.go
index cde2e45d2c..c9a7625215 100644
--- a/src/crypto/aes/cipher.go
+++ b/src/crypto/aes/cipher.go
@@ -6,8 +6,8 @@ package aes
import (
"crypto/cipher"
- "crypto/internal/alias"
"crypto/internal/boring"
+ "crypto/internal/fips/alias"
"strconv"
)
diff --git a/src/crypto/aes/cipher_asm.go b/src/crypto/aes/cipher_asm.go
index 3e5f589c2c..84f8e91f6f 100644
--- a/src/crypto/aes/cipher_asm.go
+++ b/src/crypto/aes/cipher_asm.go
@@ -8,8 +8,8 @@ package aes
import (
"crypto/cipher"
- "crypto/internal/alias"
"crypto/internal/boring"
+ "crypto/internal/fips/alias"
"internal/cpu"
"internal/goarch"
)
diff --git a/src/crypto/aes/cipher_s390x.go b/src/crypto/aes/cipher_s390x.go
index 1541890dea..08de1caa11 100644
--- a/src/crypto/aes/cipher_s390x.go
+++ b/src/crypto/aes/cipher_s390x.go
@@ -8,7 +8,7 @@ package aes
import (
"crypto/cipher"
- "crypto/internal/alias"
+ "crypto/internal/fips/alias"
"internal/cpu"
)
diff --git a/src/crypto/aes/ctr_s390x.go b/src/crypto/aes/ctr_s390x.go
index 56b82d5885..df335dcea3 100644
--- a/src/crypto/aes/ctr_s390x.go
+++ b/src/crypto/aes/ctr_s390x.go
@@ -8,7 +8,7 @@ package aes
import (
"crypto/cipher"
- "crypto/internal/alias"
+ "crypto/internal/fips/alias"
"internal/byteorder"
)
diff --git a/src/crypto/aes/gcm_ppc64x.go b/src/crypto/aes/gcm_ppc64x.go
index e3fa48ed8d..d9aa5cf0ea 100644
--- a/src/crypto/aes/gcm_ppc64x.go
+++ b/src/crypto/aes/gcm_ppc64x.go
@@ -8,7 +8,7 @@ package aes
import (
"crypto/cipher"
- "crypto/internal/alias"
+ "crypto/internal/fips/alias"
"crypto/subtle"
"errors"
"internal/byteorder"
diff --git a/src/crypto/aes/gcm_s390x.go b/src/crypto/aes/gcm_s390x.go
index 492ae5d83b..8524cbb51c 100644
--- a/src/crypto/aes/gcm_s390x.go
+++ b/src/crypto/aes/gcm_s390x.go
@@ -8,7 +8,7 @@ package aes
import (
"crypto/cipher"
- "crypto/internal/alias"
+ "crypto/internal/fips/alias"
"crypto/subtle"
"errors"
"internal/byteorder"
diff --git a/src/crypto/cipher/cbc.go b/src/crypto/cipher/cbc.go
index 51a142071f..61a6b7a396 100644
--- a/src/crypto/cipher/cbc.go
+++ b/src/crypto/cipher/cbc.go
@@ -13,7 +13,7 @@ package cipher
import (
"bytes"
- "crypto/internal/alias"
+ "crypto/internal/fips/alias"
"crypto/subtle"
)
diff --git a/src/crypto/cipher/cfb.go b/src/crypto/cipher/cfb.go
index 7e3f9695b7..7a18f1c231 100644
--- a/src/crypto/cipher/cfb.go
+++ b/src/crypto/cipher/cfb.go
@@ -7,7 +7,7 @@
package cipher
import (
- "crypto/internal/alias"
+ "crypto/internal/fips/alias"
"crypto/subtle"
)
diff --git a/src/crypto/cipher/ctr.go b/src/crypto/cipher/ctr.go
index eac8e266cf..8974bf3d88 100644
--- a/src/crypto/cipher/ctr.go
+++ b/src/crypto/cipher/ctr.go
@@ -14,7 +14,7 @@ package cipher
import (
"bytes"
- "crypto/internal/alias"
+ "crypto/internal/fips/alias"
"crypto/subtle"
)
diff --git a/src/crypto/cipher/gcm.go b/src/crypto/cipher/gcm.go
index 9b86b06c98..ec5090b326 100644
--- a/src/crypto/cipher/gcm.go
+++ b/src/crypto/cipher/gcm.go
@@ -5,7 +5,7 @@
package cipher
import (
- "crypto/internal/alias"
+ "crypto/internal/fips/alias"
"crypto/subtle"
"errors"
"internal/byteorder"
diff --git a/src/crypto/cipher/ofb.go b/src/crypto/cipher/ofb.go
index bdfc977d5e..339864f4e2 100644
--- a/src/crypto/cipher/ofb.go
+++ b/src/crypto/cipher/ofb.go
@@ -7,7 +7,7 @@
package cipher
import (
- "crypto/internal/alias"
+ "crypto/internal/fips/alias"
"crypto/subtle"
)
diff --git a/src/crypto/des/cipher.go b/src/crypto/des/cipher.go
index 04b73e7d3b..361b9621fe 100644
--- a/src/crypto/des/cipher.go
+++ b/src/crypto/des/cipher.go
@@ -6,7 +6,7 @@ package des
import (
"crypto/cipher"
- "crypto/internal/alias"
+ "crypto/internal/fips/alias"
"internal/byteorder"
"strconv"
)
diff --git a/src/crypto/internal/alias/alias.go b/src/crypto/internal/fips/alias/alias.go
index daf3ebcc4d..daf3ebcc4d 100644
--- a/src/crypto/internal/alias/alias.go
+++ b/src/crypto/internal/fips/alias/alias.go
diff --git a/src/crypto/internal/alias/alias_test.go b/src/crypto/internal/fips/alias/alias_test.go
index a68fb33667..a68fb33667 100644
--- a/src/crypto/internal/alias/alias_test.go
+++ b/src/crypto/internal/fips/alias/alias_test.go
diff --git a/src/crypto/rc4/rc4.go b/src/crypto/rc4/rc4.go
index 67452ec39f..4c6bab1681 100644
--- a/src/crypto/rc4/rc4.go
+++ b/src/crypto/rc4/rc4.go
@@ -10,7 +10,7 @@
package rc4
import (
- "crypto/internal/alias"
+ "crypto/internal/fips/alias"
"strconv"
)