Home
last modified time | relevance | path

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

/Linux-v6.1/crypto/
Daead.c55 crypto_aead_set_flags(tfm, CRYPTO_TFM_NEED_KEY); in crypto_aead_setkey()
59 crypto_aead_clear_flags(tfm, CRYPTO_TFM_NEED_KEY); in crypto_aead_setkey()
91 if (crypto_aead_get_flags(aead) & CRYPTO_TFM_NEED_KEY) in crypto_aead_encrypt()
108 if (crypto_aead_get_flags(aead) & CRYPTO_TFM_NEED_KEY) in crypto_aead_decrypt()
132 crypto_aead_set_flags(aead, CRYPTO_TFM_NEED_KEY); in crypto_aead_init_tfm()
Dshash.c66 crypto_shash_set_flags(tfm, CRYPTO_TFM_NEED_KEY); in shash_set_needkey()
86 crypto_shash_clear_flags(tfm, CRYPTO_TFM_NEED_KEY); in crypto_shash_setkey()
211 if (crypto_shash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_shash_digest()
406 CRYPTO_TFM_NEED_KEY); in crypto_init_shash_ops_async()
Dalgif_skcipher.c221 if (crypto_skcipher_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in skcipher_check_key()
357 if (crypto_skcipher_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in skcipher_accept_parent()
Dahash.c169 crypto_ahash_set_flags(tfm, CRYPTO_TFM_NEED_KEY); in ahash_set_needkey()
188 crypto_ahash_clear_flags(tfm, CRYPTO_TFM_NEED_KEY); in crypto_ahash_setkey()
376 if (crypto_ahash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_ahash_digest()
Dskcipher.c570 crypto_skcipher_set_flags(tfm, CRYPTO_TFM_NEED_KEY); in skcipher_set_needkey()
614 crypto_skcipher_clear_flags(tfm, CRYPTO_TFM_NEED_KEY); in crypto_skcipher_setkey()
627 if (crypto_skcipher_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_skcipher_encrypt()
644 if (crypto_skcipher_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_skcipher_decrypt()
Dalgif_hash.c312 if (crypto_ahash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in hash_check_key()
451 if (crypto_ahash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in hash_accept_parent()
Dalgif_aead.c395 if (crypto_aead_get_flags(tfm->aead) & CRYPTO_TFM_NEED_KEY) in aead_check_key()
571 if (crypto_aead_get_flags(tfm->aead) & CRYPTO_TFM_NEED_KEY) in aead_accept_parent()
/Linux-v6.1/include/crypto/
Dhash.h511 if (crypto_ahash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_ahash_import()
532 if (crypto_ahash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_ahash_init()
924 if (crypto_shash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_shash_import()
946 if (crypto_shash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_shash_init()
/Linux-v6.1/include/linux/
Dcrypto.h147 #define CRYPTO_TFM_NEED_KEY 0x00000001 macro
/Linux-v6.1/drivers/md/
Ddm-integrity.c3702 } else if (crypto_shash_get_flags(*hash) & CRYPTO_TFM_NEED_KEY) { in get_mac()