fips

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package fips provides functionality to configure cryptographic implementations compliant with FIPS 140.

FIPS 140 1 is a US standard for data processing that specifies requirements for cryptographic modules. Software that is "FIPS 140 compliant" must use approved cryptographic primitives only and that are implemented by a FIPS 140 certified cryptographic module.

So, FIPS 140 requires that a certified implementation of e.g. AES is used to implement more high-level cryptographic protocols. It does not require any specific security criteria for those high-level protocols. FIPS 140 focuses only on the implementation and usage of the most low-level cryptographic building blocks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CipherSuitesDARE

func CipherSuitesDARE() []byte

CipherSuitesDARE returns the supported cipher suites for the DARE object encryption.

func CipherSuitesTLS

func CipherSuitesTLS() []uint16

CipherSuitesTLS returns the supported cipher suites used by the TLS stack.

func EllipticCurvesTLS

func EllipticCurvesTLS() []tls.CurveID

EllipticCurvesTLS returns the supported elliptic curves used by the TLS stack.

func Enabled

func Enabled() bool

Enabled returns true if and only if FIPS 140-2 support is enabled.

FIPS 140-2 requires that only specifc cryptographic primitives, like AES or SHA-256, are used and that those primitives are implemented by a FIPS 140-2 certified cryptographic module.

Types

This section is empty.

Jump to

Keyboard shortcuts

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