portable-devtools / go /src /crypto /internal /rand /rand_fips140v1.0.go
codekingpro's picture
Add files using upload-large-folder tool
61bba11 verified
Raw
History Blame Contribute Delete
364 Bytes
// Copyright 2025 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.
//go:build fips140v1.0
package rand
import "io"
func fips140SetTestingReader(r io.Reader) {
panic("cryptotest.SetGlobalRandom is not supported when building against Go Cryptographic Module v1.0.0")
}