Home
last modified time | relevance | path

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

/Linux-v5.4/crypto/
Daead.c60 crypto_aead_set_flags(tfm, CRYPTO_TFM_NEED_KEY); in crypto_aead_setkey()
64 crypto_aead_clear_flags(tfm, CRYPTO_TFM_NEED_KEY); in crypto_aead_setkey()
96 if (crypto_aead_get_flags(aead) & CRYPTO_TFM_NEED_KEY) in crypto_aead_encrypt()
113 if (crypto_aead_get_flags(aead) & CRYPTO_TFM_NEED_KEY) in crypto_aead_decrypt()
137 crypto_aead_set_flags(aead, CRYPTO_TFM_NEED_KEY); in crypto_aead_init_tfm()
Dshash.c55 crypto_shash_set_flags(tfm, CRYPTO_TFM_NEED_KEY); in shash_set_needkey()
75 crypto_shash_clear_flags(tfm, CRYPTO_TFM_NEED_KEY); in crypto_shash_setkey()
200 if (crypto_shash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_shash_digest()
379 CRYPTO_TFM_NEED_KEY); in crypto_init_shash_ops_async()
Dskcipher.c595 crypto_skcipher_set_flags(tfm, CRYPTO_TFM_NEED_KEY); in skcipher_set_needkey()
616 crypto_skcipher_clear_flags(tfm, CRYPTO_TFM_NEED_KEY); in skcipher_setkey_blkcipher()
717 crypto_skcipher_clear_flags(tfm, CRYPTO_TFM_NEED_KEY); in skcipher_setkey_ablkcipher()
840 crypto_skcipher_clear_flags(tfm, CRYPTO_TFM_NEED_KEY); in skcipher_setkey()
852 if (crypto_skcipher_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_skcipher_encrypt()
869 if (crypto_skcipher_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_skcipher_decrypt()
Dalgif_skcipher.c227 if (crypto_skcipher_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in skcipher_check_key()
373 if (crypto_skcipher_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in skcipher_accept_parent()
Dahash.c200 crypto_ahash_set_flags(tfm, CRYPTO_TFM_NEED_KEY); in ahash_set_needkey()
219 crypto_ahash_clear_flags(tfm, CRYPTO_TFM_NEED_KEY); in crypto_ahash_setkey()
407 if (crypto_ahash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_ahash_digest()
Dalgif_hash.c313 if (crypto_ahash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in hash_check_key()
457 if (crypto_ahash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in hash_accept_parent()
Dalgif_aead.c396 if (crypto_aead_get_flags(tfm->aead) & CRYPTO_TFM_NEED_KEY) in aead_check_key()
583 if (crypto_aead_get_flags(tfm->aead) & CRYPTO_TFM_NEED_KEY) in aead_accept_parent()
/Linux-v5.4/include/crypto/
Dhash.h488 if (crypto_ahash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_ahash_import()
509 if (crypto_ahash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_ahash_init()
878 if (crypto_shash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_shash_import()
900 if (crypto_shash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_shash_init()
/Linux-v5.4/include/linux/
Dcrypto.h110 #define CRYPTO_TFM_NEED_KEY 0x00000001 macro
/Linux-v5.4/drivers/md/
Ddm-integrity.c3307 } else if (crypto_shash_get_flags(*hash) & CRYPTO_TFM_NEED_KEY) { in get_mac()