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

collect_timer_entropy

Function collect_timer_entropy 

Source
pub fn collect_timer_entropy(dest: &mut [u8; 32])
Expand description

Collect 32 bytes of timer-jitter entropy.

Uses read_timestamp to sample the hardware counter with variable-work delays, then mixes the jitter into the output buffer using an LCG.