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>
This commit is contained in:
Russ Cox 2024-11-20 09:03:35 -05:00 committed by Gopher Robot
parent 5254e98942
commit 4a3cef2036
319 changed files with 689 additions and 692 deletions

View file

@ -2337,7 +2337,7 @@ var blockedLinknames = map[string][]string{
"runtime.coroswitch": {"iter"},
"runtime.newcoro": {"iter"},
// fips info
"go:fipsinfo": {"crypto/internal/fips/check"},
"go:fipsinfo": {"crypto/internal/fips140/check"},
}
// check if a linkname reference to symbol s from pkg is allowed