Home
last modified time | relevance | path

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

/aosp_15_r20/external/rust/android-crates-io/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()
/aosp_15_r20/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()
/aosp_15_r20/external/cronet/third_party/boringssl/src/crypto/fipsmodule/rand/
H A Durandom_test.cc624 static bool have_fork_detection() { return CRYPTO_get_fork_generation() != 0; } in have_fork_detection() function
662 if (have_fork_detection()) { in TestFunctionPRNGModel()
721 if (!have_fork_detection()) { in TestFunctionPRNGModel()
732 (!have_fork_detection() && !sysrand(true, kAdditionalDataLength))) { in TestFunctionPRNGModel()
738 (!have_fast_rdrand() && !have_fork_detection() && in TestFunctionPRNGModel()
745 (!have_fast_rdrand() && !have_fork_detection() && in TestFunctionPRNGModel()
/aosp_15_r20/external/boringssl/src/crypto/fipsmodule/rand/
H A Durandom_test.cc624 static bool have_fork_detection() { return CRYPTO_get_fork_generation() != 0; } in have_fork_detection() function
662 if (have_fork_detection()) { in TestFunctionPRNGModel()
721 if (!have_fork_detection()) { in TestFunctionPRNGModel()
732 (!have_fork_detection() && !sysrand(true, kAdditionalDataLength))) { in TestFunctionPRNGModel()
738 (!have_fast_rdrand() && !have_fork_detection() && in TestFunctionPRNGModel()
745 (!have_fast_rdrand() && !have_fork_detection() && in TestFunctionPRNGModel()