src/crypto/internal/rand/rand_fips140v1.0.go
raw| 1 | // Copyright 2025 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | //go:build fips140v1.0 |
| 6 | |
| 7 | package rand |
| 8 | |
| 9 | import "io" |
| 10 | |
| 11 | func fips140SetTestingReader(r io.Reader) { |
| 12 | panic("cryptotest.SetGlobalRandom is not supported when building against Go Cryptographic Module v1.0.0") |
| 13 | } |