Home
last modified time | relevance | path

Searched refs:CRYPTO_TFM_NEED_KEY (Results 1 – 12 of 12) sorted by relevance

/linux-6.15/crypto/
H A Daead.c56 crypto_aead_set_flags(tfm, CRYPTO_TFM_NEED_KEY); in crypto_aead_setkey()
60 crypto_aead_clear_flags(tfm, CRYPTO_TFM_NEED_KEY); in crypto_aead_setkey()
88 if (crypto_aead_get_flags(aead) & CRYPTO_TFM_NEED_KEY) in crypto_aead_encrypt()
99 if (crypto_aead_get_flags(aead) & CRYPTO_TFM_NEED_KEY) in crypto_aead_decrypt()
122 crypto_aead_set_flags(aead, CRYPTO_TFM_NEED_KEY); in crypto_aead_init_tfm()
H A Dshash.c29 crypto_shash_set_flags(tfm, CRYPTO_TFM_NEED_KEY); in shash_set_needkey()
44 crypto_shash_clear_flags(tfm, CRYPTO_TFM_NEED_KEY); in crypto_shash_setkey()
92 if (crypto_shash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_shash_digest()
133 if (crypto_shash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_shash_import()
H A Dahash.c268 CRYPTO_TFM_NEED_KEY); in crypto_init_ahash_using_shash()
284 crypto_ahash_set_flags(tfm, CRYPTO_TFM_NEED_KEY); in ahash_set_needkey()
298 CRYPTO_TFM_NEED_KEY); in crypto_ahash_setkey()
311 crypto_ahash_clear_flags(tfm, CRYPTO_TFM_NEED_KEY); in crypto_ahash_setkey()
547 if (crypto_ahash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_ahash_init()
720 if (crypto_ahash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_ahash_digest()
811 if (crypto_ahash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_ahash_import()
H A Dskcipher.c374 crypto_skcipher_set_flags(tfm, CRYPTO_TFM_NEED_KEY); in skcipher_set_needkey()
430 crypto_skcipher_clear_flags(tfm, CRYPTO_TFM_NEED_KEY); in crypto_skcipher_setkey()
440 if (crypto_skcipher_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_skcipher_encrypt()
453 if (crypto_skcipher_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_skcipher_decrypt()
H A Dalgif_skcipher.c284 if (crypto_skcipher_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in skcipher_check_key()
409 if (crypto_skcipher_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in skcipher_accept_parent()
H A Dalgif_hash.c313 if (crypto_ahash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in hash_check_key()
439 if (crypto_ahash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in hash_accept_parent()
H A Dalgif_aead.c396 if (crypto_aead_get_flags(tfm->aead) & CRYPTO_TFM_NEED_KEY) in aead_check_key()
559 if (crypto_aead_get_flags(tfm->aead) & CRYPTO_TFM_NEED_KEY) in aead_accept_parent()
/linux-6.15/include/linux/
H A Dcrypto.h134 #define CRYPTO_TFM_NEED_KEY 0x00000001 macro
/linux-6.15/net/ipv4/
H A Dtcp_sigpool.c135 e->needs_key = crypto_ahash_get_flags(cpu0_hash) & CRYPTO_TFM_NEED_KEY; in __cpool_alloc_ahash()
/linux-6.15/kernel/bpf/
H A Dcrypto.c202 if (type->get_flags(ctx->tfm) & CRYPTO_TFM_NEED_KEY) { in bpf_crypto_ctx_create()
/linux-6.15/include/crypto/
H A Dhash.h928 if (crypto_shash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_shash_init()
/linux-6.15/drivers/md/
H A Ddm-integrity.c4236 } else if (crypto_shash_get_flags(*hash) & CRYPTO_TFM_NEED_KEY) { in get_mac()