Home
last modified time | relevance | path

Searched refs:alloc_len (Results 1 – 2 of 2) sorted by relevance

/openssl/crypto/rand/
H A Drand_pool.c37 if (pool->alloc_len > pool->max_len) in ossl_rand_pool_new()
38 pool->alloc_len = pool->max_len; in ossl_rand_pool_new()
41 pool->buffer = OPENSSL_secure_zalloc(pool->alloc_len); in ossl_rand_pool_new()
43 pool->buffer = OPENSSL_zalloc(pool->alloc_len); in ossl_rand_pool_new()
85 pool->min_len = pool->max_len = pool->alloc_len = pool->len; in ossl_rand_pool_attach()
109 OPENSSL_clear_free(pool->buffer, pool->alloc_len); in ossl_rand_pool_free()
207 if (len > pool->alloc_len - pool->len) { in rand_pool_grow()
210 size_t newlen = pool->alloc_len; in rand_pool_grow()
233 OPENSSL_clear_free(pool->buffer, pool->alloc_len); in rand_pool_grow()
235 pool->alloc_len = newlen; in rand_pool_grow()
[all …]
/openssl/include/crypto/
H A Drand_pool.h80 size_t alloc_len; /* current number of bytes allocated */ member

Completed in 31 milliseconds