Home
last modified time | relevance | path

Searched refs:crypto_tfm_ctx (Results 1 – 25 of 29) sorted by relevance

12

/linux/arch/arm64/crypto/
H A Dsm4-ce-cipher-glue.c23 struct sm4_ctx *ctx = crypto_tfm_ctx(tfm); in sm4_ce_setkey()
30 const struct sm4_ctx *ctx = crypto_tfm_ctx(tfm); in sm4_ce_encrypt()
42 const struct sm4_ctx *ctx = crypto_tfm_ctx(tfm); in sm4_ce_decrypt()
/linux/arch/riscv/crypto/
H A Dsm4-riscv64-glue.c30 struct sm4_ctx *ctx = crypto_tfm_ctx(tfm); in riscv64_sm4_setkey()
45 const struct sm4_ctx *ctx = crypto_tfm_ctx(tfm); in riscv64_sm4_encrypt()
58 const struct sm4_ctx *ctx = crypto_tfm_ctx(tfm); in riscv64_sm4_decrypt()
/linux/drivers/crypto/
H A Dgeode-aes.c113 struct geode_aes_tfm_ctx *tctx = crypto_tfm_ctx(tfm); in geode_setkey_cip()
166 const struct geode_aes_tfm_ctx *tctx = crypto_tfm_ctx(tfm); in geode_encrypt()
181 const struct geode_aes_tfm_ctx *tctx = crypto_tfm_ctx(tfm); in geode_decrypt()
195 struct geode_aes_tfm_ctx *tctx = crypto_tfm_ctx(tfm); in fallback_init_cip()
210 struct geode_aes_tfm_ctx *tctx = crypto_tfm_ctx(tfm); in fallback_exit_cip()
H A Datmel-sha.c1077 ctx = crypto_tfm_ctx(async_req->tfm); in atmel_sha_handle_queue()
1145 struct atmel_sha_ctx *tctx = crypto_tfm_ctx(req->base.tfm); in atmel_sha_enqueue()
1237 struct atmel_sha_ctx *ctx = crypto_tfm_ctx(tfm); in atmel_sha_cra_init()
2016 struct atmel_sha_hmac_ctx *hmac = crypto_tfm_ctx(tfm); in atmel_sha_hmac_cra_init()
2028 struct atmel_sha_hmac_ctx *hmac = crypto_tfm_ctx(tfm); in atmel_sha_hmac_cra_exit()
H A Dhifn_795x.c1508 struct hifn_context *ctx = crypto_tfm_ctx(req->base.tfm); in hifn_setup_session()
1964 struct hifn_context *ctx = crypto_tfm_ctx(req->base.tfm); in hifn_handle_req()
1985 struct hifn_context *ctx = crypto_tfm_ctx(req->base.tfm); in hifn_setup_crypto_req()
2055 struct hifn_context *ctx = crypto_tfm_ctx(req->base.tfm); in hifn_setup_crypto()
H A Dimg-hash.c672 struct img_hash_ctx *ctx = crypto_tfm_ctx(tfm); in img_hash_cra_init()
710 struct img_hash_ctx *tctx = crypto_tfm_ctx(tfm); in img_hash_cra_exit()
H A Dpadlock-aes.c99 return aes_ctx_common(crypto_tfm_ctx(tfm)); in aes_ctx()
/linux/drivers/crypto/xilinx/
H A Dzynqmp-aes-gcm.c446 struct xilinx_aead_tfm_ctx *tfm_ctx = crypto_tfm_ctx(tfm); in zynqmp_aes_aead_setkey()
473 struct xilinx_aead_tfm_ctx *tfm_ctx = crypto_tfm_ctx(tfm); in zynqmp_paes_aead_setkey()
498 struct xilinx_aead_tfm_ctx *tfm_ctx = crypto_tfm_ctx(tfm); in versal_aes_aead_setkey()
541 struct xilinx_aead_tfm_ctx *tfm_ctx = crypto_tfm_ctx(tfm); in versal_paes_aead_setkey()
576 struct xilinx_aead_tfm_ctx *tfm_ctx = crypto_tfm_ctx(tfm); in xilinx_aes_aead_setauthsize()
673 struct xilinx_aead_tfm_ctx *tfm_ctx = crypto_tfm_ctx(tfm); in xilinx_paes_aead_init()
717 struct xilinx_aead_tfm_ctx *tfm_ctx = crypto_tfm_ctx(tfm); in xilinx_aes_aead_init()
758 struct xilinx_aead_tfm_ctx *tfm_ctx = crypto_tfm_ctx(tfm); in xilinx_paes_aead_exit()
766 struct xilinx_aead_tfm_ctx *tfm_ctx = crypto_tfm_ctx(tfm); in xilinx_aes_aead_exit()
/linux/include/crypto/internal/
H A Drng.h31 return crypto_tfm_ctx(&tfm->base); in crypto_rng_ctx()
H A Dkpp.h78 return crypto_tfm_ctx(&tfm->base); in kpp_tfm_ctx()
H A Daead.h39 return crypto_tfm_ctx(&tfm->base); in crypto_aead_ctx()
/linux/include/crypto/
H A Dalgapi.h185 static inline void *crypto_tfm_ctx(struct crypto_tfm *tfm) in crypto_tfm_ctx() function
196 return PTR_ALIGN(crypto_tfm_ctx(tfm), align); in crypto_tfm_ctx_align()
/linux/drivers/crypto/hisilicon/zip/
H A Dzip_crypto.c349 struct hisi_zip_ctx *ctx = crypto_tfm_ctx(acomp_req->base.tfm); in hisi_zip_acompress()
375 struct hisi_zip_ctx *ctx = crypto_tfm_ctx(acomp_req->base.tfm); in hisi_zip_adecompress()
561 struct hisi_zip_ctx *ctx = crypto_tfm_ctx(&tfm->base); in hisi_zip_acomp_init()
600 struct hisi_zip_ctx *ctx = crypto_tfm_ctx(&tfm->base); in hisi_zip_acomp_exit()
/linux/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-hcu-core.c839 struct ocs_hcu_ctx *ctx = crypto_tfm_ctx(tfm); in kmb_ocs_hcu_sha_cra_init()
848 struct ocs_hcu_ctx *ctx = crypto_tfm_ctx(tfm); in kmb_ocs_hcu_sm3_cra_init()
859 struct ocs_hcu_ctx *ctx = crypto_tfm_ctx(tfm); in kmb_ocs_hcu_hmac_sm3_cra_init()
871 struct ocs_hcu_ctx *ctx = crypto_tfm_ctx(tfm); in kmb_ocs_hcu_hmac_cra_init()
883 struct ocs_hcu_ctx *ctx = crypto_tfm_ctx(tfm); in kmb_ocs_hcu_hmac_cra_exit()
/linux/crypto/
H A Dcrc32.c24 u32 *key = crypto_tfm_ctx(tfm); in crc32_cra_init()
H A Dtwofish_common.c688 return __twofish_setkey(crypto_tfm_ctx(tfm), key, key_len); in twofish_setkey()
H A Dccm.c830 struct cbcmac_tfm_ctx *ctx = crypto_tfm_ctx(tfm); in cbcmac_init_tfm()
843 struct cbcmac_tfm_ctx *ctx = crypto_tfm_ctx(tfm); in cbcmac_exit_tfm()
/linux/drivers/crypto/inside-secure/
H A Dsafexcel_hash.c622 struct safexcel_ahash_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_ahash_exit_inv()
638 ctx = crypto_tfm_ctx(req->base.tfm); in safexcel_ahash_exit_inv()
918 struct safexcel_ahash_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_ahash_cra_init()
961 struct safexcel_ahash_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_ahash_cra_exit()
1907 struct safexcel_ahash_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in safexcel_cbcmac_setkey()
1975 struct safexcel_ahash_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in safexcel_xcbcmac_setkey()
2008 struct safexcel_ahash_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_xcbcmac_cra_init()
2017 struct safexcel_ahash_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_xcbcmac_cra_exit()
2058 struct safexcel_ahash_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in safexcel_cmac_setkey()
2405 struct safexcel_ahash_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_sha3_cra_init()
[all …]
/linux/drivers/crypto/amlogic/
H A Damlogic-gxl-cipher.c312 struct meson_cipher_tfm_ctx *op = crypto_tfm_ctx(tfm); in meson_cipher_init()
338 struct meson_cipher_tfm_ctx *op = crypto_tfm_ctx(tfm); in meson_cipher_exit()
/linux/drivers/crypto/allwinner/sun4i-ss/
H A Dsun4i-ss-hash.c20 struct sun4i_tfm_ctx *op = crypto_tfm_ctx(tfm); in sun4i_hash_crainit()
41 struct sun4i_tfm_ctx *op = crypto_tfm_ctx(tfm); in sun4i_hash_craexit()
H A Dsun4i-ss-cipher.c536 struct sun4i_tfm_ctx *op = crypto_tfm_ctx(tfm); in sun4i_ss_cipher_init()
570 struct sun4i_tfm_ctx *op = crypto_tfm_ctx(tfm); in sun4i_ss_cipher_exit()
/linux/drivers/crypto/tegra/
H A Dtegra-se-aes.c375 struct tegra_aes_ctx *ctx = crypto_tfm_ctx(&tfm->base); in tegra_aes_cra_exit()
1417 struct tegra_aead_ctx *ctx = crypto_tfm_ctx(&tfm->base); in tegra_aead_cra_exit()
1771 struct tegra_cmac_ctx *ctx = crypto_tfm_ctx(tfm); in tegra_cmac_cra_init()
1802 struct tegra_cmac_ctx *ctx = crypto_tfm_ctx(tfm); in tegra_cmac_cra_exit()
H A Dtegra-se-hash.c585 struct tegra_sha_ctx *ctx = crypto_tfm_ctx(tfm); in tegra_sha_cra_init()
617 struct tegra_sha_ctx *ctx = crypto_tfm_ctx(tfm); in tegra_sha_cra_exit()
/linux/drivers/crypto/cavium/nitrox/
H A Dnitrox_skcipher.c170 struct nitrox_crypto_ctx *nctx = crypto_tfm_ctx(tfm); in nitrox_skcipher_setkey()
/linux/drivers/crypto/rockchip/
H A Drk3288_crypto_skcipher.c112 struct rk_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in rk_aes_setkey()

12