Home
last modified time | relevance | path

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

12

/linux/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 Dhctr2.c103 crypto_cipher_clear_flags(tctx->blockcipher, CRYPTO_TFM_REQ_MASK); in hctr2_setkey()
106 CRYPTO_TFM_REQ_MASK); in hctr2_setkey()
111 crypto_skcipher_clear_flags(tctx->xctr, CRYPTO_TFM_REQ_MASK); in hctr2_setkey()
114 CRYPTO_TFM_REQ_MASK); in hctr2_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 Dauthenc.c94 crypto_ahash_clear_flags(auth, CRYPTO_TFM_REQ_MASK); in crypto_authenc_setkey()
96 CRYPTO_TFM_REQ_MASK); in crypto_authenc_setkey()
101 crypto_skcipher_clear_flags(enc, CRYPTO_TFM_REQ_MASK); in crypto_authenc_setkey()
103 CRYPTO_TFM_REQ_MASK); in crypto_authenc_setkey()
H A Dauthencesn.c68 crypto_ahash_clear_flags(auth, CRYPTO_TFM_REQ_MASK); in crypto_authenc_esn_setkey()
70 CRYPTO_TFM_REQ_MASK); in crypto_authenc_esn_setkey()
75 crypto_skcipher_clear_flags(enc, CRYPTO_TFM_REQ_MASK); in crypto_authenc_esn_setkey()
77 CRYPTO_TFM_REQ_MASK); in crypto_authenc_esn_setkey()
H A Dkrb5enc.c112 crypto_ahash_clear_flags(auth, CRYPTO_TFM_REQ_MASK); in krb5enc_setkey()
113 crypto_ahash_set_flags(auth, flags & CRYPTO_TFM_REQ_MASK); in krb5enc_setkey()
118 crypto_skcipher_clear_flags(enc, CRYPTO_TFM_REQ_MASK); in krb5enc_setkey()
119 crypto_skcipher_set_flags(enc, flags & CRYPTO_TFM_REQ_MASK); in krb5enc_setkey()
H A Dgcm.c85 crypto_skcipher_clear_flags(ctr, CRYPTO_TFM_REQ_MASK); in crypto_gcm_setkey()
87 CRYPTO_TFM_REQ_MASK); in crypto_gcm_setkey()
451 crypto_aead_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_rfc4106_setkey()
453 CRYPTO_TFM_REQ_MASK); in crypto_rfc4106_setkey()
659 crypto_aead_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_rfc4543_setkey()
661 CRYPTO_TFM_REQ_MASK); in crypto_rfc4543_setkey()
H A Dccm.c92 crypto_skcipher_clear_flags(ctr, CRYPTO_TFM_REQ_MASK); in crypto_ccm_setkey()
94 CRYPTO_TFM_REQ_MASK); in crypto_ccm_setkey()
99 crypto_ahash_clear_flags(mac, CRYPTO_TFM_REQ_MASK); in crypto_ccm_setkey()
101 CRYPTO_TFM_REQ_MASK); in crypto_ccm_setkey()
575 crypto_aead_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_rfc4309_setkey()
577 CRYPTO_TFM_REQ_MASK); in crypto_rfc4309_setkey()
H A Dadiantum.c120 crypto_skcipher_clear_flags(tctx->streamcipher, CRYPTO_TFM_REQ_MASK); in adiantum_setkey()
123 CRYPTO_TFM_REQ_MASK); in adiantum_setkey()
148 crypto_cipher_clear_flags(tctx->blockcipher, CRYPTO_TFM_REQ_MASK); in adiantum_setkey()
151 CRYPTO_TFM_REQ_MASK); in adiantum_setkey()
H A Decb.c62 crypto_cipher_clear_flags(cipher, CRYPTO_TFM_REQ_MASK); in lskcipher_setkey_simple2()
64 CRYPTO_TFM_REQ_MASK); in lskcipher_setkey_simple2()
H A Dsimd.c53 crypto_aead_clear_flags(child, CRYPTO_TFM_REQ_MASK); in simd_aead_setkey()
55 CRYPTO_TFM_REQ_MASK); in simd_aead_setkey()
H A Dskcipher.c408 crypto_lskcipher_clear_flags(*ctx, CRYPTO_TFM_REQ_MASK); in crypto_skcipher_setkey()
411 CRYPTO_TFM_REQ_MASK); in crypto_skcipher_setkey()
783 crypto_cipher_clear_flags(cipher, CRYPTO_TFM_REQ_MASK); in skcipher_setkey_simple()
785 CRYPTO_TFM_REQ_MASK); in skcipher_setkey_simple()
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 Dlrw.c78 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in lrw_setkey()
80 CRYPTO_TFM_REQ_MASK); in lrw_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()
/linux/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()
/linux/drivers/crypto/allwinner/sun4i-ss/
H A 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/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce-cipher.c486 crypto_skcipher_clear_flags(op->fallback_tfm, CRYPTO_TFM_REQ_MASK); in sun8i_ce_aes_setkey()
487 crypto_skcipher_set_flags(op->fallback_tfm, tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK); in sun8i_ce_aes_setkey()
508 crypto_skcipher_clear_flags(op->fallback_tfm, CRYPTO_TFM_REQ_MASK); in sun8i_ce_des3_setkey()
509 crypto_skcipher_set_flags(op->fallback_tfm, tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK); in sun8i_ce_des3_setkey()
/linux/drivers/crypto/allwinner/sun8i-ss/
H A 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/drivers/crypto/amcc/
H A Dcrypto4xx_alg.c276 CRYPTO_TFM_REQ_MASK); in crypto4xx_sk_setup_fallback()
278 crypto_skcipher_get_flags(cipher) & CRYPTO_TFM_REQ_MASK); in crypto4xx_sk_setup_fallback()
354 crypto_aead_clear_flags(ctx->sw_cipher.aead, CRYPTO_TFM_REQ_MASK); in crypto4xx_aead_setup_fallback()
356 crypto_aead_get_flags(cipher) & CRYPTO_TFM_REQ_MASK); in crypto4xx_aead_setup_fallback()
/linux/drivers/crypto/ti/
H A Ddthev2-aes.c189 crypto_sync_skcipher_clear_flags(ctx->skcipher_fb, CRYPTO_TFM_REQ_MASK); in dthe_aes_ctr_setkey()
192 CRYPTO_TFM_REQ_MASK); in dthe_aes_ctr_setkey()
210 crypto_sync_skcipher_clear_flags(ctx->skcipher_fb, CRYPTO_TFM_REQ_MASK); in dthe_aes_xts_setkey()
213 CRYPTO_TFM_REQ_MASK); in dthe_aes_xts_setkey()
775 crypto_sync_aead_clear_flags(ctx->aead_fb, CRYPTO_TFM_REQ_MASK); in dthe_aead_setkey()
778 CRYPTO_TFM_REQ_MASK); in dthe_aead_setkey()
/linux/drivers/crypto/aspeed/
H A Daspeed-hace-crypto.c457 crypto_skcipher_clear_flags(ctx->fallback_tfm, CRYPTO_TFM_REQ_MASK); in aspeed_des_setkey()
459 CRYPTO_TFM_REQ_MASK); in aspeed_des_setkey()
597 crypto_skcipher_clear_flags(ctx->fallback_tfm, CRYPTO_TFM_REQ_MASK); in aspeed_aes_setkey()
599 CRYPTO_TFM_REQ_MASK); in aspeed_aes_setkey()
/linux/drivers/crypto/xilinx/
H A Dzynqmp-aes-gcm.c457 tfm_ctx->fbk_cipher->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in zynqmp_aes_aead_setkey()
459 CRYPTO_TFM_REQ_MASK); in zynqmp_aes_aead_setkey()
528 tfm_ctx->fbk_cipher->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in versal_aes_aead_setkey()
530 CRYPTO_TFM_REQ_MASK); in versal_aes_aead_setkey()
/linux/drivers/crypto/gemini/
H A 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/arch/s390/crypto/
H A Daes_s390.c79 CRYPTO_TFM_REQ_MASK); in setkey_fallback_skcipher()
82 CRYPTO_TFM_REQ_MASK); in setkey_fallback_skcipher()
281 crypto_skcipher_clear_flags(xts_ctx->fallback, CRYPTO_TFM_REQ_MASK); in xts_fallback_setkey()
284 CRYPTO_TFM_REQ_MASK); in xts_fallback_setkey()

12