aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/cipher/ctr.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2024-11-20 09:03:35 -0500
committerGopher Robot <gobot@golang.org>2024-11-20 20:28:34 +0000
commit4a3cef2036097d323b6cc0bbe90fc4d8c7588660 (patch)
tree781c49601ff4013959343f2b1fa13d1a4147c9f3 /src/crypto/cipher/ctr.go
parent5254e989425648ff62faa270948bb927b6568ff3 (diff)
downloadgo-4a3cef2036097d323b6cc0bbe90fc4d8c7588660.tar.xz
all: rename crypto/internal/fips to crypto/internal/fips140
Sometimes we've used the 140 suffix (GOFIPS140, crypto/fips140) and sometimes not (crypto/internal/fips, cmd/go/internal/fips). Use it always, to avoid having to remember which is which. Also, there are other FIPS standards, like AES (FIPS 197), SHA-2 (FIPS 180), and so on, which have nothing to do with FIPS 140. Best to be clear. For #70123. Change-Id: I33b29dabd9e8b2703d2af25e428f88bc81c7c307 Reviewed-on: https://go-review.googlesource.com/c/go/+/630115 Reviewed-by: Filippo Valsorda <filippo@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Russ Cox <rsc@golang.org> Reviewed-by: Roland Shoemaker <roland@golang.org>
Diffstat (limited to 'src/crypto/cipher/ctr.go')
-rw-r--r--src/crypto/cipher/ctr.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto/cipher/ctr.go b/src/crypto/cipher/ctr.go
index e53e96609b..c868635b8a 100644
--- a/src/crypto/cipher/ctr.go
+++ b/src/crypto/cipher/ctr.go
@@ -14,8 +14,8 @@ package cipher
import (
"bytes"
- "crypto/internal/fips/aes"
- "crypto/internal/fips/alias"
+ "crypto/internal/fips140/aes"
+ "crypto/internal/fips140/alias"
"crypto/subtle"
)