Expand description
This crate provides implementations of the tink_core::Prf primitive.
Modules
- Provides subtle implementations of the
tink_core::Prfprimitive.
Structs
Setis a set of PRFs. AKeysetcan 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
KeyTemplatethat generates an AES-CMAC key with the following parameters: - Return a
KeyTemplatethat generates an HKDF key with the following parameters: - Return a
KeyTemplatethat generates an HMAC key with the following parameters: - Return a
KeyTemplatethat generates an HMAC key with the following parameters: - Initialize the
tink-prfcrate, registering its primitives so they are available via Tink.