Searched refs:rand_bytes (Results 1 – 3 of 3) sorted by relevance
27 pub fn rand_bytes(buf: &mut [u8]) { in rand_bytes() function36 rand_bytes(&mut buf); in rand_u8()44 rand_bytes(&mut buf); in rand_u64()
1262 rand::rand_bytes(&mut dcid[..]); in with_tls()4489 rand::rand_bytes(&mut client_scid[..]); in with_config()4492 rand::rand_bytes(&mut server_scid[..]); in with_config()4502 rand::rand_bytes(&mut client_scid[..]); in with_client_config()4505 rand::rand_bytes(&mut server_scid[..]); in with_client_config()4525 rand::rand_bytes(&mut client_scid[..]); in with_server_config()4528 rand::rand_bytes(&mut server_scid[..]); in with_server_config()6503 rand::rand_bytes(&mut scid[..]); in retry()6560 rand::rand_bytes(&mut scid[..]); in missing_retry_source_connection_id()6615 rand::rand_bytes(&mut scid[..]); in invalid_retry_source_connection_id()
47 pub fn rand_bytes(mut output: &mut [u8], source: Source) -> Result<()> { in rand_bytes() function85 rand_bytes(rand.as_mut_slice(), source)?; in rand_vec()98 rand_bytes(&mut rand, Source::Pseudorandom).unwrap(); in randbytes_success()