Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/crypto/
Dessiv.c72 crypto_skcipher_clear_flags(tctx->u.skcipher, CRYPTO_TFM_REQ_MASK); in essiv_skcipher_setkey()
75 CRYPTO_TFM_REQ_MASK); in essiv_skcipher_setkey()
84 crypto_cipher_clear_flags(tctx->essiv_cipher, CRYPTO_TFM_REQ_MASK); in essiv_skcipher_setkey()
87 CRYPTO_TFM_REQ_MASK); in essiv_skcipher_setkey()
101 crypto_aead_clear_flags(tctx->u.aead, CRYPTO_TFM_REQ_MASK); in essiv_aead_setkey()
103 CRYPTO_TFM_REQ_MASK); in essiv_aead_setkey()
118 crypto_cipher_clear_flags(tctx->essiv_cipher, CRYPTO_TFM_REQ_MASK); in essiv_aead_setkey()
120 CRYPTO_TFM_REQ_MASK); in essiv_aead_setkey()
Dadiantum.c131 crypto_skcipher_clear_flags(tctx->streamcipher, CRYPTO_TFM_REQ_MASK); in adiantum_setkey()
134 CRYPTO_TFM_REQ_MASK); in adiantum_setkey()
159 crypto_cipher_clear_flags(tctx->blockcipher, CRYPTO_TFM_REQ_MASK); in adiantum_setkey()
162 CRYPTO_TFM_REQ_MASK); in adiantum_setkey()
173 crypto_shash_clear_flags(tctx->hash, CRYPTO_TFM_REQ_MASK); in adiantum_setkey()
175 CRYPTO_TFM_REQ_MASK); in adiantum_setkey()
Dxts.c60 crypto_cipher_clear_flags(tweak, CRYPTO_TFM_REQ_MASK); in xts_setkey()
62 CRYPTO_TFM_REQ_MASK); in xts_setkey()
69 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in xts_setkey()
71 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()
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()
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()
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.c94 crypto_skcipher_clear_flags(ctr, CRYPTO_TFM_REQ_MASK); in crypto_ccm_setkey()
96 CRYPTO_TFM_REQ_MASK); in crypto_ccm_setkey()
101 crypto_ahash_clear_flags(mac, CRYPTO_TFM_REQ_MASK); in crypto_ccm_setkey()
103 CRYPTO_TFM_REQ_MASK); in crypto_ccm_setkey()
580 crypto_aead_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_rfc4309_setkey()
582 CRYPTO_TFM_REQ_MASK); in crypto_rfc4309_setkey()
Dctr.c183 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_rfc3686_setkey()
185 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()
Dchacha20poly1305.c485 crypto_skcipher_clear_flags(ctx->chacha, CRYPTO_TFM_REQ_MASK); in chachapoly_setkey()
487 CRYPTO_TFM_REQ_MASK); in chachapoly_setkey()
/kernel/linux/linux-5.10/drivers/crypto/
Dgeode-aes.c128 tctx->fallback.cip->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in geode_setkey_cip()
130 (tfm->crt_flags & CRYPTO_TFM_REQ_MASK); in geode_setkey_cip()
155 CRYPTO_TFM_REQ_MASK); in geode_setkey_skcipher()
158 CRYPTO_TFM_REQ_MASK); in geode_setkey_skcipher()
Dpicoxcell_crypto.c465 crypto_aead_clear_flags(ctx->sw_cipher, CRYPTO_TFM_REQ_MASK); in spacc_aead_setkey()
467 CRYPTO_TFM_REQ_MASK); in spacc_aead_setkey()
797 CRYPTO_TFM_REQ_MASK); in spacc_aes_setkey()
800 CRYPTO_TFM_REQ_MASK); in spacc_aes_setkey()
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun4i-ss/
Dsun4i-ss-cipher.c588 crypto_skcipher_clear_flags(op->fallback_tfm, CRYPTO_TFM_REQ_MASK); in sun4i_ss_aes_setkey()
589 crypto_skcipher_set_flags(op->fallback_tfm, tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK); in sun4i_ss_aes_setkey()
608 crypto_skcipher_clear_flags(op->fallback_tfm, CRYPTO_TFM_REQ_MASK); in sun4i_ss_des_setkey()
609 crypto_skcipher_set_flags(op->fallback_tfm, tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK); in sun4i_ss_des_setkey()
628 crypto_skcipher_clear_flags(op->fallback_tfm, CRYPTO_TFM_REQ_MASK); in sun4i_ss_des3_setkey()
629 crypto_skcipher_set_flags(op->fallback_tfm, tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK); in sun4i_ss_des3_setkey()
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-cipher.c441 crypto_skcipher_clear_flags(op->fallback_tfm, CRYPTO_TFM_REQ_MASK); in sun8i_ss_aes_setkey()
442 crypto_skcipher_set_flags(op->fallback_tfm, tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK); in sun8i_ss_aes_setkey()
464 crypto_skcipher_clear_flags(op->fallback_tfm, CRYPTO_TFM_REQ_MASK); in sun8i_ss_des3_setkey()
465 crypto_skcipher_set_flags(op->fallback_tfm, tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK); in sun8i_ss_des3_setkey()
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-cipher.c450 crypto_skcipher_clear_flags(op->fallback_tfm, CRYPTO_TFM_REQ_MASK); in sun8i_ce_aes_setkey()
451 crypto_skcipher_set_flags(op->fallback_tfm, tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK); in sun8i_ce_aes_setkey()
472 crypto_skcipher_clear_flags(op->fallback_tfm, CRYPTO_TFM_REQ_MASK); in sun8i_ce_des3_setkey()
473 crypto_skcipher_set_flags(op->fallback_tfm, tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK); in sun8i_ce_des3_setkey()
/kernel/linux/linux-5.10/arch/s390/crypto/
Daes_s390.c76 sctx->fallback.cip->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in setkey_fallback_cip()
78 CRYPTO_TFM_REQ_MASK); in setkey_fallback_cip()
180 CRYPTO_TFM_REQ_MASK); in setkey_fallback_skcipher()
183 CRYPTO_TFM_REQ_MASK); in setkey_fallback_skcipher()
382 crypto_skcipher_clear_flags(xts_ctx->fallback, CRYPTO_TFM_REQ_MASK); in xts_fallback_setkey()
385 CRYPTO_TFM_REQ_MASK); in xts_fallback_setkey()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/crypto/chelsio/
Dchcr_algo.c927 CRYPTO_TFM_REQ_MASK); in chcr_cipher_fallback_setkey()
929 cipher->base.crt_flags & CRYPTO_TFM_REQ_MASK); in chcr_cipher_fallback_setkey()
3462 crypto_aead_clear_flags(aeadctx->sw_cipher, CRYPTO_TFM_REQ_MASK); in chcr_aead_ccm_setkey()
3464 CRYPTO_TFM_REQ_MASK); in chcr_aead_ccm_setkey()
3481 crypto_aead_clear_flags(aeadctx->sw_cipher, CRYPTO_TFM_REQ_MASK); in chcr_aead_rfc4309_setkey()
3483 CRYPTO_TFM_REQ_MASK); in chcr_aead_rfc4309_setkey()
3502 crypto_aead_clear_flags(aeadctx->sw_cipher, CRYPTO_TFM_REQ_MASK); in chcr_gcm_setkey()
3504 & CRYPTO_TFM_REQ_MASK); in chcr_gcm_setkey()
3567 crypto_aead_clear_flags(aeadctx->sw_cipher, CRYPTO_TFM_REQ_MASK); in chcr_authenc_setkey()
3569 & CRYPTO_TFM_REQ_MASK); in chcr_authenc_setkey()
[all …]
/kernel/linux/linux-5.10/drivers/crypto/inside-secure/
Dsafexcel_hash.c2093 crypto_cipher_clear_flags(ctx->kaes, CRYPTO_TFM_REQ_MASK); in safexcel_xcbcmac_setkey()
2095 CRYPTO_TFM_REQ_MASK); in safexcel_xcbcmac_setkey()
2109 crypto_cipher_clear_flags(ctx->kaes, CRYPTO_TFM_REQ_MASK); in safexcel_xcbcmac_setkey()
2111 CRYPTO_TFM_REQ_MASK); in safexcel_xcbcmac_setkey()
2193 crypto_cipher_clear_flags(ctx->kaes, CRYPTO_TFM_REQ_MASK); in safexcel_cmac_setkey()
2195 CRYPTO_TFM_REQ_MASK); in safexcel_cmac_setkey()

12