Home
last modified time | relevance | path

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

1234567

/Linux-v4.19/drivers/crypto/vmx/
Daes.c42 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_init()
63 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_exit()
75 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_setkey()
92 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_encrypt()
109 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_decrypt()
Dghash.c58 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(tfm); in p8_ghash_init_tfm()
89 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(tfm); in p8_ghash_exit_tfm()
99 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(crypto_shash_tfm(desc->tfm)); in p8_ghash_init()
112 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(crypto_shash_tfm(tfm)); in p8_ghash_setkey()
131 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(crypto_shash_tfm(desc->tfm)); in p8_ghash_update()
182 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(crypto_shash_tfm(desc->tfm)); in p8_ghash_final()
Daes_cbc.c44 struct p8_aes_cbc_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_cbc_init()
66 struct p8_aes_cbc_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_cbc_exit()
78 struct p8_aes_cbc_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_cbc_setkey()
100 crypto_tfm_ctx(crypto_blkcipher_tfm(desc->tfm)); in p8_aes_cbc_encrypt()
139 crypto_tfm_ctx(crypto_blkcipher_tfm(desc->tfm)); in p8_aes_cbc_decrypt()
Daes_ctr.c43 struct p8_aes_ctr_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_ctr_init()
64 struct p8_aes_ctr_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_ctr_exit()
76 struct p8_aes_ctr_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_ctr_setkey()
119 crypto_tfm_ctx(crypto_blkcipher_tfm(desc->tfm)); in p8_aes_ctr_crypt()
Daes_xts.c46 struct p8_aes_xts_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_xts_init()
67 struct p8_aes_xts_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_xts_exit()
79 struct p8_aes_xts_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_xts_setkey()
109 crypto_tfm_ctx(crypto_blkcipher_tfm(desc->tfm)); in p8_aes_xts_crypt()
/Linux-v4.19/crypto/
Dtea.c50 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in tea_setkey()
66 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in tea_encrypt()
94 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in tea_decrypt()
123 struct xtea_ctx *ctx = crypto_tfm_ctx(tfm); in xtea_setkey()
139 struct xtea_ctx *ctx = crypto_tfm_ctx(tfm); in xtea_encrypt()
159 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in xtea_decrypt()
183 struct xtea_ctx *ctx = crypto_tfm_ctx(tfm); in xeta_encrypt()
203 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in xeta_decrypt()
Dspeck.c70 crypto_speck128_encrypt(crypto_tfm_ctx(tfm), out, in); in speck128_encrypt()
90 crypto_speck128_decrypt(crypto_tfm_ctx(tfm), out, in); in speck128_decrypt()
142 return crypto_speck128_setkey(crypto_tfm_ctx(tfm), key, keylen); in speck128_setkey()
182 crypto_speck64_encrypt(crypto_tfm_ctx(tfm), out, in); in speck64_encrypt()
202 crypto_speck64_decrypt(crypto_tfm_ctx(tfm), out, in); in speck64_decrypt()
245 return crypto_speck64_setkey(crypto_tfm_ctx(tfm), key, keylen); in speck64_setkey()
D842.c53 struct crypto842_ctx *ctx = crypto_tfm_ctx(tfm); in crypto842_init()
69 struct crypto842_ctx *ctx = crypto_tfm_ctx(tfm); in crypto842_exit()
78 struct crypto842_ctx *ctx = crypto_tfm_ctx(tfm); in crypto842_compress()
Dzstd.c134 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); in zstd_init()
153 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); in zstd_exit()
175 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); in zstd_compress()
203 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); in zstd_decompress()
Dlz4.c45 struct lz4_ctx *ctx = crypto_tfm_ctx(tfm); in lz4_init()
61 struct lz4_ctx *ctx = crypto_tfm_ctx(tfm); in lz4_exit()
89 struct lz4_ctx *ctx = crypto_tfm_ctx(tfm); in lz4_compress_crypto()
Dlzo.c44 struct lzo_ctx *ctx = crypto_tfm_ctx(tfm); in lzo_init()
60 struct lzo_ctx *ctx = crypto_tfm_ctx(tfm); in lzo_exit()
83 struct lzo_ctx *ctx = crypto_tfm_ctx(tfm); in lzo_compress()
Dlz4hc.c44 struct lz4hc_ctx *ctx = crypto_tfm_ctx(tfm); in lz4hc_init()
60 struct lz4hc_ctx *ctx = crypto_tfm_ctx(tfm); in lz4hc_exit()
89 struct lz4hc_ctx *ctx = crypto_tfm_ctx(tfm); in lz4hc_compress_crypto()
Dscompress.c200 struct crypto_scomp **ctx = crypto_tfm_ctx(tfm); in crypto_exit_scomp_ops_async()
213 struct crypto_scomp **ctx = crypto_tfm_ctx(tfm); in crypto_init_scomp_ops_async()
240 struct crypto_scomp **tfm_ctx = crypto_tfm_ctx(tfm); in crypto_acomp_scomp_alloc_ctx()
259 struct crypto_scomp **tfm_ctx = crypto_tfm_ctx(tfm); in crypto_acomp_scomp_free_ctx()
Ddeflate.c156 struct deflate_ctx *ctx = crypto_tfm_ctx(tfm); in deflate_init()
175 struct deflate_ctx *ctx = crypto_tfm_ctx(tfm); in deflate_exit()
212 struct deflate_ctx *dctx = crypto_tfm_ctx(tfm); in deflate_compress()
268 struct deflate_ctx *dctx = crypto_tfm_ctx(tfm); in deflate_decompress()
/Linux-v4.19/drivers/crypto/inside-secure/
Dsafexcel_cipher.c156 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_skcipher_aes_setkey()
189 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_aead_aes_setkey()
378 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(base->tfm); in safexcel_send_req()
506 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(base->tfm); in safexcel_handle_inv_result()
605 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(base->tfm); in safexcel_cipher_send_inv()
623 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in safexcel_skcipher_send()
644 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in safexcel_aead_send()
666 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_cipher_exit_inv()
672 ctx = crypto_tfm_ctx(base->tfm); in safexcel_cipher_exit_inv()
730 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(base->tfm); in safexcel_queue_req()
[all …]
/Linux-v4.19/drivers/crypto/ccp/
Dccp-crypto-aes.c28 struct ccp_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in ccp_aes_complete()
43 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ablkcipher_tfm(tfm)); in ccp_aes_setkey()
72 struct ccp_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in ccp_aes_crypt()
129 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); in ccp_aes_cra_init()
158 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ablkcipher_tfm(tfm)); in ccp_aes_rfc3686_setkey()
171 struct ccp_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in ccp_aes_rfc3686_crypt()
204 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); in ccp_aes_rfc3686_cra_init()
Dccp-crypto-des3.c27 struct ccp_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in ccp_des3_complete()
42 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ablkcipher_tfm(tfm)); in ccp_des3_setkey()
80 struct ccp_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in ccp_des3_crypt()
137 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); in ccp_des3_cra_init()
/Linux-v4.19/drivers/crypto/cavium/zip/
Dzip_crypto.c202 struct zip_kernel_ctx *zip_ctx = crypto_tfm_ctx(tfm); in zip_alloc_comp_ctx_deflate()
212 struct zip_kernel_ctx *zip_ctx = crypto_tfm_ctx(tfm); in zip_alloc_comp_ctx_lzs()
221 struct zip_kernel_ctx *zip_ctx = crypto_tfm_ctx(tfm); in zip_free_comp_ctx()
231 struct zip_kernel_ctx *zip_ctx = crypto_tfm_ctx(tfm); in zip_comp_compress()
243 struct zip_kernel_ctx *zip_ctx = crypto_tfm_ctx(tfm); in zip_comp_decompress()
/Linux-v4.19/arch/s390/crypto/
Daes_s390.c74 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in setkey_fallback_cip()
93 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in aes_set_key()
113 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in aes_encrypt()
124 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in aes_decrypt()
137 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in fallback_init_cip()
153 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in fallback_exit_cip()
184 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in setkey_fallback_blk()
239 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in ecb_aes_set_key()
307 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in fallback_init_blk()
324 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in fallback_exit_blk()
[all …]
/Linux-v4.19/arch/x86/crypto/
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()
Daes_glue.c27 aes_enc_blk(crypto_tfm_ctx(tfm), dst, src); in aes_encrypt()
32 aes_dec_blk(crypto_tfm_ctx(tfm), dst, src); in aes_decrypt()
/Linux-v4.19/arch/arm64/crypto/
Dsm4-ce-glue.c21 const struct crypto_sm4_ctx *ctx = crypto_tfm_ctx(tfm); in sm4_ce_encrypt()
34 const struct crypto_sm4_ctx *ctx = crypto_tfm_ctx(tfm); in sm4_ce_decrypt()
Daes-cipher-glue.c23 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_encrypt()
31 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_decrypt()
/Linux-v4.19/drivers/crypto/
Dgeode-aes.c121 struct geode_aes_op *op = crypto_tfm_ctx(tfm); in geode_setkey_cip()
154 struct geode_aes_op *op = crypto_tfm_ctx(tfm); in geode_setkey_blk()
220 struct geode_aes_op *op = crypto_tfm_ctx(tfm); in geode_encrypt()
241 struct geode_aes_op *op = crypto_tfm_ctx(tfm); in geode_decrypt()
261 struct geode_aes_op *op = crypto_tfm_ctx(tfm); in fallback_init_cip()
276 struct geode_aes_op *op = crypto_tfm_ctx(tfm); in fallback_exit_cip()
371 struct geode_aes_op *op = crypto_tfm_ctx(tfm); in fallback_init_blk()
386 struct geode_aes_op *op = crypto_tfm_ctx(tfm); in fallback_exit_blk()
/Linux-v4.19/arch/arm/crypto/
Daes-cipher-glue.c24 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_encrypt()
32 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_decrypt()

1234567