Lines Matching refs:entropy
66 size_t entropy) in ossl_rand_pool_attach() argument
86 pool->entropy = entropy; in ossl_rand_pool_attach()
128 return pool->entropy; in ossl_rand_pool_entropy()
149 pool->entropy = 0; in ossl_rand_pool_detach()
182 if (pool->entropy < pool->entropy_requested) in ossl_rand_pool_entropy_available()
188 return pool->entropy; in ossl_rand_pool_entropy_available()
198 if (pool->entropy < pool->entropy_requested) in ossl_rand_pool_entropy_needed()
199 return pool->entropy_requested - pool->entropy; in ossl_rand_pool_entropy_needed()
306 const unsigned char *buffer, size_t len, size_t entropy) in ossl_rand_pool_add() argument
342 pool->entropy += entropy; in ossl_rand_pool_add()
399 int ossl_rand_pool_add_end(RAND_POOL *pool, size_t len, size_t entropy) in ossl_rand_pool_add_end() argument
408 pool->entropy += entropy; in ossl_rand_pool_add_end()