Home
last modified time | relevance | path

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

/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rand/
Durandom_test.cc334 static bool have_fork_detection() { in have_fork_detection() function
420 if ((!have_fork_detection() && !sysrand(true, kAdditionalDataLength)) || in TestFunctionPRNGModel()
425 (!have_fork_detection() && !sysrand(true, kAdditionalDataLength))) { in TestFunctionPRNGModel()
431 (!have_fast_rdrand() && !have_fork_detection() && in TestFunctionPRNGModel()
438 (!have_fast_rdrand() && !have_fork_detection() && in TestFunctionPRNGModel()
/external/boringssl/src/crypto/fipsmodule/rand/
Durandom_test.cc633 static bool have_fork_detection() { return CRYPTO_get_fork_generation() != 0; } in have_fork_detection() function
741 if ((!have_fork_detection() && !sysrand(true, kAdditionalDataLength)) || in TestFunctionPRNGModel()
747 (!have_fork_detection() && !sysrand(true, kAdditionalDataLength))) { in TestFunctionPRNGModel()
753 (!have_fast_rdrand() && !have_fork_detection() && in TestFunctionPRNGModel()
760 (!have_fast_rdrand() && !have_fork_detection() && in TestFunctionPRNGModel()