Searched refs:sysrand (Results 1 – 4 of 4) sorted by relevance
/external/boringssl/src/crypto/fipsmodule/rand/ |
D | urandom_test.cc | 355 std::function<bool(bool, size_t)> sysrand; in TestFunctionPRNGModel() local 380 sysrand = [&ret, &wait_for_entropy, flags](bool block, size_t len) { in TestFunctionPRNGModel() 407 sysrand = [&ret, &wait_for_entropy](bool block, size_t len) { in TestFunctionPRNGModel() 420 if ((!have_fork_detection() && !sysrand(true, kAdditionalDataLength)) || in TestFunctionPRNGModel() 422 (is_fips && !sysrand(true, 16)) || in TestFunctionPRNGModel() 423 !sysrand(true, kSeedLength) || in TestFunctionPRNGModel() 425 (!have_fork_detection() && !sysrand(true, kAdditionalDataLength))) { in TestFunctionPRNGModel() 432 !sysrand(false, kAdditionalDataLength)) || in TestFunctionPRNGModel() 436 !sysrand(!is_fips, CTR_DRBG_ENTROPY_LEN) || in TestFunctionPRNGModel() 439 !sysrand(false, kAdditionalDataLength))) { in TestFunctionPRNGModel()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rand/ |
D | urandom_test.cc | 355 std::function<bool(bool, size_t)> sysrand; in TestFunctionPRNGModel() local 380 sysrand = [&ret, &wait_for_entropy, flags](bool block, size_t len) { in TestFunctionPRNGModel() 407 sysrand = [&ret, &wait_for_entropy](bool block, size_t len) { in TestFunctionPRNGModel() 420 if ((!have_fork_detection() && !sysrand(true, kAdditionalDataLength)) || in TestFunctionPRNGModel() 422 (is_fips && !sysrand(true, 16)) || in TestFunctionPRNGModel() 423 !sysrand(true, kSeedLength) || in TestFunctionPRNGModel() 425 (!have_fork_detection() && !sysrand(true, kAdditionalDataLength))) { in TestFunctionPRNGModel() 432 !sysrand(false, kAdditionalDataLength)) || in TestFunctionPRNGModel() 436 !sysrand(!is_fips, CTR_DRBG_ENTROPY_LEN) || in TestFunctionPRNGModel() 439 !sysrand(false, kAdditionalDataLength))) { in TestFunctionPRNGModel()
|
/external/autotest/server/ |
D | site_linux_system.py | 248 sysrand = random.SystemRandom() 251 (sysrand.getrandbits(8) & ~self.MAC_BIT_MULTICAST) | 253 sysrand.getrandbits(8), 254 sysrand.getrandbits(8), 255 sysrand.getrandbits(8), 256 sysrand.getrandbits(8), 257 sysrand.getrandbits(8))
|
/external/rust/crates/ring/src/ |
D | rand.rs | 174 use self::sysrand::fill as fill_impl; 305 mod sysrand { module 345 Mechanism::Sysrand => super::sysrand::fill(dest), in fill()
|