Home
last modified time | relevance | path

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

/linux/crypto/
H A Dalgif_skcipher.c275 if (!atomic_read(&ask->nokey_refcnt)) in skcipher_check_key()
287 atomic_dec(&pask->nokey_refcnt); in skcipher_check_key()
288 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()
452 atomic_inc(&ask->nokey_refcnt); in af_alg_accept()
453 atomic_set(&alg_sk(sk2)->nokey_refcnt, 1); in af_alg_accept()
/linux/include/crypto/
H A Dif_alg.h31 atomic_t nokey_refcnt; member