Module ring::hkdf

source · []
Expand description

HMAC-based Extract-and-Expand Key Derivation Function.

HKDF is specified in RFC 5869.

Structs

An HKDF algorithm.
An HKDF OKM (Output Keying Material)
A HKDF PRK (pseudorandom key).
A salt for HKDF operations.

Statics

HKDF using HMAC-SHA-1. Obsolete.
HKDF using HMAC-SHA-256.
HKDF using HMAC-SHA-384.
HKDF using HMAC-SHA-512.

Traits

The length of the OKM (Output Keying Material) for a Prk::expand() call.