Documentation
¶
Overview ¶
Package internal provides a coordination point for package keyset, package insecurecleartextkeyset, and package testkeyset. internal must only be imported by these three packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KeysetHandle any
KeysetHandle is a raw constructor of keyset.Handle.
View Source
var KeysetMaterial any
KeysetMaterial returns the key material contained in a keyset.Handle.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package aead provides internal implementations of the AEAD primitive.
|
Package aead provides internal implementations of the AEAD primitive. |
|
Package config provides internal implementation of Configs.
|
Package config provides internal implementation of Configs. |
|
aeadconfig
Package aeadconfig provides an instance of the Config for AEAD primitives.
|
Package aeadconfig provides an instance of the Config for AEAD primitives. |
|
daeadconfig
Package daeadconfig provides an instance of the Config for DAEAD primitives.
|
Package daeadconfig provides an instance of the Config for DAEAD primitives. |
|
hybridconfig
Package hybridconfig provides an instance of the Config for hybrid primitives.
|
Package hybridconfig provides an instance of the Config for hybrid primitives. |
|
jwtmacconfig
Package jwtmacconfig provides an instance of the Config for JWT MAC primitives.
|
Package jwtmacconfig provides an instance of the Config for JWT MAC primitives. |
|
jwtsignatureconfig
Package jwtsignatureconfig provides an instance of the Config for JWT Signature primitives.
|
Package jwtsignatureconfig provides an instance of the Config for JWT Signature primitives. |
|
keyderivationconfig
Package keyderivationconfig provides tink configs for key derivation.
|
Package keyderivationconfig provides tink configs for key derivation. |
|
macconfig
Package macconfig provides an instance of the Config for MAC primitives.
|
Package macconfig provides an instance of the Config for MAC primitives. |
|
prfconfig
Package prfconfig provides an instance of the Config for PRF primitives.
|
Package prfconfig provides an instance of the Config for PRF primitives. |
|
signatureconfig
Package signatureconfig provides an instance of the Config for signature primitives.
|
Package signatureconfig provides an instance of the Config for signature primitives. |
|
streamingaeadconfig
Package streamingaeadconfig provides StreamingAEAD configurations for Tink.
|
Package streamingaeadconfig provides StreamingAEAD configurations for Tink. |
|
Package ec provides utility functions for Elliptic Curves.
|
Package ec provides utility functions for Elliptic Curves. |
|
Package internalapi provides a token that restricts access to Tink APIs.
|
Package internalapi provides a token that restricts access to Tink APIs. |
|
Package internalregistry provides a container for functionality that is required across Tink similar to the `registry` but isn't part of the public API.
|
Package internalregistry provides a container for functionality that is required across Tink similar to the `registry` but isn't part of the public API. |
|
Package jwk provides functions to convert between JWK and Tink keysets.
|
Package jwk provides functions to convert between JWK and Tink keysets. |
|
Package keygenregistry is a registry for key creators.
|
Package keygenregistry is a registry for key creators. |
|
Package legacykeymanager provides a legacy implementation of the registry.KeyManager interface.
|
Package legacykeymanager provides a legacy implementation of the registry.KeyManager interface. |
|
mac
|
|
|
aescmac
Package aescmac implements AES-CMAC.
|
Package aescmac implements AES-CMAC. |
|
hmac
Package hmac implements the hmac algorithm.
|
Package hmac implements the hmac algorithm. |
|
Package monitoringutil implements utility functions for monitoring.
|
Package monitoringutil implements utility functions for monitoring. |
|
Package outputprefix provides constants and shared utility functions for computing the prefix applied to the output of a cryptographic function.
|
Package outputprefix provides constants and shared utility functions for computing the prefix applied to the output of a cryptographic function. |
|
Package prefixmap provides a map that adds a prefix to each primitive.
|
Package prefixmap provides a map that adds a prefix to each primitive. |
|
Package primitiveregistry provides a registry for primitive constructors.
|
Package primitiveregistry provides a registry for primitive constructors. |
|
Package primitiveset provides a container for a set of cryptographic primitives.
|
Package primitiveset provides a container for a set of cryptographic primitives. |
|
Package protoserialization defines interfaces for proto key to key objects parsers, and provides a global registry that maps key type URLs to key parsers.
|
Package protoserialization defines interfaces for proto key to key objects parsers, and provides a global registry that maps key type URLs to key parsers. |
|
Package registryconfig is a transitioning stepping stone used by the keyset handle in cases where a configuration is not provided by the user, so it needs to resort to using the old global registry methods.
|
Package registryconfig is a transitioning stepping stone used by the keyset handle in cases where a configuration is not provided by the user, so it needs to resort to using the old global registry methods. |
|
legacyprimitive
Package legacyprimitive provides a type that wraps a regular primitive that can be used to identify primitives that have a legacy implementation.
|
Package legacyprimitive provides a type that wraps a regular primitive that can be used to identify primitives that have a legacy implementation. |
|
Package signature provides internal implementations of the Signer and Verifier primitives.
|
Package signature provides internal implementations of the Signer and Verifier primitives. |
|
ecdsa
Package ecdsa provides internal ECDSA utility functions.
|
Package ecdsa provides internal ECDSA utility functions. |
|
mldsa
Package mldsa implements ML-DSA as specified in NIST FIPS 204 (https://doi.org/10.6028/NIST.FIPS.204).
|
Package mldsa implements ML-DSA as specified in NIST FIPS 204 (https://doi.org/10.6028/NIST.FIPS.204). |
|
slhdsa
Package slhdsa implements SLH-DSA as specified in NIST FIPS 205 (https://doi.org/10.6028/NIST.FIPS.205).
|
Package slhdsa implements SLH-DSA as specified in NIST FIPS 205 (https://doi.org/10.6028/NIST.FIPS.205). |
|
testing
|
|
|
aead
Package aead contains types for testing AEAD primitives.
|
Package aead contains types for testing AEAD primitives. |
|
stubkeymanager
Package stubkeymanager defines key managers for testing primitives.
|
Package stubkeymanager defines key managers for testing primitives. |
|
Package tinkerror provides error handling functionality which helps maintain API backwards compatibility.
|
Package tinkerror provides error handling functionality which helps maintain API backwards compatibility. |
|
tinkerrortest
Package tinkerrortest provides test functionality for package tinkerror.
|
Package tinkerrortest provides test functionality for package tinkerror. |
Click to show internal directories.
Click to hide internal directories.