Home
last modified time | relevance | path

Searched refs:hwrng (Results 1 – 4 of 4) sorted by relevance

/system/security/prng_seeder/src/
Dconditioner.rs27 hwrng: File, field
32 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, field
59 self.hwrng.read_exact(&mut et).await.context("hwrng.read_exact in reseed")?; in reseed_if_necessary()
Dmain.rs84 let hwrng = std::fs::File::open(&cli.source) in setup() localVariable
86 let cb = ConditionerBuilder::new(hwrng)?; in setup()
/system/sepolicy/microdroid/system/private/
Ddomain.te329 # Only the kernel hwrng thread should be able to read from the HW RNG.
/system/sepolicy/private/
Ddomain.te644 # Only the kernel hwrng thread should be able to read from the HW RNG.