package fips140tls
import "crypto/tls/internal/fips140tls"
Package fips140tls controls whether crypto/tls requires FIPS-approved settings.
Index ¶
Functions ¶
func Force ¶
func Force()
Force forces crypto/tls to restrict TLS configurations to FIPS-approved settings. By design, this call is impossible to undo (except in tests).
func Required ¶
func Required() bool
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 TestingOnlyAbandon ¶
func TestingOnlyAbandon()
Source Files ¶
- Version
- v1.24.0 (latest)
- Published
- Feb 10, 2025
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 8 minutes ago –
Tools for package owners.