Home
last modified time | relevance | path

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

/openbmc/linux/crypto/
H A Dalgif_skcipher.c211 if (!atomic_read(&ask->nokey_refcnt)) in skcipher_check_key()
223 atomic_dec(&pask->nokey_refcnt); in skcipher_check_key()
224 atomic_set(&ask->nokey_refcnt, 0); in skcipher_check_key()
H A Dalgif_hash.c308 if (!atomic_read(&ask->nokey_refcnt)) in hash_check_key()
320 atomic_dec(&pask->nokey_refcnt); in hash_check_key()
321 atomic_set(&ask->nokey_refcnt, 0); in hash_check_key()
H A Dalgif_aead.c387 if (!atomic_read(&ask->nokey_refcnt)) in aead_check_key()
399 atomic_dec(&pask->nokey_refcnt); in aead_check_key()
400 atomic_set(&ask->nokey_refcnt, 0); in aead_check_key()
H A Daf_alg.c135 unsigned int nokey = atomic_read(&ask->nokey_refcnt); in af_alg_release_parent()
141 atomic_dec(&ask->nokey_refcnt); in af_alg_release_parent()
366 if (atomic_read(&ask->refcnt) != atomic_read(&ask->nokey_refcnt)) in alg_setsockopt()
451 atomic_inc(&ask->nokey_refcnt); in af_alg_accept()
452 atomic_set(&alg_sk(sk2)->nokey_refcnt, 1); in af_alg_accept()
/openbmc/linux/include/crypto/
H A Dif_alg.h31 atomic_t nokey_refcnt; member