| /linux/arch/arm64/crypto/ |
| H A D | sm4-ce-cipher-glue.c | 23 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 D | sm4-riscv64-glue.c | 30 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 D | geode-aes.c | 113 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 D | atmel-sha.c | 1077 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 D | hifn_795x.c | 1508 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 D | img-hash.c | 672 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 D | padlock-aes.c | 99 return aes_ctx_common(crypto_tfm_ctx(tfm)); in aes_ctx()
|
| /linux/drivers/crypto/xilinx/ |
| H A D | zynqmp-aes-gcm.c | 446 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 D | rng.h | 31 return crypto_tfm_ctx(&tfm->base); in crypto_rng_ctx()
|
| H A D | kpp.h | 78 return crypto_tfm_ctx(&tfm->base); in kpp_tfm_ctx()
|
| H A D | aead.h | 39 return crypto_tfm_ctx(&tfm->base); in crypto_aead_ctx()
|
| /linux/include/crypto/ |
| H A D | algapi.h | 185 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 D | zip_crypto.c | 349 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 D | keembay-ocs-hcu-core.c | 839 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 D | crc32.c | 24 u32 *key = crypto_tfm_ctx(tfm); in crc32_cra_init()
|
| H A D | twofish_common.c | 688 return __twofish_setkey(crypto_tfm_ctx(tfm), key, key_len); in twofish_setkey()
|
| H A D | ccm.c | 830 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 D | safexcel_hash.c | 622 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 D | amlogic-gxl-cipher.c | 312 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 D | sun4i-ss-hash.c | 20 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 D | sun4i-ss-cipher.c | 536 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 D | tegra-se-aes.c | 375 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 D | tegra-se-hash.c | 585 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 D | nitrox_skcipher.c | 170 struct nitrox_crypto_ctx *nctx = crypto_tfm_ctx(tfm); in nitrox_skcipher_setkey()
|
| /linux/drivers/crypto/rockchip/ |
| H A D | rk3288_crypto_skcipher.c | 112 struct rk_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in rk_aes_setkey()
|