Home
last modified time | relevance | path

Searched refs:crypto_skcipher_set_flags (Results 1 – 25 of 32) sorted by relevance

12

/Linux-v5.4/include/crypto/
Dxts.h45 crypto_skcipher_set_flags(tfm, CRYPTO_TFM_RES_BAD_KEY_LEN); in xts_verify_key()
53 crypto_skcipher_set_flags(tfm, CRYPTO_TFM_RES_WEAK_KEY); in xts_verify_key()
Dskcipher.h324 static inline void crypto_skcipher_set_flags(struct crypto_skcipher *tfm, in crypto_skcipher_set_flags() function
345 crypto_skcipher_set_flags(&tfm->base, flags); in crypto_sync_skcipher_set_flags()
/Linux-v5.4/drivers/crypto/cavium/nitrox/
Dnitrox_skcipher.c131 crypto_skcipher_set_flags(cipher, CRYPTO_TFM_RES_BAD_KEY_LEN); in nitrox_aes_setkey()
290 crypto_skcipher_set_flags(cipher, CRYPTO_TFM_RES_BAD_KEY_LEN); in nitrox_aes_xts_setkey()
321 crypto_skcipher_set_flags(cipher, CRYPTO_TFM_RES_BAD_KEY_LEN); in nitrox_aes_ctr_rfc3686_setkey()
/Linux-v5.4/crypto/
Dadiantum.c133 crypto_skcipher_set_flags(tctx->streamcipher, in adiantum_setkey()
137 crypto_skcipher_set_flags(tfm, in adiantum_setkey()
169 crypto_skcipher_set_flags(tfm, in adiantum_setkey()
184 crypto_skcipher_set_flags(tfm, crypto_shash_get_flags(tctx->hash) & in adiantum_setkey()
Dxts.c64 crypto_skcipher_set_flags(parent, crypto_cipher_get_flags(tweak) & in setkey()
72 crypto_skcipher_set_flags(child, crypto_skcipher_get_flags(parent) & in setkey()
75 crypto_skcipher_set_flags(parent, crypto_skcipher_get_flags(child) & in setkey()
Dlrw.c79 crypto_skcipher_set_flags(child, crypto_skcipher_get_flags(parent) & in setkey()
82 crypto_skcipher_set_flags(parent, crypto_skcipher_get_flags(child) & in setkey()
Dessiv.c74 crypto_skcipher_set_flags(tctx->u.skcipher, in essiv_skcipher_setkey()
78 crypto_skcipher_set_flags(tfm, in essiv_skcipher_setkey()
95 crypto_skcipher_set_flags(tfm, in essiv_skcipher_setkey()
Dctr.c186 crypto_skcipher_set_flags(child, crypto_skcipher_get_flags(parent) & in crypto_rfc3686_setkey()
189 crypto_skcipher_set_flags(parent, crypto_skcipher_get_flags(child) & in crypto_rfc3686_setkey()
Dskcipher.c595 crypto_skcipher_set_flags(tfm, CRYPTO_TFM_NEED_KEY); in skcipher_set_needkey()
609 crypto_skcipher_set_flags(tfm, crypto_blkcipher_get_flags(blkcipher) & in skcipher_setkey_blkcipher()
709 crypto_skcipher_set_flags(tfm, in skcipher_setkey_ablkcipher()
826 crypto_skcipher_set_flags(tfm, CRYPTO_TFM_RES_BAD_KEY_LEN); in skcipher_setkey()
1118 crypto_skcipher_set_flags(tfm, crypto_cipher_get_flags(cipher) & in skcipher_setkey_simple()
Dcts.c84 crypto_skcipher_set_flags(child, crypto_skcipher_get_flags(parent) & in crypto_cts_setkey()
87 crypto_skcipher_set_flags(parent, crypto_skcipher_get_flags(child) & in crypto_cts_setkey()
Dsimd.c58 crypto_skcipher_set_flags(child, crypto_skcipher_get_flags(tfm) & in simd_skcipher_setkey()
61 crypto_skcipher_set_flags(tfm, crypto_skcipher_get_flags(child) & in simd_skcipher_setkey()
Dauthenc.c107 crypto_skcipher_set_flags(enc, crypto_aead_get_flags(authenc) & in crypto_authenc_setkey()
Dauthencesn.c81 crypto_skcipher_set_flags(enc, crypto_aead_get_flags(authenc_esn) & in crypto_authenc_esn_setkey()
Dchacha20poly1305.c489 crypto_skcipher_set_flags(ctx->chacha, crypto_aead_get_flags(aead) & in chachapoly_setkey()
/Linux-v5.4/fs/crypto/
Dkeysetup_v1.c62 crypto_skcipher_set_flags(tfm, CRYPTO_TFM_REQ_FORBID_WEAK_KEYS); in derive_key_aes()
Dkeysetup.c102 crypto_skcipher_set_flags(tfm, CRYPTO_TFM_REQ_FORBID_WEAK_KEYS); in fscrypt_allocate_skcipher()
/Linux-v5.4/arch/arm64/crypto/
Daes-glue.c139 crypto_skcipher_set_flags(tfm, CRYPTO_TFM_RES_BAD_KEY_LEN); in skcipher_aes_setkey()
161 crypto_skcipher_set_flags(tfm, CRYPTO_TFM_RES_BAD_KEY_LEN); in xts_set_key()
187 crypto_skcipher_set_flags(tfm, CRYPTO_TFM_RES_BAD_KEY_LEN); in essiv_cbc_set_key()
/Linux-v5.4/drivers/crypto/caam/
Dcaamalg_qi.c662 crypto_skcipher_set_flags(skcipher, CRYPTO_TFM_RES_BAD_KEY_LEN); in skcipher_setkey()
673 crypto_skcipher_set_flags(skcipher, in aes_skcipher_setkey()
697 crypto_skcipher_set_flags(skcipher, in rfc3686_skcipher_setkey()
720 crypto_skcipher_set_flags(skcipher, in ctr_skcipher_setkey()
783 crypto_skcipher_set_flags(skcipher, CRYPTO_TFM_RES_BAD_KEY_LEN); in xts_skcipher_setkey()
Dcaamalg.c766 crypto_skcipher_set_flags(skcipher, in aes_skcipher_setkey()
790 crypto_skcipher_set_flags(skcipher, in rfc3686_skcipher_setkey()
813 crypto_skcipher_set_flags(skcipher, in ctr_skcipher_setkey()
849 crypto_skcipher_set_flags(skcipher, CRYPTO_TFM_RES_BAD_KEY_LEN); in xts_skcipher_setkey()
/Linux-v5.4/arch/arm/crypto/
Daes-ce-glue.c147 crypto_skcipher_set_flags(tfm, CRYPTO_TFM_RES_BAD_KEY_LEN); in ce_aes_setkey()
173 crypto_skcipher_set_flags(tfm, CRYPTO_TFM_RES_BAD_KEY_LEN); in xts_set_key()
/Linux-v5.4/drivers/crypto/amcc/
Dcrypto4xx_alg.c133 crypto_skcipher_set_flags(cipher, in crypto4xx_setkey_aes()
303 crypto_skcipher_set_flags(cipher, in crypto4xx_sk_setup_fallback()
/Linux-v5.4/drivers/crypto/inside-secure/
Dsafexcel_cipher.c281 crypto_skcipher_set_flags(ctfm, CRYPTO_TFM_RES_BAD_KEY_LEN); in safexcel_skcipher_aes_setkey()
1292 crypto_skcipher_set_flags(ctfm, CRYPTO_TFM_RES_BAD_KEY_LEN); in safexcel_skcipher_aesctr_setkey()
1969 crypto_skcipher_set_flags(ctfm, CRYPTO_TFM_RES_BAD_KEY_LEN); in safexcel_skcipher_aesxts_setkey()
1988 crypto_skcipher_set_flags(ctfm, CRYPTO_TFM_RES_BAD_KEY_LEN); in safexcel_skcipher_aesxts_setkey()
/Linux-v5.4/drivers/crypto/sunxi-ss/
Dsun4i-ss-cipher.c528 crypto_skcipher_set_flags(tfm, CRYPTO_TFM_RES_BAD_KEY_LEN); in sun4i_ss_aes_setkey()
/Linux-v5.4/fs/ecryptfs/
Dcrypto.c599 crypto_skcipher_set_flags(crypt_stat->tfm, in ecryptfs_init_crypt_ctx()
1587 crypto_skcipher_set_flags(*key_tfm, CRYPTO_TFM_REQ_FORBID_WEAK_KEYS); in ecryptfs_process_key_cipher()
/Linux-v5.4/drivers/crypto/marvell/
Dcipher.c259 crypto_skcipher_set_flags(cipher, CRYPTO_TFM_RES_BAD_KEY_LEN); in mv_cesa_aes_setkey()

12