Home
last modified time | relevance | path

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

/Linux-v4.19/include/crypto/
Dhash.h485 if (crypto_ahash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_ahash_import()
506 if (crypto_ahash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_ahash_init()
863 if (crypto_shash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_shash_import()
884 if (crypto_shash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_shash_init()
Daead.h332 if (crypto_aead_get_flags(aead) & CRYPTO_TFM_NEED_KEY) in crypto_aead_encrypt()
364 if (crypto_aead_get_flags(aead) & CRYPTO_TFM_NEED_KEY) in crypto_aead_decrypt()
Dskcipher.h440 if (crypto_skcipher_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_skcipher_encrypt()
461 if (crypto_skcipher_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_skcipher_decrypt()
/Linux-v4.19/crypto/
Dshash.c71 crypto_shash_clear_flags(tfm, CRYPTO_TFM_NEED_KEY); in crypto_shash_setkey()
191 if (crypto_shash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_shash_digest()
374 CRYPTO_TFM_NEED_KEY); in crypto_init_shash_ops_async()
395 crypto_shash_set_flags(hash, CRYPTO_TFM_NEED_KEY); in crypto_shash_init_tfm()
Dskcipher.c603 crypto_skcipher_clear_flags(tfm, CRYPTO_TFM_NEED_KEY); in skcipher_setkey_blkcipher()
680 crypto_skcipher_set_flags(skcipher, CRYPTO_TFM_NEED_KEY); in crypto_init_skcipher_ops_blkcipher()
703 crypto_skcipher_clear_flags(tfm, CRYPTO_TFM_NEED_KEY); in skcipher_setkey_ablkcipher()
779 crypto_skcipher_set_flags(skcipher, CRYPTO_TFM_NEED_KEY); in crypto_init_skcipher_ops_ablkcipher()
825 crypto_skcipher_clear_flags(tfm, CRYPTO_TFM_NEED_KEY); in skcipher_setkey()
856 crypto_skcipher_set_flags(skcipher, CRYPTO_TFM_NEED_KEY); in crypto_skcipher_init_tfm()
Dahash.c207 crypto_ahash_clear_flags(tfm, CRYPTO_TFM_NEED_KEY); in crypto_ahash_setkey()
381 if (crypto_ahash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in crypto_ahash_digest()
471 crypto_ahash_set_flags(hash, CRYPTO_TFM_NEED_KEY); in crypto_ahash_init_tfm()
Dalgif_skcipher.c231 if (crypto_skcipher_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in skcipher_check_key()
377 if (crypto_skcipher_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in skcipher_accept_parent()
Daead.c67 crypto_aead_clear_flags(tfm, CRYPTO_TFM_NEED_KEY); in crypto_aead_setkey()
103 crypto_aead_set_flags(aead, CRYPTO_TFM_NEED_KEY); in crypto_aead_init_tfm()
Dalgif_hash.c318 if (crypto_ahash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in hash_check_key()
462 if (crypto_ahash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in hash_accept_parent()
Dalgif_aead.c400 if (crypto_aead_get_flags(tfm->aead) & CRYPTO_TFM_NEED_KEY) in aead_check_key()
587 if (crypto_aead_get_flags(tfm->aead) & CRYPTO_TFM_NEED_KEY) in aead_accept_parent()
/Linux-v4.19/include/linux/
Dcrypto.h123 #define CRYPTO_TFM_NEED_KEY 0x00000001 macro
/Linux-v4.19/drivers/md/
Ddm-integrity.c2810 } else if (crypto_shash_get_flags(*hash) & CRYPTO_TFM_NEED_KEY) { in get_mac()