internal/
directorystandard library go1.25.5
Go to latest Published: Dec 2, 2025 License:BSD-3-Clause
Opens a new window with list of versions in this module.
Latest LatestThis package is not in the latest version of its module.
Opens a new window with license information.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Directories¶
| Path | Synopsis |
|---|---|
Package boring provides access to BoringCrypto implementation functions. | Package boring provides access to BoringCrypto implementation functions. |
bcache Package bcache implements a GC-friendly cache (see Cache) for BoringCrypto. | Package bcache implements a GC-friendly cache (see Cache) for BoringCrypto. |
sig Package sig holds “code signatures” that can be called and will result in certain code sequences being linked into the final binary. | Package sig holds “code signatures” that can be called and will result in certain code sequences being linked into the final binary. |
Package entropy provides the passive entropy source for the FIPS 140-3 module. | Package entropy provides the passive entropy source for the FIPS 140-3 module. |
alias Package alias implements memory aliasing tests. | Package alias implements memory aliasing tests. |
check Package check implements the FIPS 140 load-time code+data verification. | Package check implements the FIPS 140 load-time code+data verification. |
check/checktest Package checktest defines some code and data for use in the crypto/internal/fips140/check test. | Package checktest defines some code and data for use in the crypto/internal/fips140/check test. |
drbg Package drbg provides cryptographically secure random bytes usable by FIPS code. | Package drbg provides cryptographically secure random bytes usable by FIPS code. |
edwards25519 Package edwards25519 implements group logic for the twisted Edwards curve | Package edwards25519 implements group logic for the twisted Edwards curve |
edwards25519/field Package field implements fast arithmetic modulo 2^255-19. | Package field implements fast arithmetic modulo 2^255-19. |
hmac Package hmac implements HMAC according to [FIPS 198-1]. | Package hmac implements HMAC according to [FIPS 198-1]. |
mlkem Package mlkem implements the quantum-resistant key encapsulation method ML-KEM (formerly known as Kyber), as specified in [NIST FIPS 203]. | Package mlkem implements the quantum-resistant key encapsulation method ML-KEM (formerly known as Kyber), as specified in [NIST FIPS 203]. |
nistec Package nistec implements the elliptic curves from NIST SP 800-186. | Package nistec implements the elliptic curves from NIST SP 800-186. |
sha256 Package sha256 implements the SHA-224 and SHA-256 hash algorithms as defined in FIPS 180-4. | Package sha256 implements the SHA-224 and SHA-256 hash algorithms as defined in FIPS 180-4. |
sha3 Package sha3 implements the SHA-3 fixed-output-length hash functions and the SHAKE variable-output-length functions defined by [FIPS 202], as well as the cSHAKE extendable-output-length functions defined by [SP 800-185]. | Package sha3 implements the SHA-3 fixed-output-length hash functions and the SHAKE variable-output-length functions defined by [FIPS 202], as well as the cSHAKE extendable-output-length functions defined by [SP 800-185]. |
sha512 Package sha512 implements the SHA-384, SHA-512, SHA-512/224, and SHA-512/256 hash algorithms as defined in FIPS 180-4. | Package sha512 implements the SHA-384, SHA-512, SHA-512/224, and SHA-512/256 hash algorithms as defined in FIPS 180-4. |
ssh Package ssh implements the SSH KDF as specified in RFC 4253, Section 7.2 and allowed by SP 800-135 Revision 1. | Package ssh implements the SSH KDF as specified in RFC 4253, Section 7.2 and allowed by SP 800-135 Revision 1. |
tls13 Package tls13 implements the TLS 1.3 Key Schedule as specified in RFC 8446, Section 7.1 and allowed by FIPS 140-3 IG 2.4.B Resolution 7. | Package tls13 implements the TLS 1.3 Key Schedule as specified in RFC 8446, Section 7.1 and allowed by FIPS 140-3 IG 2.4.B Resolution 7. |
Package fips140cache provides a weak map that associates the lifetime of values with the lifetime of keys. | Package fips140cache provides a weak map that associates the lifetime of values with the lifetime of keys. |
Package fipsdeps contains wrapper packages for internal APIs that are exposed to the FIPS module. | Package fipsdeps contains wrapper packages for internal APIs that are exposed to the FIPS module. |
Package impl is a registry of alternative implementations of cryptographic primitives, to allow selecting them for testing. | Package impl is a registry of alternative implementations of cryptographic primitives, to allow selecting them for testing. |
Package randutil contains internal randomness utilities for various crypto packages. | Package randutil contains internal randomness utilities for various crypto packages. |
Package rand provides cryptographically secure random bytes from the operating system. | Package rand provides cryptographically secure random bytes from the operating system. |
Click to show internal directories.
Click to hide internal directories.