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 ApprovedRandomReader ¶
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.
Source Files ¶
- Version
- v1.26.0-rc.2
- Published
- Jan 8, 2026
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 6 seconds ago –
Tools for package owners.