ariel_os::random

Function construct_rng

pub fn construct_rng(hwrng: impl RngCore)
Available on crate feature random only.
Expand description

Populates the global RNG from a seed value.

This is called by Ariel OS’s initialization functions.

§Panics

Panics if the underlying RNG returns an error.