Searched defs:RngCore (Results 1 – 12 of 12) sorted by relevance
142 pub trait RngCore { interface231 fn as_rngcore(&mut self) -> &mut dyn RngCore; in as_rngcore()235 fn as_rngcore(&mut self) -> &mut dyn RngCore { in as_rngcore()424 impl<'a, R: RngCore + ?Sized> RngCore for &'a mut R { impl473 impl std::io::Read for dyn RngCore { implementation
142 pub trait RngCore { trait231 fn as_rngcore(&mut self) -> &mut dyn RngCore; in as_rngcore()235 fn as_rngcore(&mut self) -> &mut dyn RngCore { in as_rngcore()424 impl<'a, R: RngCore + ?Sized> RngCore for &'a mut R { impl473 impl std::io::Read for dyn RngCore { implementation
102 rng: impl CryptoRng + RngCore, in to_pkcs8_encrypted_der()120 rng: impl CryptoRng + RngCore, in to_pkcs8_encrypted_pem()
67 mut rng: impl CryptoRng + RngCore, in encrypt()
140 rng: impl CryptoRng + RngCore, in encrypt()
193 pub fn rng(seed: u64) -> impl RngCore { in rng()
164 impl RngCore for $ChaChaXRng { impl