]> Cypherpunks repositories - gostls13.git/commit
crypto/internal/fips140/entropy: move to crypto/internal/entropy/v1.0.0
authorFilippo Valsorda <filippo@golang.org>
Wed, 8 Oct 2025 11:15:27 +0000 (13:15 +0200)
committerGopher Robot <gobot@golang.org>
Tue, 21 Oct 2025 14:01:54 +0000 (07:01 -0700)
commit8539691d0c0c04be291e18972316fa4b6d02bbcf
tree8a280b8e47d820b7592d4673272e57979047d501
parent99cf4d671cb48133d6c23e547eb46e1b9d3f21e4
crypto/internal/fips140/entropy: move to crypto/internal/entropy/v1.0.0

The lab confirmed the that entropy source doesn't have to be inside the
module boundary, although changing the entropy source of a module does
require recertification.

Move the v1.0.0 entropy source out of crypto/internal/fips140, to a
versioned path that lets us keep multiple versions (which would be used
by different modules) if we wish to.

Change-Id: I6a6a69647e9dfca1c375650a0869bdc001d65173
Reviewed-on: https://go-review.googlesource.com/c/go/+/710057
Reviewed-by: Daniel McCarney <daniel@binaryparadox.net>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/crypto/internal/entropy/entropy.go
src/crypto/internal/entropy/v1.0.0/entropy.go [moved from src/crypto/internal/fips140/entropy/entropy.go with 100% similarity]
src/crypto/internal/entropy/v1.0.0/sha384.go [moved from src/crypto/internal/fips140/entropy/sha384.go with 100% similarity]
src/crypto/internal/fips140/drbg/rand.go
src/crypto/internal/fips140deps/fipsdeps_test.go
src/crypto/internal/fips140test/entropy_test.go
src/go/build/deps_test.go