Home
last modified time | relevance | path

Searched refs:nokey_refcnt (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/crypto/
H A 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()
H A 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()
H A Dalgif_hash.c302 if (!atomic_read(&ask->nokey_refcnt)) in hash_check_key()
314 atomic_dec(&pask->nokey_refcnt); in hash_check_key()
315 atomic_set(&ask->nokey_refcnt, 0); in hash_check_key()
H A Daf_alg.c132 unsigned int nokey = atomic_read(&ask->nokey_refcnt); in af_alg_release_parent()
138 atomic_dec(&ask->nokey_refcnt); in af_alg_release_parent()
237 if (atomic_read(&ask->refcnt) != atomic_read(&ask->nokey_refcnt)) in alg_setsockopt()
318 atomic_inc(&ask->nokey_refcnt); in af_alg_accept()
319 atomic_set(&alg_sk(sk2)->nokey_refcnt, 1); in af_alg_accept()
/kernel/linux/linux-6.6/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_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 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 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()
/kernel/linux/linux-5.10/include/crypto/
H A Dif_alg.h33 atomic_t nokey_refcnt; member
/kernel/linux/linux-6.6/include/crypto/
H A Dif_alg.h31 atomic_t nokey_refcnt; member

Completed in 9 milliseconds