Searched refs:hwrng (Results 1 – 4 of 4) sorted by relevance
27 hwrng: File, field32 pub fn new(mut hwrng: File) -> Result<ConditionerBuilder> { in new()34 hwrng.read_exact(&mut et).context("hwrng.read_exact in new")?; in new()36 Ok(ConditionerBuilder { hwrng, rg }) in new()41 hwrng: tokio::fs::File::from_std(self.hwrng), in build()49 hwrng: tokio::fs::File, field59 self.hwrng.read_exact(&mut et).await.context("hwrng.read_exact in reseed")?; in reseed_if_necessary()
84 let hwrng = std::fs::File::open(&cli.source) in setup() localVariable86 let cb = ConditionerBuilder::new(hwrng)?; in setup()
329 # Only the kernel hwrng thread should be able to read from the HW RNG.
644 # Only the kernel hwrng thread should be able to read from the HW RNG.