Home
last modified time | relevance | path

Searched refs:CRYPTO_TFM_REQ_MASK (Results 1 – 25 of 31) sorted by relevance

12

/Linux-v5.4/crypto/
Dessiv.c73 crypto_skcipher_clear_flags(tctx->u.skcipher, CRYPTO_TFM_REQ_MASK); in essiv_skcipher_setkey()
76 CRYPTO_TFM_REQ_MASK); in essiv_skcipher_setkey()
89 crypto_cipher_clear_flags(tctx->essiv_cipher, CRYPTO_TFM_REQ_MASK); in essiv_skcipher_setkey()
92 CRYPTO_TFM_REQ_MASK); in essiv_skcipher_setkey()
111 crypto_aead_clear_flags(tctx->u.aead, CRYPTO_TFM_REQ_MASK); in essiv_aead_setkey()
113 CRYPTO_TFM_REQ_MASK); in essiv_aead_setkey()
132 crypto_cipher_clear_flags(tctx->essiv_cipher, CRYPTO_TFM_REQ_MASK); in essiv_aead_setkey()
134 CRYPTO_TFM_REQ_MASK); in essiv_aead_setkey()
Dadiantum.c132 crypto_skcipher_clear_flags(tctx->streamcipher, CRYPTO_TFM_REQ_MASK); in adiantum_setkey()
135 CRYPTO_TFM_REQ_MASK); in adiantum_setkey()
163 crypto_cipher_clear_flags(tctx->blockcipher, CRYPTO_TFM_REQ_MASK); in adiantum_setkey()
166 CRYPTO_TFM_REQ_MASK); in adiantum_setkey()
180 crypto_shash_clear_flags(tctx->hash, CRYPTO_TFM_REQ_MASK); in adiantum_setkey()
182 CRYPTO_TFM_REQ_MASK); in adiantum_setkey()
Dxts.c60 crypto_cipher_clear_flags(tweak, CRYPTO_TFM_REQ_MASK); in setkey()
62 CRYPTO_TFM_REQ_MASK); in setkey()
71 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in setkey()
73 CRYPTO_TFM_REQ_MASK); in setkey()
Dsimd.c57 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in simd_skcipher_setkey()
59 CRYPTO_TFM_REQ_MASK); in simd_skcipher_setkey()
300 crypto_aead_clear_flags(child, CRYPTO_TFM_REQ_MASK); in simd_aead_setkey()
302 CRYPTO_TFM_REQ_MASK); in simd_aead_setkey()
Dauthenc.c96 crypto_ahash_clear_flags(auth, CRYPTO_TFM_REQ_MASK); in crypto_authenc_setkey()
98 CRYPTO_TFM_REQ_MASK); in crypto_authenc_setkey()
106 crypto_skcipher_clear_flags(enc, CRYPTO_TFM_REQ_MASK); in crypto_authenc_setkey()
108 CRYPTO_TFM_REQ_MASK); in crypto_authenc_setkey()
Dauthencesn.c70 crypto_ahash_clear_flags(auth, CRYPTO_TFM_REQ_MASK); in crypto_authenc_esn_setkey()
72 CRYPTO_TFM_REQ_MASK); in crypto_authenc_esn_setkey()
80 crypto_skcipher_clear_flags(enc, CRYPTO_TFM_REQ_MASK); in crypto_authenc_esn_setkey()
82 CRYPTO_TFM_REQ_MASK); in crypto_authenc_esn_setkey()
Dgcm.c110 crypto_skcipher_clear_flags(ctr, CRYPTO_TFM_REQ_MASK); in crypto_gcm_setkey()
112 CRYPTO_TFM_REQ_MASK); in crypto_gcm_setkey()
140 crypto_ahash_clear_flags(ghash, CRYPTO_TFM_REQ_MASK); in crypto_gcm_setkey()
142 CRYPTO_TFM_REQ_MASK); in crypto_gcm_setkey()
738 crypto_aead_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_rfc4106_setkey()
740 CRYPTO_TFM_REQ_MASK); in crypto_rfc4106_setkey()
967 crypto_aead_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_rfc4543_setkey()
969 CRYPTO_TFM_REQ_MASK); in crypto_rfc4543_setkey()
Dccm.c96 crypto_skcipher_clear_flags(ctr, CRYPTO_TFM_REQ_MASK); in crypto_ccm_setkey()
98 CRYPTO_TFM_REQ_MASK); in crypto_ccm_setkey()
105 crypto_ahash_clear_flags(mac, CRYPTO_TFM_REQ_MASK); in crypto_ccm_setkey()
107 CRYPTO_TFM_REQ_MASK); in crypto_ccm_setkey()
615 crypto_aead_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_rfc4309_setkey()
617 CRYPTO_TFM_REQ_MASK); in crypto_rfc4309_setkey()
Dlrw.c78 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in setkey()
80 CRYPTO_TFM_REQ_MASK); in setkey()
Dahash.c141 walk->flags = req->base.flags & CRYPTO_TFM_REQ_MASK; in crypto_hash_walk_first()
159 walk->flags = req->base.flags & CRYPTO_TFM_REQ_MASK; in crypto_ahash_walk_first()
162 BUILD_BUG_ON(CRYPTO_TFM_REQ_MASK & CRYPTO_ALG_ASYNC); in crypto_ahash_walk_first()
Dctr.c185 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_rfc3686_setkey()
187 CRYPTO_TFM_REQ_MASK); in crypto_rfc3686_setkey()
Dcts.c83 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_cts_setkey()
85 CRYPTO_TFM_REQ_MASK); in crypto_cts_setkey()
Dcryptd.c257 crypto_sync_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in cryptd_skcipher_setkey()
260 CRYPTO_TFM_REQ_MASK); in cryptd_skcipher_setkey()
496 crypto_shash_clear_flags(child, CRYPTO_TFM_REQ_MASK); in cryptd_hash_setkey()
498 CRYPTO_TFM_REQ_MASK); in cryptd_hash_setkey()
Dskcipher.c607 CRYPTO_TFM_REQ_MASK); in skcipher_setkey_blkcipher()
707 CRYPTO_TFM_REQ_MASK); in skcipher_setkey_ablkcipher()
1114 crypto_cipher_clear_flags(cipher, CRYPTO_TFM_REQ_MASK); in skcipher_setkey_simple()
1116 CRYPTO_TFM_REQ_MASK); in skcipher_setkey_simple()
Dchacha20poly1305.c488 crypto_skcipher_clear_flags(ctx->chacha, CRYPTO_TFM_REQ_MASK); in chachapoly_setkey()
490 CRYPTO_TFM_REQ_MASK); in chachapoly_setkey()
/Linux-v5.4/drivers/crypto/sunxi-ss/
Dsun4i-ss-cipher.c534 crypto_sync_skcipher_clear_flags(op->fallback_tfm, CRYPTO_TFM_REQ_MASK); in sun4i_ss_aes_setkey()
535 crypto_sync_skcipher_set_flags(op->fallback_tfm, tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK); in sun4i_ss_aes_setkey()
554 crypto_sync_skcipher_clear_flags(op->fallback_tfm, CRYPTO_TFM_REQ_MASK); in sun4i_ss_des_setkey()
555 crypto_sync_skcipher_set_flags(op->fallback_tfm, tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK); in sun4i_ss_des_setkey()
574 crypto_sync_skcipher_clear_flags(op->fallback_tfm, CRYPTO_TFM_REQ_MASK); in sun4i_ss_des3_setkey()
575 crypto_sync_skcipher_set_flags(op->fallback_tfm, tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK); in sun4i_ss_des3_setkey()
/Linux-v5.4/drivers/crypto/
Dgeode-aes.c136 op->fallback.cip->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in geode_setkey_cip()
137 op->fallback.cip->base.crt_flags |= (tfm->crt_flags & CRYPTO_TFM_REQ_MASK); in geode_setkey_cip()
169 op->fallback.blk->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in geode_setkey_blk()
170 op->fallback.blk->base.crt_flags |= (tfm->crt_flags & CRYPTO_TFM_REQ_MASK); in geode_setkey_blk()
Dpicoxcell_crypto.c464 crypto_aead_clear_flags(ctx->sw_cipher, CRYPTO_TFM_REQ_MASK); in spacc_aead_setkey()
466 CRYPTO_TFM_REQ_MASK); in spacc_aead_setkey()
802 CRYPTO_TFM_REQ_MASK); in spacc_aes_setkey()
805 CRYPTO_TFM_REQ_MASK); in spacc_aes_setkey()
Dmxs-dcp.c513 crypto_sync_skcipher_clear_flags(actx->fallback, CRYPTO_TFM_REQ_MASK); in mxs_dcp_aes_setkey()
515 tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK); in mxs_dcp_aes_setkey()
Domap-aes.c563 crypto_sync_skcipher_clear_flags(ctx->fallback, CRYPTO_TFM_REQ_MASK); in omap_aes_setkey()
565 CRYPTO_TFM_REQ_MASK); in omap_aes_setkey()
/Linux-v5.4/arch/x86/crypto/
Dghash-clmulni-intel_glue.c262 crypto_ahash_clear_flags(child, CRYPTO_TFM_REQ_MASK); in ghash_async_setkey()
264 & CRYPTO_TFM_REQ_MASK); in ghash_async_setkey()
/Linux-v5.4/arch/s390/crypto/
Daes_s390.c77 sctx->fallback.cip->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in setkey_fallback_cip()
79 CRYPTO_TFM_REQ_MASK); in setkey_fallback_cip()
188 CRYPTO_TFM_REQ_MASK); in setkey_fallback_blk()
190 CRYPTO_TFM_REQ_MASK); in setkey_fallback_blk()
457 CRYPTO_TFM_REQ_MASK); in xts_fallback_setkey()
459 CRYPTO_TFM_REQ_MASK); in xts_fallback_setkey()
/Linux-v5.4/drivers/crypto/amcc/
Dcrypto4xx_alg.c298 CRYPTO_TFM_REQ_MASK); in crypto4xx_sk_setup_fallback()
300 crypto_skcipher_get_flags(cipher) & CRYPTO_TFM_REQ_MASK); in crypto4xx_sk_setup_fallback()
384 crypto_aead_clear_flags(ctx->sw_cipher.aead, CRYPTO_TFM_REQ_MASK); in crypto4xx_aead_setup_fallback()
386 crypto_aead_get_flags(cipher) & CRYPTO_TFM_REQ_MASK); in crypto4xx_aead_setup_fallback()
/Linux-v5.4/arch/arm/crypto/
Dghash-ce-glue.c301 crypto_ahash_clear_flags(child, CRYPTO_TFM_REQ_MASK); in ghash_async_setkey()
303 & CRYPTO_TFM_REQ_MASK); in ghash_async_setkey()
/Linux-v5.4/drivers/crypto/chelsio/
Dchcr_algo.c878 CRYPTO_TFM_REQ_MASK); in chcr_cipher_fallback_setkey()
880 cipher->base.crt_flags & CRYPTO_TFM_REQ_MASK); in chcr_cipher_fallback_setkey()
3312 crypto_aead_clear_flags(aeadctx->sw_cipher, CRYPTO_TFM_REQ_MASK); in chcr_aead_ccm_setkey()
3314 CRYPTO_TFM_REQ_MASK); in chcr_aead_ccm_setkey()
3336 crypto_aead_clear_flags(aeadctx->sw_cipher, CRYPTO_TFM_REQ_MASK); in chcr_aead_rfc4309_setkey()
3338 CRYPTO_TFM_REQ_MASK); in chcr_aead_rfc4309_setkey()
3360 crypto_aead_clear_flags(aeadctx->sw_cipher, CRYPTO_TFM_REQ_MASK); in chcr_gcm_setkey()
3362 & CRYPTO_TFM_REQ_MASK); in chcr_gcm_setkey()
3430 crypto_aead_clear_flags(aeadctx->sw_cipher, CRYPTO_TFM_REQ_MASK); in chcr_authenc_setkey()
3432 & CRYPTO_TFM_REQ_MASK); in chcr_authenc_setkey()
[all …]

12