Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
85 crypto_cipher_clear_flags(tctx->essiv_cipher, CRYPTO_TFM_REQ_MASK); in essiv_skcipher_setkey()
88 CRYPTO_TFM_REQ_MASK); in essiv_skcipher_setkey()
102 crypto_aead_clear_flags(tctx->u.aead, CRYPTO_TFM_REQ_MASK); in essiv_aead_setkey()
104 CRYPTO_TFM_REQ_MASK); in essiv_aead_setkey()
119 crypto_cipher_clear_flags(tctx->essiv_cipher, CRYPTO_TFM_REQ_MASK); in essiv_aead_setkey()
121 CRYPTO_TFM_REQ_MASK); in essiv_aead_setkey()
Dhctr2.c136 crypto_cipher_clear_flags(tctx->blockcipher, CRYPTO_TFM_REQ_MASK); in hctr2_setkey()
139 CRYPTO_TFM_REQ_MASK); in hctr2_setkey()
144 crypto_skcipher_clear_flags(tctx->xctr, CRYPTO_TFM_REQ_MASK); in hctr2_setkey()
147 CRYPTO_TFM_REQ_MASK); in hctr2_setkey()
159 crypto_shash_clear_flags(tctx->polyval, CRYPTO_TFM_REQ_MASK); in hctr2_setkey()
161 CRYPTO_TFM_REQ_MASK); in hctr2_setkey()
Dadiantum.c132 crypto_skcipher_clear_flags(tctx->streamcipher, CRYPTO_TFM_REQ_MASK); in adiantum_setkey()
135 CRYPTO_TFM_REQ_MASK); in adiantum_setkey()
160 crypto_cipher_clear_flags(tctx->blockcipher, CRYPTO_TFM_REQ_MASK); in adiantum_setkey()
163 CRYPTO_TFM_REQ_MASK); in adiantum_setkey()
174 crypto_shash_clear_flags(tctx->hash, CRYPTO_TFM_REQ_MASK); in adiantum_setkey()
176 CRYPTO_TFM_REQ_MASK); in adiantum_setkey()
Dxts.c61 crypto_cipher_clear_flags(tweak, CRYPTO_TFM_REQ_MASK); in xts_setkey()
63 CRYPTO_TFM_REQ_MASK); in xts_setkey()
70 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in xts_setkey()
72 CRYPTO_TFM_REQ_MASK); in xts_setkey()
Dsimd.c56 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in simd_skcipher_setkey()
58 CRYPTO_TFM_REQ_MASK); in simd_skcipher_setkey()
296 crypto_aead_clear_flags(child, CRYPTO_TFM_REQ_MASK); in simd_aead_setkey()
298 CRYPTO_TFM_REQ_MASK); in simd_aead_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()
77 crypto_skcipher_clear_flags(enc, CRYPTO_TFM_REQ_MASK); in crypto_authenc_esn_setkey()
79 CRYPTO_TFM_REQ_MASK); in crypto_authenc_esn_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()
103 crypto_skcipher_clear_flags(enc, CRYPTO_TFM_REQ_MASK); in crypto_authenc_setkey()
105 CRYPTO_TFM_REQ_MASK); in crypto_authenc_setkey()
Dgcm.c109 crypto_skcipher_clear_flags(ctr, CRYPTO_TFM_REQ_MASK); in crypto_gcm_setkey()
111 CRYPTO_TFM_REQ_MASK); in crypto_gcm_setkey()
137 crypto_ahash_clear_flags(ghash, CRYPTO_TFM_REQ_MASK); in crypto_gcm_setkey()
139 CRYPTO_TFM_REQ_MASK); in crypto_gcm_setkey()
703 crypto_aead_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_rfc4106_setkey()
705 CRYPTO_TFM_REQ_MASK); in crypto_rfc4106_setkey()
911 crypto_aead_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_rfc4543_setkey()
913 CRYPTO_TFM_REQ_MASK); in crypto_rfc4543_setkey()
Dccm.c95 crypto_skcipher_clear_flags(ctr, CRYPTO_TFM_REQ_MASK); in crypto_ccm_setkey()
97 CRYPTO_TFM_REQ_MASK); in crypto_ccm_setkey()
102 crypto_ahash_clear_flags(mac, CRYPTO_TFM_REQ_MASK); in crypto_ccm_setkey()
104 CRYPTO_TFM_REQ_MASK); in crypto_ccm_setkey()
581 crypto_aead_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_rfc4309_setkey()
583 CRYPTO_TFM_REQ_MASK); in crypto_rfc4309_setkey()
Dctr.c184 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_rfc3686_setkey()
186 CRYPTO_TFM_REQ_MASK); in crypto_rfc3686_setkey()
Dlrw.c78 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in lrw_setkey()
80 CRYPTO_TFM_REQ_MASK); in lrw_setkey()
Dcts.c82 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_cts_setkey()
84 CRYPTO_TFM_REQ_MASK); in crypto_cts_setkey()
Dcryptd.c233 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in cryptd_skcipher_setkey()
236 CRYPTO_TFM_REQ_MASK); in cryptd_skcipher_setkey()
458 crypto_shash_clear_flags(child, CRYPTO_TFM_REQ_MASK); in cryptd_hash_setkey()
460 CRYPTO_TFM_REQ_MASK); in cryptd_hash_setkey()
/linux-6.1.9/drivers/crypto/
Dgeode-aes.c129 tctx->fallback.cip->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in geode_setkey_cip()
131 (tfm->crt_flags & CRYPTO_TFM_REQ_MASK); in geode_setkey_cip()
156 CRYPTO_TFM_REQ_MASK); in geode_setkey_skcipher()
159 CRYPTO_TFM_REQ_MASK); in geode_setkey_skcipher()
/linux-6.1.9/drivers/crypto/allwinner/sun4i-ss/
Dsun4i-ss-cipher.c600 crypto_skcipher_clear_flags(op->fallback_tfm, CRYPTO_TFM_REQ_MASK); in sun4i_ss_aes_setkey()
601 crypto_skcipher_set_flags(op->fallback_tfm, tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK); in sun4i_ss_aes_setkey()
620 crypto_skcipher_clear_flags(op->fallback_tfm, CRYPTO_TFM_REQ_MASK); in sun4i_ss_des_setkey()
621 crypto_skcipher_set_flags(op->fallback_tfm, tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK); in sun4i_ss_des_setkey()
640 crypto_skcipher_clear_flags(op->fallback_tfm, CRYPTO_TFM_REQ_MASK); in sun4i_ss_des3_setkey()
641 crypto_skcipher_set_flags(op->fallback_tfm, tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK); in sun4i_ss_des3_setkey()
/linux-6.1.9/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-cipher.c473 crypto_skcipher_clear_flags(op->fallback_tfm, CRYPTO_TFM_REQ_MASK); in sun8i_ce_aes_setkey()
474 crypto_skcipher_set_flags(op->fallback_tfm, tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK); in sun8i_ce_aes_setkey()
495 crypto_skcipher_clear_flags(op->fallback_tfm, CRYPTO_TFM_REQ_MASK); in sun8i_ce_des3_setkey()
496 crypto_skcipher_set_flags(op->fallback_tfm, tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK); in sun8i_ce_des3_setkey()
/linux-6.1.9/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-cipher.c459 crypto_skcipher_clear_flags(op->fallback_tfm, CRYPTO_TFM_REQ_MASK); in sun8i_ss_aes_setkey()
460 crypto_skcipher_set_flags(op->fallback_tfm, tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK); in sun8i_ss_aes_setkey()
482 crypto_skcipher_clear_flags(op->fallback_tfm, CRYPTO_TFM_REQ_MASK); in sun8i_ss_des3_setkey()
483 crypto_skcipher_set_flags(op->fallback_tfm, tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK); in sun8i_ss_des3_setkey()
/linux-6.1.9/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()
181 CRYPTO_TFM_REQ_MASK); in setkey_fallback_skcipher()
184 CRYPTO_TFM_REQ_MASK); in setkey_fallback_skcipher()
383 crypto_skcipher_clear_flags(xts_ctx->fallback, CRYPTO_TFM_REQ_MASK); in xts_fallback_setkey()
386 CRYPTO_TFM_REQ_MASK); in xts_fallback_setkey()
/linux-6.1.9/arch/x86/crypto/
Dghash-clmulni-intel_glue.c259 crypto_ahash_clear_flags(child, CRYPTO_TFM_REQ_MASK); in ghash_async_setkey()
261 & CRYPTO_TFM_REQ_MASK); in ghash_async_setkey()
/linux-6.1.9/drivers/crypto/amcc/
Dcrypto4xx_alg.c293 CRYPTO_TFM_REQ_MASK); in crypto4xx_sk_setup_fallback()
295 crypto_skcipher_get_flags(cipher) & CRYPTO_TFM_REQ_MASK); in crypto4xx_sk_setup_fallback()
371 crypto_aead_clear_flags(ctx->sw_cipher.aead, CRYPTO_TFM_REQ_MASK); in crypto4xx_aead_setup_fallback()
373 crypto_aead_get_flags(cipher) & CRYPTO_TFM_REQ_MASK); in crypto4xx_aead_setup_fallback()
/linux-6.1.9/arch/arm/crypto/
Dghash-ce-glue.c295 crypto_ahash_clear_flags(child, CRYPTO_TFM_REQ_MASK); in ghash_async_setkey()
297 & CRYPTO_TFM_REQ_MASK); in ghash_async_setkey()
/linux-6.1.9/drivers/crypto/gemini/
Dsl3516-ce-cipher.c385 crypto_skcipher_clear_flags(op->fallback_tfm, CRYPTO_TFM_REQ_MASK); in sl3516_ce_aes_setkey()
386 crypto_skcipher_set_flags(op->fallback_tfm, tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK); in sl3516_ce_aes_setkey()
/linux-6.1.9/drivers/crypto/xilinx/
Dzynqmp-aes-gcm.c263 tfm_ctx->fbk_cipher->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in zynqmp_aes_aead_setkey()
265 CRYPTO_TFM_REQ_MASK); in zynqmp_aes_aead_setkey()
/linux-6.1.9/drivers/crypto/aspeed/
Daspeed-hace-crypto.c446 crypto_skcipher_clear_flags(ctx->fallback_tfm, CRYPTO_TFM_REQ_MASK); in aspeed_des_setkey()
448 CRYPTO_TFM_REQ_MASK); in aspeed_des_setkey()
634 crypto_skcipher_clear_flags(ctx->fallback_tfm, CRYPTO_TFM_REQ_MASK); in aspeed_aes_setkey()
636 CRYPTO_TFM_REQ_MASK); in aspeed_aes_setkey()
/linux-6.1.9/drivers/crypto/keembay/
Dkeembay-ocs-aes-core.c198 CRYPTO_TFM_REQ_MASK); in kmb_ocs_sk_set_key()
201 CRYPTO_TFM_REQ_MASK); in kmb_ocs_sk_set_key()
219 crypto_aead_clear_flags(tctx->sw_cipher.aead, CRYPTO_TFM_REQ_MASK); in kmb_ocs_aead_set_key()
221 crypto_aead_get_flags(tfm) & CRYPTO_TFM_REQ_MASK); in kmb_ocs_aead_set_key()

12