]> Cypherpunks repositories - gostls13.git/commit
crypto/internal/fips140test: add functional tests
authorFilippo Valsorda <filippo@golang.org>
Mon, 27 Jan 2025 12:02:27 +0000 (13:02 +0100)
committerGopher Robot <gobot@golang.org>
Thu, 13 Feb 2025 10:42:23 +0000 (02:42 -0800)
commit3e0f9e3973f6190cb63c511175e169543a466fe6
tree16c8e75e1a49a4301b152b7a0afb706bc2718d42
parent3902e9ef4e4543c6ac7371174a122ca090af971a
crypto/internal/fips140test: add functional tests

Running TestIntegrityCheckFailure|TestCASTFailures|TestFIPS140 with -v
and the appropriate GOFIPS140 environment variables will produce logs
sufficient for the functional testing session of the FIPS 140-3
validation. The tests can also be cross-compiled with -c and executed on
the target.

Change-Id: I6a6a465606518923d3f288e030c0f1b977aa6415
Reviewed-on: https://go-review.googlesource.com/c/go/+/648816
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Daniel McCarney <daniel@binaryparadox.net>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Roland Shoemaker <roland@golang.org>
src/crypto/internal/fips140test/check_test.go
src/crypto/internal/fips140test/fips_test.go
src/crypto/internal/fips140test/nistec_test.go
src/crypto/internal/fips140test/sshkdf_test.go