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