entropy

package standard library
go1.24.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package entropy provides the passive entropy source for the FIPS 140-3 module. It is only used in FIPS mode by crypto/internal/fips140/drbg.Read.

This complies with IG 9.3.A, Additional Comment 12, which until January 1, 2026 allows new modules to meet an earlier version of Resolution 2(b): "A software module that contains an approved DRBG that receives a LOAD command (or its logical equivalent) with entropy obtained from [...] inside the physical perimeter of the operational environment of the module [...]."

Distributions that have their own SP 800-90B entropy source should replace this package with their own implementation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Depleted

func Depleted(LOAD func(*[48]byte))

Depleted notifies the entropy source that the entropy in the module is "depleted" and provides the callback for the LOAD command.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳