Module backends

Source
Expand description

System-specific implementations.

This module should provide fill_inner with the signature fn fill_inner(dest: &mut [MaybeUninit<u8>]) -> Result<(), Error>. The function MUST fully initialize dest when Ok(()) is returned. The function MUST NOT ever write uninitialized bytes into dest, regardless of what value it returns.

Re-exportsยง

pub use linux_android_with_fallback::*;

Modulesยง

linux_android_with_fallback ๐Ÿ”’
Implementation for Linux / Android with /dev/urandom fallback
use_file ๐Ÿ”’
Implementations that just need to read from a file