Home
last modified time | relevance | path

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

12

/openbmc/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.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()
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()
274 crypto_aead_clear_flags(child, CRYPTO_TFM_REQ_MASK); in simd_aead_setkey()
276 CRYPTO_TFM_REQ_MASK); in simd_aead_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 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()
701 crypto_aead_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_rfc4106_setkey()
703 CRYPTO_TFM_REQ_MASK); in crypto_rfc4106_setkey()
909 crypto_aead_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_rfc4543_setkey()
911 CRYPTO_TFM_REQ_MASK); in crypto_rfc4543_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()
580 crypto_aead_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_rfc4309_setkey()
582 CRYPTO_TFM_REQ_MASK); in crypto_rfc4309_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 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()
H A Dcryptd.c233 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in cryptd_skcipher_setkey()
236 CRYPTO_TFM_REQ_MASK); in cryptd_skcipher_setkey()
477 crypto_shash_clear_flags(child, CRYPTO_TFM_REQ_MASK); in cryptd_hash_setkey()
479 CRYPTO_TFM_REQ_MASK); in cryptd_hash_setkey()
/openbmc/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()
/openbmc/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()
/openbmc/linux/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss-cipher.c460 crypto_skcipher_clear_flags(op->fallback_tfm, CRYPTO_TFM_REQ_MASK); in sun8i_ss_aes_setkey()
461 crypto_skcipher_set_flags(op->fallback_tfm, tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK); in sun8i_ss_aes_setkey()
483 crypto_skcipher_clear_flags(op->fallback_tfm, CRYPTO_TFM_REQ_MASK); in sun8i_ss_des3_setkey()
484 crypto_skcipher_set_flags(op->fallback_tfm, tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK); in sun8i_ss_des3_setkey()
/openbmc/linux/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce-cipher.c484 crypto_skcipher_clear_flags(op->fallback_tfm, CRYPTO_TFM_REQ_MASK); in sun8i_ce_aes_setkey()
485 crypto_skcipher_set_flags(op->fallback_tfm, tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK); in sun8i_ce_aes_setkey()
506 crypto_skcipher_clear_flags(op->fallback_tfm, CRYPTO_TFM_REQ_MASK); in sun8i_ce_des3_setkey()
507 crypto_skcipher_set_flags(op->fallback_tfm, tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK); in sun8i_ce_des3_setkey()
/openbmc/linux/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()
/openbmc/linux/arch/x86/crypto/
H A Dghash-clmulni-intel_glue.c278 crypto_ahash_clear_flags(child, CRYPTO_TFM_REQ_MASK); in ghash_async_setkey()
280 & CRYPTO_TFM_REQ_MASK); in ghash_async_setkey()
/openbmc/linux/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()
/openbmc/linux/drivers/crypto/xilinx/
H A Dzynqmp-aes-gcm.c266 tfm_ctx->fbk_cipher->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in zynqmp_aes_aead_setkey()
268 CRYPTO_TFM_REQ_MASK); in zynqmp_aes_aead_setkey()
/openbmc/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()
/openbmc/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()
645 crypto_skcipher_clear_flags(ctx->fallback_tfm, CRYPTO_TFM_REQ_MASK); in aspeed_aes_setkey()
647 CRYPTO_TFM_REQ_MASK); in aspeed_aes_setkey()
/openbmc/linux/include/linux/
H A Dcrypto.h134 #define CRYPTO_TFM_REQ_MASK 0x000fff00 macro
/openbmc/linux/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-aes-core.c195 CRYPTO_TFM_REQ_MASK); in kmb_ocs_sk_set_key()
198 CRYPTO_TFM_REQ_MASK); in kmb_ocs_sk_set_key()
216 crypto_aead_clear_flags(tctx->sw_cipher.aead, CRYPTO_TFM_REQ_MASK); in kmb_ocs_aead_set_key()
218 crypto_aead_get_flags(tfm) & CRYPTO_TFM_REQ_MASK); in kmb_ocs_aead_set_key()

12