fips140only

package standard library
go1.24rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Enabled = godebug.New("#fips140").Value() == "only"

Enabled reports whether FIPS 140-only mode is enabled, in which non-approved cryptography returns an error or panics.

Functions

func ApprovedHash

func ApprovedHash(h hash.Hash) bool

func ApprovedRandomReader

func ApprovedRandomReader(r io.Reader) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL