Home
last modified time | relevance | path

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

/third_party/openssl/crypto/bn/
Dbn_ctx.c15 #define BN_CTX_POOL_SIZE 16 macro
26 BIGNUM vals[BN_CTX_POOL_SIZE];
92 item->vals[bnidx++ % BN_CTX_POOL_SIZE].dmax); in ctxdbg()
93 if (!(bnidx % BN_CTX_POOL_SIZE)) in ctxdbg()
169 while (loop < BN_CTX_POOL_SIZE) in BN_CTX_free()
306 for (loop = 0, bn = p->head->vals; loop++ < BN_CTX_POOL_SIZE; bn++) in BN_POOL_finish()
329 for (loop = 0, bn = item->vals; loop++ < BN_CTX_POOL_SIZE; bn++) { in BN_POOL_get()
344 p->size += BN_CTX_POOL_SIZE; in BN_POOL_get()
352 else if ((p->used % BN_CTX_POOL_SIZE) == 0) in BN_POOL_get()
354 return p->current->vals + ((p->used++) % BN_CTX_POOL_SIZE); in BN_POOL_get()
[all …]