Searched refs:CRYPTO_TFM_NEED_KEY (Results 1 – 12 of 12) sorted by relevance
/Linux-v4.19/include/crypto/ |
D | hash.h | 485 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()
|
D | aead.h | 332 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()
|
D | skcipher.h | 440 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/ |
D | shash.c | 71 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()
|
D | skcipher.c | 603 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()
|
D | ahash.c | 207 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()
|
D | algif_skcipher.c | 231 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()
|
D | aead.c | 67 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()
|
D | algif_hash.c | 318 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()
|
D | algif_aead.c | 400 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/ |
D | crypto.h | 123 #define CRYPTO_TFM_NEED_KEY 0x00000001 macro
|
/Linux-v4.19/drivers/md/ |
D | dm-integrity.c | 2810 } else if (crypto_shash_get_flags(*hash) & CRYPTO_TFM_NEED_KEY) { in get_mac()
|