Home
last modified time | relevance | path

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

/Linux-v6.1/crypto/
Dalgif_skcipher.c212 if (!atomic_read(&ask->nokey_refcnt)) in skcipher_check_key()
224 atomic_dec(&pask->nokey_refcnt); in skcipher_check_key()
225 atomic_set(&ask->nokey_refcnt, 0); in skcipher_check_key()
Dalgif_hash.c303 if (!atomic_read(&ask->nokey_refcnt)) in hash_check_key()
315 atomic_dec(&pask->nokey_refcnt); in hash_check_key()
316 atomic_set(&ask->nokey_refcnt, 0); in hash_check_key()
Dalgif_aead.c386 if (!atomic_read(&ask->nokey_refcnt)) in aead_check_key()
398 atomic_dec(&pask->nokey_refcnt); in aead_check_key()
399 atomic_set(&ask->nokey_refcnt, 0); in aead_check_key()
Daf_alg.c129 unsigned int nokey = atomic_read(&ask->nokey_refcnt); in af_alg_release_parent()
135 atomic_dec(&ask->nokey_refcnt); in af_alg_release_parent()
234 if (atomic_read(&ask->refcnt) != atomic_read(&ask->nokey_refcnt)) in alg_setsockopt()
315 atomic_inc(&ask->nokey_refcnt); in af_alg_accept()
316 atomic_set(&alg_sk(sk2)->nokey_refcnt, 1); in af_alg_accept()
/Linux-v6.1/include/crypto/
Dif_alg.h33 atomic_t nokey_refcnt; member