Module tink_prf::subtle[][src]

Provides subtle implementations of the tink_core::Prf primitive.

Structs

AesCmacPrf

AesCmacPrf is a type that can be used to compute several CMACs with the same key material.

HkdfPrf

HkdfPrf is a type that can be used to compute several HKDFs with the same key material.

HmacPrf

HmacPrf is a type that can be used to compute several HMACs with the same key material.

Functions

validate_aes_cmac_prf_params

Check that the key is the recommended size for AES-CMAC.

validate_hkdf_prf_params

Validate parameters of HKDF constructor.

validate_hmac_prf_params

Validate parameters of HMAC constructor.