HMAC-based KDF(key derivation function)
HMAC
message authentication code (MAC)
Hash-based MAC
$\text{HMAC}(\text{H}, key, text) = \text{HMAC-Hash}(key, text) = \text{H}((key \oplus opad) \Vert \text{H}(key \oplus ipad, text))$
HKDF
HKDF-Extract
$IKM$ (input keying material)
$PRK = \text{HKDF-Extract}(\text{H}, salt, IKM) = \text{HMAC}(\text{H}, salt, IKM)$
HKDF-Expand
expand the above PRK (pseudo random key) to a given length.
|
|