⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

hkdf_expand

Function hkdf_expand 

Source
pub fn hkdf_expand(prk: &[u8; 32], info: &[u8], length: usize) -> Vec<u8>
Expand description

HKDF-Expand: OKM = T(1) || T(2) || … (truncated to length)

T(0) = empty string T(i) = HMAC-Hash(PRK, T(i-1) || info || i)