Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/crypto/
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dlrw.c78 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in lrw_setkey()
80 CRYPTO_TFM_REQ_MASK); in lrw_setkey()
H A Dctr.c184 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_rfc3686_setkey()
186 CRYPTO_TFM_REQ_MASK); in crypto_rfc3686_setkey()
H A Dcts.c82 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_cts_setkey()
84 CRYPTO_TFM_REQ_MASK); in crypto_cts_setkey()
H A Dcryptd.c232 crypto_sync_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in cryptd_skcipher_setkey()
235 CRYPTO_TFM_REQ_MASK); in cryptd_skcipher_setkey()
456 crypto_shash_clear_flags(child, CRYPTO_TFM_REQ_MASK); in cryptd_hash_setkey()
458 CRYPTO_TFM_REQ_MASK); in cryptd_hash_setkey()
H A Dchacha20poly1305.c485 crypto_skcipher_clear_flags(ctx->chacha, CRYPTO_TFM_REQ_MASK); in chachapoly_setkey()
487 CRYPTO_TFM_REQ_MASK); in chachapoly_setkey()
/OK3568_Linux_fs/kernel/drivers/crypto/
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/drivers/crypto/allwinner/sun4i-ss/
H A 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()
/OK3568_Linux_fs/kernel/drivers/crypto/allwinner/sun8i-ss/
H A 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()
/OK3568_Linux_fs/kernel/drivers/crypto/allwinner/sun8i-ce/
H A 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()
/OK3568_Linux_fs/kernel/arch/s390/crypto/
H A 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()
/OK3568_Linux_fs/kernel/drivers/crypto/amcc/
H A 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()
/OK3568_Linux_fs/kernel/arch/x86/crypto/
H A 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()
/OK3568_Linux_fs/kernel/arch/arm/crypto/
H A 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()
/OK3568_Linux_fs/kernel/drivers/crypto/xilinx/
H A 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()
/OK3568_Linux_fs/kernel/drivers/crypto/chelsio/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/crypto/inside-secure/
H A Dsafexcel_hash.c2094 crypto_cipher_clear_flags(ctx->kaes, CRYPTO_TFM_REQ_MASK); in safexcel_xcbcmac_setkey()
2096 CRYPTO_TFM_REQ_MASK); in safexcel_xcbcmac_setkey()
2110 crypto_cipher_clear_flags(ctx->kaes, CRYPTO_TFM_REQ_MASK); in safexcel_xcbcmac_setkey()
2112 CRYPTO_TFM_REQ_MASK); in safexcel_xcbcmac_setkey()
2194 crypto_cipher_clear_flags(ctx->kaes, CRYPTO_TFM_REQ_MASK); in safexcel_cmac_setkey()
2196 CRYPTO_TFM_REQ_MASK); in safexcel_cmac_setkey()

12