Skip to main content

add_entropy

Function add_entropy 

Source
pub fn add_entropy(tag: u8, sample: u64)
Expand description

Feed a 64‑bit sample into the entropy pool (called from interrupt handlers).

tag should be a small unique discriminator for the source (e.g. 1 = keyboard, 2 = timer, 3 = storage).