Home
last modified time | relevance | path

Searched refs:entropy_available (Results 1 – 3 of 3) sorted by relevance

/third_party/openssl/crypto/rand/
Drand_win.c50 size_t entropy_available = 0; in rand_pool_acquire_entropy() local
54 entropy_available = rand_acquire_entropy_from_tsc(pool); in rand_pool_acquire_entropy()
55 if (entropy_available > 0) in rand_pool_acquire_entropy()
56 return entropy_available; in rand_pool_acquire_entropy()
60 entropy_available = rand_acquire_entropy_from_cpu(pool); in rand_pool_acquire_entropy()
61 if (entropy_available > 0) in rand_pool_acquire_entropy()
62 return entropy_available; in rand_pool_acquire_entropy()
75 entropy_available = rand_pool_entropy_available(pool); in rand_pool_acquire_entropy()
77 if (entropy_available > 0) in rand_pool_acquire_entropy()
78 return entropy_available; in rand_pool_acquire_entropy()
[all …]
Drand_unix.c638 size_t entropy_available; in rand_pool_acquire_entropy()
661 entropy_available = rand_pool_entropy_available(pool); in rand_pool_acquire_entropy()
662 if (entropy_available > 0) in rand_pool_acquire_entropy()
663 return entropy_available; in rand_pool_acquire_entropy()
706 entropy_available = rand_pool_entropy_available(pool); in rand_pool_acquire_entropy()
707 if (entropy_available > 0) in rand_pool_acquire_entropy()
708 return entropy_available; in rand_pool_acquire_entropy()
713 entropy_available = rand_acquire_entropy_from_tsc(pool); in rand_pool_acquire_entropy()
714 if (entropy_available > 0) in rand_pool_acquire_entropy()
715 return entropy_available; in rand_pool_acquire_entropy()
[all …]
Drand_lib.c135 size_t entropy_available = 0; in rand_drbg_get_entropy() local
180 entropy_available = rand_pool_entropy_available(pool); in rand_drbg_get_entropy()
196 entropy_available = rand_pool_acquire_entropy(pool); in rand_drbg_get_entropy()
199 if (entropy_available > 0) { in rand_drbg_get_entropy()