import "crypto/internal/fips140only"
fips140only.go
func ApprovedHash(h hash.Hash) bool
func ApprovedRandomReader(r io.Reader) bool
func Enforced() bool
Enforced reports whether FIPS 140-only mode is enabled and enforced, in which non-approved cryptography returns an error or panics.