| /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 | qcom-rng.c | 154 struct qcom_rng_ctx *ctx = crypto_tfm_ctx(tfm); in qcom_rng_init()
|
| H A D | padlock-aes.c | 99 return aes_ctx_common(crypto_tfm_ctx(tfm)); in aes_ctx()
|
| /linux/drivers/crypto/allwinner/sun8i-ss/ |
| H A D | sun8i-ss-prng.c | 42 struct sun8i_ss_rng_tfm_ctx *ctx = crypto_tfm_ctx(tfm); in sun8i_ss_prng_init() 50 struct sun8i_ss_rng_tfm_ctx *ctx = crypto_tfm_ctx(tfm); in sun8i_ss_prng_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/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()
|
| /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/gemini/ |
| H A D | sl3516-ce-cipher.c | 316 struct sl3516_ce_cipher_tfm_ctx *op = crypto_tfm_ctx(tfm); in sl3516_ce_cipher_init() 355 struct sl3516_ce_cipher_tfm_ctx *op = crypto_tfm_ctx(tfm); in sl3516_ce_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 | 376 struct tegra_aes_ctx *ctx = crypto_tfm_ctx(&tfm->base); in tegra_aes_cra_exit() 1430 struct tegra_aead_ctx *ctx = crypto_tfm_ctx(&tfm->base); in tegra_aead_cra_exit() 1784 struct tegra_cmac_ctx *ctx = crypto_tfm_ctx(tfm); in tegra_cmac_cra_init() 1815 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()
|
| /linux/drivers/crypto/bcm/ |
| H A D | cipher.c | 2576 struct iproc_ctx_s *ctx = crypto_tfm_ctx(tfm); in aead_do_fallback() 4089 struct iproc_ctx_s *ctx = crypto_tfm_ctx(tfm); in generic_cra_init() 4152 struct iproc_ctx_s *ctx = crypto_tfm_ctx(tfm); in aead_cra_init() 4209 struct iproc_ctx_s *ctx = crypto_tfm_ctx(tfm); in aead_cra_exit()
|
| /linux/drivers/crypto/marvell/octeontx/ |
| H A D | otx_cptvf_algs.c | 240 struct otx_cpt_enc_ctx *ctx = crypto_tfm_ctx(tfm); in create_ctx_hdr()
|