Imports #
"crypto/internal/fips140"
"sync/atomic"
"crypto/internal/fips140"
"sync/atomic"
var required atomic.Bool
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 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
func init()
Generated with Arrow