Home
last modified time | relevance | path

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

/openbmc/qemu/crypto/
H A Dblock.c228 assert(block->n_ciphers <= 1); in qcrypto_block_get_cipher()
254 assert(block->n_free_ciphers < block->n_ciphers); in qcrypto_block_push_cipher()
270 assert(!block->ciphers && !block->n_ciphers && !block->n_free_ciphers); in qcrypto_block_init_cipher()
280 block->n_ciphers++; in qcrypto_block_init_cipher()
296 assert(block->n_ciphers == block->n_free_ciphers); in qcrypto_block_free_cipher()
298 for (i = 0; i < block->n_ciphers; i++) { in qcrypto_block_free_cipher()
304 block->n_ciphers = block->n_free_ciphers = 0; in qcrypto_block_free_cipher()
312 assert(block->n_ciphers <= 1); in qcrypto_block_get_ivgen()
H A Dblockpriv.h36 size_t n_ciphers; member
/openbmc/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c3898 u8 n_ciphers; member
5103 param->n_ciphers * sizeof(u32)); in mac80211_hwsim_new_radio()
5105 hw->wiphy->n_cipher_suites = param->n_ciphers; in mac80211_hwsim_new_radio()
5753 static bool hwsim_known_ciphers(const u32 *ciphers, int n_ciphers) in hwsim_known_ciphers() argument
5757 for (i = 0; i < n_ciphers; i++) { in hwsim_known_ciphers()
5937 param.n_ciphers = len / sizeof(u32); in hwsim_new_radio_nl()
5939 if (param.n_ciphers > ARRAY_SIZE(hwsim_ciphers)) { in hwsim_new_radio_nl()
5946 if (!hwsim_known_ciphers(param.ciphers, param.n_ciphers)) { in hwsim_new_radio_nl()