Lines Matching defs:pool
21 RAND_POOL *pool;
23 pool = ossl_rand_pool_new(entropy, 1, min_len, max_len);
24 if (pool == NULL) {
30 entropy_available = ossl_pool_acquire_entropy(pool);
33 ret = ossl_rand_pool_length(pool);
34 *pout = ossl_rand_pool_detach(pool);
37 ossl_rand_pool_free(pool);
52 RAND_POOL *pool;
54 pool = ossl_rand_pool_new(0, 0, min_len, max_len);
55 if (pool == NULL) {
60 if (!ossl_pool_add_nonce_data(pool))
63 if (salt != NULL && !ossl_rand_pool_add(pool, salt, salt_len, 0))
65 ret = ossl_rand_pool_length(pool);
66 *pout = ossl_rand_pool_detach(pool);
68 ossl_rand_pool_free(pool);