aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/internal/fips/cast_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/internal/fips/cast_test.go')
-rw-r--r--src/crypto/internal/fips/cast_test.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/crypto/internal/fips/cast_test.go b/src/crypto/internal/fips/cast_test.go
new file mode 100644
index 0000000000..9a2063805a
--- /dev/null
+++ b/src/crypto/internal/fips/cast_test.go
@@ -0,0 +1,13 @@
+// Copyright 2024 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package fips
+
+var AllCASTs []string
+
+func init() {
+ testingOnlyCASTHook = func(name string) {
+ AllCASTs = append(AllCASTs, name)
+ }
+}