Expand description
This crate provides implementations of the tink_core::Prf
primitive.
Modules
- Provides subtle implementations of the
tink_core::Prf
primitive.
Structs
Set
is a set of PRFs. AKeyset
can be converted into a set of PRFs using this primitive. Every key in the keyset corresponds to a PRF in the prf.Set. Every PRF in the set is given an ID, which is the same ID as the key id in theKeyset
.
Constants
- Maximal version of AES-CMAC PRF keys.
- Type URL of AES-CMAC PRF keys that Tink supports.
- Maximal version of HKDF PRF keys.
- Type URL of HKDF PRF keys that Tink supports.
- Maximal version of HMAC PRF keys.
- Type URL of HMAC PRF keys that Tink supports.
- The upstream Tink version that this Rust port is based on.
Functions
- Return a
KeyTemplate
that generates an AES-CMAC key with the following parameters: - Return a
KeyTemplate
that generates an HKDF key with the following parameters: - Return a
KeyTemplate
that generates an HMAC key with the following parameters: - Return a
KeyTemplate
that generates an HMAC key with the following parameters: - Initialize the
tink-prf
crate, registering its primitives so they are available via Tink.