Home
last modified time | relevance | path

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

/external/rust/crates/rand_chacha/src/
Dchacha.rs277 type ChaChaRng = super::ChaCha20Rng; typedef
285 let mut rng1 = ChaChaRng::from_seed(seed); in test_chacha_construction()
288 let mut rng2 = ChaChaRng::from_rng(rng1).unwrap(); in test_chacha_construction()
297 let mut rng = ChaChaRng::from_seed(seed); in test_chacha_true_values_a()
329 let mut rng = ChaChaRng::from_seed(seed); in test_chacha_true_values_b()
365 let mut rng1 = ChaChaRng::from_seed(seed); in test_chacha_true_values_c()
376 let mut rng2 = ChaChaRng::from_seed(seed); in test_chacha_true_values_c()
405 let mut rng = ChaChaRng::from_seed(seed); in test_chacha_multiple_blocks()
427 let mut rng = ChaChaRng::from_seed(seed); in test_chacha_true_bytes()
444 let mut rng = ChaChaRng::from_seed(seed); in test_chacha_nonce()
[all …]
Dlib.rs31 pub type ChaChaRng = ChaCha20Rng; typedef