fips140tls

Imports

Imports #

"crypto/internal/fips140"
"sync/atomic"

Constants & Variables

required var #

var required atomic.Bool

Functions

Force function #

Force forces crypto/tls to restrict TLS configurations to FIPS-approved settings. By design, this call is impossible to undo (except in tests).

func Force()

Required function #

Required reports whether FIPS-approved settings are required. Required is true if FIPS 140-3 mode is enabled with GODEBUG=fips140=on, or if the crypto/tls/fipsonly package is imported by a Go+BoringCrypto build.

func Required() bool

init function #

func init()

Generated with Arrow