aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime1.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/runtime/runtime1.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/runtime/runtime1.go')
-rw-r--r--src/runtime/runtime1.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/runtime1.go b/src/runtime/runtime1.go
index 7a092e8039..b47c589075 100644
--- a/src/runtime/runtime1.go
+++ b/src/runtime/runtime1.go
@@ -727,12 +727,12 @@ func reflect_addReflectOff(ptr unsafe.Pointer) int32 {
return id
}
-//go:linkname fips_getIndicator crypto/internal/fips.getIndicator
+//go:linkname fips_getIndicator crypto/internal/fips140.getIndicator
func fips_getIndicator() uint8 {
return getg().fipsIndicator
}
-//go:linkname fips_setIndicator crypto/internal/fips.setIndicator
+//go:linkname fips_setIndicator crypto/internal/fips140.setIndicator
func fips_setIndicator(indicator uint8) {
getg().fipsIndicator = indicator
}