Home
last modified time | relevance | path

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

123456

/linux-6.15/crypto/
H A Ddes_generic.c22 struct des_ctx *dctx = crypto_tfm_ctx(tfm); in des_setkey()
39 const struct des_ctx *dctx = crypto_tfm_ctx(tfm); in crypto_des_encrypt()
46 const struct des_ctx *dctx = crypto_tfm_ctx(tfm); in crypto_des_decrypt()
54 struct des3_ede_ctx *dctx = crypto_tfm_ctx(tfm); in des3_ede_setkey()
72 const struct des3_ede_ctx *dctx = crypto_tfm_ctx(tfm); in crypto_des3_ede_encrypt()
80 const struct des3_ede_ctx *dctx = crypto_tfm_ctx(tfm); in crypto_des3_ede_decrypt()
H A Dtea.c45 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in tea_setkey()
60 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in tea_encrypt()
86 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in tea_decrypt()
113 struct xtea_ctx *ctx = crypto_tfm_ctx(tfm); in xtea_setkey()
128 struct xtea_ctx *ctx = crypto_tfm_ctx(tfm); in xtea_encrypt()
146 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in xtea_decrypt()
168 struct xtea_ctx *ctx = crypto_tfm_ctx(tfm); in xeta_encrypt()
186 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in xeta_decrypt()
H A Dsm4_generic.c34 struct sm4_ctx *ctx = crypto_tfm_ctx(tfm); in sm4_setkey()
43 const struct sm4_ctx *ctx = crypto_tfm_ctx(tfm); in sm4_encrypt()
52 const struct sm4_ctx *ctx = crypto_tfm_ctx(tfm); in sm4_decrypt()
H A Daes_ti.c15 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aesti_set_key()
22 const struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aesti_encrypt()
38 const struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aesti_decrypt()
H A Dkhazad.c759 struct khazad_ctx *ctx = crypto_tfm_ctx(tfm); in khazad_setkey()
835 struct khazad_ctx *ctx = crypto_tfm_ctx(tfm); in khazad_encrypt()
841 struct khazad_ctx *ctx = crypto_tfm_ctx(tfm); in khazad_decrypt()
H A Danubis.c465 struct anubis_ctx *ctx = crypto_tfm_ctx(tfm); in anubis_setkey()
659 struct anubis_ctx *ctx = crypto_tfm_ctx(tfm); in anubis_encrypt()
665 struct anubis_ctx *ctx = crypto_tfm_ctx(tfm); in anubis_decrypt()
/linux-6.15/arch/powerpc/crypto/
H A Daes.c32 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_init()
53 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_exit()
65 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_setkey()
83 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_encrypt()
100 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_decrypt()
H A Dghash.c58 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(crypto_shash_tfm(tfm)); in p8_ghash_setkey()
121 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(crypto_shash_tfm(desc->tfm)); in p8_ghash_update()
156 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(crypto_shash_tfm(desc->tfm)); in p8_ghash_final()
/linux-6.15/drivers/crypto/inside-secure/
H A Dsafexcel_cipher.c375 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_skcipher_aes_setkey()
406 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_aead_setkey()
1099 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_cipher_exit_inv()
1104 ctx = crypto_tfm_ctx(base->tfm); in safexcel_cipher_exit_inv()
1208 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_skcipher_cra_init()
1227 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_cipher_cra_exit()
1241 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_skcipher_cra_exit()
1261 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_aead_cra_exit()
1281 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_skcipher_aes_ecb_cra_init()
1319 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_skcipher_aes_cbc_cra_init()
[all …]
/linux-6.15/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()
43 const struct sm4_ctx *ctx = crypto_tfm_ctx(tfm); in sm4_ce_decrypt()
H A Daes-cipher-glue.c17 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_arm64_encrypt()
25 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_arm64_decrypt()
H A Daes-ce-glue.c48 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_cipher_encrypt()
62 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_cipher_decrypt()
145 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in ce_aes_setkey()
/linux-6.15/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-6.15/drivers/crypto/inside-secure/eip93/
H A Deip93-cipher.c22 struct eip93_crypto_ctx *ctx = crypto_tfm_ctx(async->tfm); in eip93_skcipher_handle_result()
52 struct eip93_crypto_ctx *ctx = crypto_tfm_ctx(tfm); in eip93_skcipher_cra_init()
73 struct eip93_crypto_ctx *ctx = crypto_tfm_ctx(tfm); in eip93_skcipher_cra_exit()
84 struct eip93_crypto_ctx *ctx = crypto_tfm_ctx(tfm); in eip93_skcipher_setkey()
140 struct eip93_crypto_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in eip93_skcipher_crypt()
189 struct eip93_crypto_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in eip93_skcipher_decrypt()
H A Deip93-aead.c32 struct eip93_crypto_ctx *ctx = crypto_tfm_ctx(async->tfm); in eip93_aead_handle_result()
61 struct eip93_crypto_ctx *ctx = crypto_tfm_ctx(tfm); in eip93_aead_cra_init()
82 struct eip93_crypto_ctx *ctx = crypto_tfm_ctx(tfm); in eip93_aead_cra_exit()
93 struct eip93_crypto_ctx *ctx = crypto_tfm_ctx(tfm); in eip93_aead_setkey()
164 struct eip93_crypto_ctx *ctx = crypto_tfm_ctx(tfm); in eip93_aead_setauthsize()
190 struct eip93_crypto_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in eip93_aead_crypt()
218 struct eip93_crypto_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in eip93_aead_encrypt()
238 struct eip93_crypto_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in eip93_aead_decrypt()
/linux-6.15/arch/x86/crypto/
H A Dtwofish_glue.c56 twofish_enc_blk(crypto_tfm_ctx(tfm), dst, src); in twofish_encrypt()
61 twofish_dec_blk(crypto_tfm_ctx(tfm), dst, src); in twofish_decrypt()
/linux-6.15/arch/arm/crypto/
H A Daes-cipher-glue.c19 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_arm_encrypt()
27 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_arm_decrypt()
/linux-6.15/arch/sparc/crypto/
H A Ddes_glue.c48 struct des_sparc64_ctx *dctx = crypto_tfm_ctx(tfm); in des_set_key()
76 struct des_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); in sparc_des_encrypt()
84 struct des_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); in sparc_des_decrypt()
184 struct des3_ede_sparc64_ctx *dctx = crypto_tfm_ctx(tfm); in des3_ede_set_key()
225 struct des3_ede_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); in sparc_des3_ede_encrypt()
233 struct des3_ede_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); in sparc_des3_ede_decrypt()
/linux-6.15/arch/s390/crypto/
H A Ddes_s390.c38 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); in des_setkey()
57 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); in s390_des_encrypt()
64 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); in s390_des_decrypt()
203 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); in des3_setkey()
222 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); in des3_encrypt()
229 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); in des3_decrypt()
/linux-6.15/drivers/crypto/amcc/
H A Dcrypto4xx_alg.c371 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(tfm); in crypto4xx_setkey_aes_ccm()
429 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in crypto4xx_crypt_aes_ccm()
473 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(tfm); in crypto4xx_setauthsize_aead()
517 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(tfm); in crypto4xx_setkey_aes_gcm()
576 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in crypto4xx_crypt_aes_gcm()
616 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(tfm); in crypto4xx_hash_alg_init()
654 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in crypto4xx_hash_init()
670 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in crypto4xx_hash_update()
689 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in crypto4xx_hash_digest()
/linux-6.15/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()
/linux-6.15/drivers/crypto/nx/
H A Dnx-aes-ccm.c27 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&tfm->base); in ccm_aes_nx_set_key()
57 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&tfm->base); in ccm4309_aes_nx_set_key()
328 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); in ccm_nx_decrypt()
405 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); in ccm_nx_encrypt()
475 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); in ccm4309_aes_nx_encrypt()
499 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); in ccm4309_aes_nx_decrypt()
H A Dnx-aes-xcbc.c61 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); in nx_xcbc_empty()
140 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); in nx_crypto_ctx_aes_xcbc_init2()
170 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); in nx_xcbc_update()
295 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); in nx_xcbc_final()
/linux-6.15/drivers/crypto/ccree/
H A Dcc_cipher.c66 struct cc_cipher_ctx *ctx_p = crypto_tfm_ctx(tfm); in cc_key_type()
156 struct cc_cipher_ctx *ctx_p = crypto_tfm_ctx(tfm); in cc_cipher_init()
239 struct cc_cipher_ctx *ctx_p = crypto_tfm_ctx(tfm); in cc_cipher_exit()
243 crypto_tfm_ctx(tfm), crypto_tfm_alg_name(tfm)); in cc_cipher_exit()
299 struct cc_cipher_ctx *ctx_p = crypto_tfm_ctx(tfm); in cc_cipher_sethkey()
399 struct cc_cipher_ctx *ctx_p = crypto_tfm_ctx(tfm); in cc_cipher_setkey()
509 struct cc_cipher_ctx *ctx_p = crypto_tfm_ctx(tfm); in cc_setup_readiv_desc()
566 struct cc_cipher_ctx *ctx_p = crypto_tfm_ctx(tfm); in cc_setup_state_desc()
610 struct cc_cipher_ctx *ctx_p = crypto_tfm_ctx(tfm); in cc_setup_xex_state_desc()
687 struct cc_cipher_ctx *ctx_p = crypto_tfm_ctx(tfm); in cc_setup_key_desc()
[all …]
/linux-6.15/drivers/crypto/xilinx/
H A Dzynqmp-aes-gcm.c246 (struct zynqmp_aead_tfm_ctx *)crypto_tfm_ctx(tfm); in zynqmp_aes_aead_setkey()
278 (struct zynqmp_aead_tfm_ctx *)crypto_tfm_ctx(tfm); in zynqmp_aes_aead_setauthsize()
314 (struct zynqmp_aead_tfm_ctx *)crypto_tfm_ctx(tfm); in zynqmp_aes_aead_init()
342 (struct zynqmp_aead_tfm_ctx *)crypto_tfm_ctx(tfm); in zynqmp_aes_aead_exit()

123456