Home
last modified time | relevance | path

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

/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 Dqcom-rng.c154 struct qcom_rng_ctx *ctx = crypto_tfm_ctx(tfm); in qcom_rng_init()
H A Dpadlock-aes.c99 return aes_ctx_common(crypto_tfm_ctx(tfm)); in aes_ctx()
/linux/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss-prng.c42 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 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/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()
/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/gemini/
H A Dsl3516-ce-cipher.c316 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 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.c376 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 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()
/linux/drivers/crypto/bcm/
H A Dcipher.c2576 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 Dotx_cptvf_algs.c240 struct otx_cpt_enc_ctx *ctx = crypto_tfm_ctx(tfm); in create_ctx_hdr()