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

prf_sha256

Function prf_sha256 

Source
pub fn prf_sha256(key: &[u8], label: &[u8], data: &[u8], bits: usize) -> Vec<u8>
Expand description

PRF-SHA256: Pseudo-Random Function for key expansion (IEEE 802.11-2012)

Expands a key using HMAC-SHA256 with label and data inputs. Produces output of the specified bit length.