/openbmc/linux/crypto/ |
H A D | essiv.c | 73 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 D | hctr2.c | 136 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 D | adiantum.c | 132 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 D | xts.c | 61 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 D | simd.c | 56 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 D | authencesn.c | 70 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 D | authenc.c | 96 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 D | gcm.c | 109 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 D | ccm.c | 95 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 D | ctr.c | 184 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_rfc3686_setkey() 186 CRYPTO_TFM_REQ_MASK); in crypto_rfc3686_setkey()
|
H A D | lrw.c | 78 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in lrw_setkey() 80 CRYPTO_TFM_REQ_MASK); in lrw_setkey()
|
H A D | cts.c | 82 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_cts_setkey() 84 CRYPTO_TFM_REQ_MASK); in crypto_cts_setkey()
|
H A D | cryptd.c | 233 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 D | geode-aes.c | 129 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 D | sun4i-ss-cipher.c | 600 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 D | sun8i-ss-cipher.c | 460 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 D | sun8i-ce-cipher.c | 484 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 D | aes_s390.c | 77 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 D | ghash-clmulni-intel_glue.c | 278 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 D | crypto4xx_alg.c | 293 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 D | zynqmp-aes-gcm.c | 266 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 D | sl3516-ce-cipher.c | 385 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 D | aspeed-hace-crypto.c | 457 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 D | crypto.h | 134 #define CRYPTO_TFM_REQ_MASK 0x000fff00 macro
|
/openbmc/linux/drivers/crypto/intel/keembay/ |
H A D | keembay-ocs-aes-core.c | 195 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()
|