Home
last modified time | relevance | path

Searched refs:read_urandom (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/ahash/patches/
D0001-Use-dev-urandom-instead-of-getrandom.patch28 +fn read_urandom(dest: &mut [u8]) -> Result<(), std::io::Error> {
41 + if read_urandom(&mut result).is_err() {
/external/rust/crates/ahash/src/
Drandom_state.rs14 fn read_urandom(dest: &mut [u8]) -> Result<(), std::io::Error> { in read_urandom() function
26 if read_urandom(&mut result).is_err() {