Home
last modified time | relevance | path

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

1234

/linux/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 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 D842.c44 struct crypto842_ctx *ctx = crypto_tfm_ctx(tfm); in crypto842_init()
60 struct crypto842_ctx *ctx = crypto_tfm_ctx(tfm); in crypto842_exit()
69 struct crypto842_ctx *ctx = crypto_tfm_ctx(tfm); in crypto842_compress()
H A Dzstd.c126 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); in zstd_init()
145 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); in zstd_exit()
167 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); in zstd_compress()
195 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); in zstd_decompress()
H A Dlz4hc.c31 struct lz4hc_ctx *ctx = crypto_tfm_ctx(tfm); in lz4hc_init()
47 struct lz4hc_ctx *ctx = crypto_tfm_ctx(tfm); in lz4hc_exit()
76 struct lz4hc_ctx *ctx = crypto_tfm_ctx(tfm); in lz4hc_compress_crypto()
H A Dlz4.c32 struct lz4_ctx *ctx = crypto_tfm_ctx(tfm); in lz4_init()
48 struct lz4_ctx *ctx = crypto_tfm_ctx(tfm); in lz4_exit()
76 struct lz4_ctx *ctx = crypto_tfm_ctx(tfm); in lz4_compress_crypto()
H A Dlzo-rle.c31 struct lzorle_ctx *ctx = crypto_tfm_ctx(tfm); in lzorle_init()
47 struct lzorle_ctx *ctx = crypto_tfm_ctx(tfm); in lzorle_exit()
70 struct lzorle_ctx *ctx = crypto_tfm_ctx(tfm); in lzorle_compress()
H A Dlzo.c31 struct lzo_ctx *ctx = crypto_tfm_ctx(tfm); in lzo_init()
47 struct lzo_ctx *ctx = crypto_tfm_ctx(tfm); in lzo_exit()
70 struct lzo_ctx *ctx = crypto_tfm_ctx(tfm); in lzo_compress()
H A Ddeflate.c135 struct deflate_ctx *ctx = crypto_tfm_ctx(tfm); in deflate_init()
154 struct deflate_ctx *ctx = crypto_tfm_ctx(tfm); in deflate_exit()
191 struct deflate_ctx *dctx = crypto_tfm_ctx(tfm); in deflate_compress()
247 struct deflate_ctx *dctx = crypto_tfm_ctx(tfm); in deflate_decompress()
H A Dscompress.c197 struct crypto_scomp **ctx = crypto_tfm_ctx(tfm); in crypto_exit_scomp_ops_async()
211 struct crypto_scomp **ctx = crypto_tfm_ctx(tfm); in crypto_init_scomp_ops_async()
238 struct crypto_scomp **tfm_ctx = crypto_tfm_ctx(tfm); in crypto_acomp_scomp_alloc_ctx()
257 struct crypto_scomp **tfm_ctx = crypto_tfm_ctx(tfm); in crypto_acomp_scomp_free_ctx()
/linux/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()
682 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(base->tfm); in safexcel_send_req()
923 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(base->tfm); in safexcel_handle_inv_result()
1025 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(base->tfm); in safexcel_cipher_send_inv()
1043 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in safexcel_skcipher_send()
1076 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in safexcel_aead_send()
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()
1161 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(base->tfm); in safexcel_queue_req()
[all …]
/linux/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/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-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()
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()
/linux/drivers/crypto/cavium/zip/
H A Dzip_crypto.c201 struct zip_kernel_ctx *zip_ctx = crypto_tfm_ctx(tfm); in zip_alloc_comp_ctx_deflate()
208 struct zip_kernel_ctx *zip_ctx = crypto_tfm_ctx(tfm); in zip_alloc_comp_ctx_lzs()
215 struct zip_kernel_ctx *zip_ctx = crypto_tfm_ctx(tfm); in zip_free_comp_ctx()
224 struct zip_kernel_ctx *zip_ctx = crypto_tfm_ctx(tfm); in zip_comp_compress()
233 struct zip_kernel_ctx *zip_ctx = crypto_tfm_ctx(tfm); in zip_comp_decompress()
/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/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/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/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/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/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/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()
330 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); in ccm_nx_decrypt()
408 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); in ccm_nx_encrypt()
479 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); in ccm4309_aes_nx_encrypt()
503 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); in ccm4309_aes_nx_decrypt()

1234