Home
last modified time | relevance | path

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

/openbmc/qemu/crypto/
H A Dblock.c230 assert(block->max_free_ciphers <= 1); in qcrypto_block_get_cipher()
257 if (block->n_free_ciphers == block->max_free_ciphers) { in qcrypto_block_push_cipher()
258 block->max_free_ciphers++; in qcrypto_block_push_cipher()
261 block->max_free_ciphers); in qcrypto_block_push_cipher()
277 assert(!block->free_ciphers && !block->max_free_ciphers && in qcrypto_block_init_cipher()
314 assert(block->n_free_ciphers == block->max_free_ciphers); in qcrypto_block_free_cipher()
316 for (i = 0; i < block->max_free_ciphers; i++) { in qcrypto_block_free_cipher()
322 block->max_free_ciphers = block->n_free_ciphers = 0; in qcrypto_block_free_cipher()
330 assert(block->max_free_ciphers <= 1); in qcrypto_block_get_ivgen()
H A Dblockpriv.h42 size_t max_free_ciphers; member