Expand description
This crate provides implementations of the tink_core::Prf primitive.
Modules§
- subtle
- Provides subtle implementations of the
tink_core::Prfprimitive.
Structs§
- Set
Setis a set of PRFs.
Constants§
- AES_
CMAC_ PRF_ KEY_ VERSION - Maximal version of AES-CMAC PRF keys.
- AES_
CMAC_ PRF_ TYPE_ URL - Type URL of AES-CMAC PRF keys that Tink supports.
- HKDF_
PRF_ KEY_ VERSION - Maximal version of HKDF PRF keys.
- HKDF_
PRF_ TYPE_ URL - Type URL of HKDF PRF keys that Tink supports.
- HMAC_
PRF_ KEY_ VERSION - Maximal version of HMAC PRF keys.
- HMAC_
PRF_ TYPE_ URL - Type URL of HMAC PRF keys that Tink supports.
- UPSTREAM_
VERSION - The upstream Tink version that this Rust port is based on.
Functions§
- aes_
cmac_ prf_ key_ template - Return a
KeyTemplatethat generates an AES-CMAC key with the following parameters: - hkdf_
sha256_ prf_ key_ template - Return a
KeyTemplatethat generates an HKDF key with the following parameters: - hmac_
sha256_ prf_ key_ template - Return a
KeyTemplatethat generates an HMAC key with the following parameters: - hmac_
sha512_ prf_ key_ template - Return a
KeyTemplatethat generates an HMAC key with the following parameters: - init
- Initialize the
tink-prfcrate, registering its primitives so they are available via Tink.