fipstls

package
v0.0.0-...-bbc9f4b Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 License: BSD-3-Clause, BSD-3-Clause, ISC, + 1 more Imports: 1 Imported by: 0

Documentation

Overview

Package fipstls allows control over whether crypto/tls requires FIPS-approved settings. This package's effects are independent of the use of the BoringCrypto implementation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abandon

func Abandon()

Abandon allows non-FIPS-approved settings. If called from a non-test binary, it panics.

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).

Note that this call has an effect even in programs using standard crypto (that is, even when Enabled = false).

func Required

func Required() bool

Required reports whether FIPS-approved settings are required.

Types

This section is empty.

Jump to

Keyboard shortcuts

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