Lines Matching refs:pool
23 * function chooses more modest values as default pool length, bounded
63 * The 'random pool' acts as a dumb container for collecting random
65 * the random pool, 2) pass it to the polling callbacks, 3) seed the RNG, and
66 * 4) cleanup the random pool again.
68 * The random pool contains no locking mechanism because its scope and
72 unsigned char *buffer; /* points to the beginning of the random pool */
73 size_t len; /* current number of random bytes contained in the pool */
75 int attached; /* true pool was attached to existing buffer */
89 void ossl_rand_pool_free(RAND_POOL *pool);
91 const unsigned char *ossl_rand_pool_buffer(RAND_POOL *pool);
92 unsigned char *ossl_rand_pool_detach(RAND_POOL *pool);
93 void ossl_rand_pool_reattach(RAND_POOL *pool, unsigned char *buffer);
95 size_t ossl_rand_pool_entropy(RAND_POOL *pool);
96 size_t ossl_rand_pool_length(RAND_POOL *pool);
98 size_t ossl_rand_pool_entropy_available(RAND_POOL *pool);
99 size_t ossl_rand_pool_entropy_needed(RAND_POOL *pool);
101 size_t ossl_rand_pool_bytes_needed(RAND_POOL *pool, unsigned int entropy_factor);
102 size_t ossl_rand_pool_bytes_remaining(RAND_POOL *pool);
104 int ossl_rand_pool_add(RAND_POOL *pool,
106 unsigned char *ossl_rand_pool_add_begin(RAND_POOL *pool, size_t len);
107 int ossl_rand_pool_add_end(RAND_POOL *pool, size_t len, size_t entropy);