Home
last modified time | relevance | path

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

/kernel/lib/crypto/
A Dprng.cpp77 if (is_thread_safe() && in AddEntropy()
87 if (is_thread_safe() && accumulated_.load() < kMinEntropy) { in Draw()
145 bool PRNG::is_thread_safe() const { in is_thread_safe() function in crypto::PRNG
A Dprng_unittest.cpp35 EXPECT_FALSE(prng1.is_thread_safe(), "unexpected PRNG state"); in non_thread_safe_prng_same_behavior()
36 EXPECT_TRUE(prng2.is_thread_safe(), "unexpected PRNG state"); in non_thread_safe_prng_same_behavior()
55 EXPECT_TRUE(prng1.is_thread_safe(), "unexpected PRNG state"); in non_thread_safe_prng_same_behavior()
/kernel/lib/crypto/include/lib/crypto/
A Dprng.h62 bool is_thread_safe() const;
/kernel/syscalls/
A Dzircon.cpp272 ASSERT(prng->is_thread_safe()); in sys_cprng_draw_once()
294 ASSERT(prng->is_thread_safe()); in sys_cprng_add_entropy()

Completed in 6 milliseconds