Home
last modified time | relevance | path

Searched refs:crypto_blkcipher_ctx (Results 1 – 43 of 43) sorted by relevance

/linux-4.4.14/arch/s390/crypto/
Ddes_s390.c112 struct s390_des_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_desall_crypt()
148 struct s390_des_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_des_encrypt()
159 struct s390_des_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_des_decrypt()
294 struct s390_des_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_des3_encrypt()
305 struct s390_des_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_des3_decrypt()
457 struct s390_des_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ctr_des_encrypt()
468 struct s390_des_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ctr_des_decrypt()
500 struct s390_des_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ctr_des3_encrypt()
511 struct s390_des_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ctr_des3_decrypt()
Daes_s390.c258 struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); in fallback_blk_dec()
275 struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); in fallback_blk_enc()
343 struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); in ecb_aes_encrypt()
357 struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); in ecb_aes_decrypt()
448 struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); in cbc_aes_crypt()
484 struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); in cbc_aes_encrypt()
498 struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); in cbc_aes_decrypt()
555 struct s390_xts_ctx *xts_ctx = crypto_blkcipher_ctx(desc->tfm); in xts_fallback_decrypt()
572 struct s390_xts_ctx *xts_ctx = crypto_blkcipher_ctx(desc->tfm); in xts_fallback_encrypt()
667 struct s390_xts_ctx *xts_ctx = crypto_blkcipher_ctx(desc->tfm); in xts_aes_encrypt()
[all …]
/linux-4.4.14/arch/arm64/crypto/
Daes-glue.c102 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_encrypt()
124 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_decrypt()
146 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_encrypt()
169 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_decrypt()
192 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ctr_encrypt()
238 struct crypto_aes_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt()
262 struct crypto_aes_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt()
/linux-4.4.14/arch/powerpc/crypto/
Daes-spe-glue.c182 struct ppc_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ppc_ecb_encrypt()
210 struct ppc_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ppc_ecb_decrypt()
238 struct ppc_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ppc_cbc_encrypt()
266 struct ppc_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ppc_cbc_decrypt()
294 struct ppc_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ppc_ctr_crypt()
324 struct ppc_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ppc_xts_encrypt()
355 struct ppc_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ppc_xts_decrypt()
/linux-4.4.14/arch/x86/crypto/
Ddes3_ede_glue.c133 struct des3_ede_x86_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_encrypt()
143 struct des3_ede_x86_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_decrypt()
153 struct des3_ede_x86_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __cbc_encrypt()
194 struct des3_ede_x86_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __cbc_decrypt()
289 struct des3_ede_x86_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __ctr_crypt()
352 ctr_crypt_final(crypto_blkcipher_ctx(desc->tfm), &walk); in ctr_crypt()
Dblowfish_glue.c84 struct bf_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_crypt()
146 struct bf_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __cbc_encrypt()
187 struct bf_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __cbc_decrypt()
283 struct bf_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __ctr_crypt()
351 ctr_crypt_final(crypto_blkcipher_ctx(desc->tfm), &walk); in ctr_crypt()
Dglue_helper.c39 void *ctx = crypto_blkcipher_ctx(desc->tfm); in __glue_ecb_crypt_128bit()
96 void *ctx = crypto_blkcipher_ctx(desc->tfm); in __glue_cbc_encrypt_128bit()
142 void *ctx = crypto_blkcipher_ctx(desc->tfm); in __glue_cbc_decrypt_128bit()
220 void *ctx = crypto_blkcipher_ctx(desc->tfm); in glue_ctr_crypt_final_128bit()
241 void *ctx = crypto_blkcipher_ctx(desc->tfm); in __glue_ctr_crypt_128bit()
Dcast5_avx_glue.c63 struct cast5_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_crypt()
134 struct cast5_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __cbc_encrypt()
175 struct cast5_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __cbc_decrypt()
251 struct cast5_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ctr_crypt_final()
268 struct cast5_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __ctr_crypt()
Dtwofish_glue_3way.c234 struct twofish_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt()
251 struct twofish_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt()
302 struct twofish_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt()
320 struct twofish_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt()
Dfpu.c48 struct crypto_fpu_ctx *ctx = crypto_blkcipher_ctx(desc_in->tfm); in crypto_fpu_encrypt()
67 struct crypto_fpu_ctx *ctx = crypto_blkcipher_ctx(desc_in->tfm); in crypto_fpu_decrypt()
Daesni-intel_glue.c378 struct crypto_aes_ctx *ctx = aes_ctx(crypto_blkcipher_ctx(desc->tfm)); in ecb_encrypt()
402 struct crypto_aes_ctx *ctx = aes_ctx(crypto_blkcipher_ctx(desc->tfm)); in ecb_decrypt()
426 struct crypto_aes_ctx *ctx = aes_ctx(crypto_blkcipher_ctx(desc->tfm)); in cbc_encrypt()
450 struct crypto_aes_ctx *ctx = aes_ctx(crypto_blkcipher_ctx(desc->tfm)); in cbc_decrypt()
509 struct crypto_aes_ctx *ctx = aes_ctx(crypto_blkcipher_ctx(desc->tfm)); in ctr_crypt()
593 struct aesni_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt()
617 struct aesni_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt()
720 struct aesni_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt()
731 struct aesni_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt()
744 struct aesni_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt()
[all …]
Dserpent_avx2_glue.c238 struct serpent_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt()
264 struct serpent_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt()
290 struct serpent_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt()
300 struct serpent_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt()
Dtwofish_avx_glue.c268 struct twofish_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt()
294 struct twofish_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt()
320 struct twofish_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt()
330 struct twofish_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt()
Dcamellia_aesni_avx_glue.c264 struct camellia_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt()
290 struct camellia_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt()
316 struct camellia_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt()
326 struct camellia_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt()
Dserpent_sse2_glue.c247 struct serpent_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt()
273 struct serpent_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt()
335 struct serpent_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt()
362 struct serpent_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt()
Dcast6_avx_glue.c264 struct cast6_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt()
290 struct cast6_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt()
353 struct cast6_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt()
363 struct cast6_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt()
Dserpent_avx_glue.c274 struct serpent_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt()
300 struct serpent_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt()
359 struct serpent_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt()
369 struct serpent_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt()
Dcamellia_aesni_avx2_glue.c272 struct camellia_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt()
298 struct camellia_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt()
324 struct camellia_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt()
334 struct camellia_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt()
Dsalsa20_glue.c54 struct salsa20_ctx *ctx = crypto_blkcipher_ctx(tfm); in encrypt()
Dchacha20_glue.c81 crypto_chacha20_init(state, crypto_blkcipher_ctx(desc->tfm), walk.iv); in chacha20_simd()
Dcamellia_glue.c1460 struct camellia_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt()
1477 struct camellia_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt()
1528 struct camellia_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt()
1546 struct camellia_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt()
/linux-4.4.14/arch/arm/crypto/
Daes-ce-glue.c169 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_encrypt()
192 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_decrypt()
215 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_encrypt()
239 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_decrypt()
263 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ctr_encrypt()
306 struct crypto_aes_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt()
331 struct crypto_aes_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt()
Daesbs-glue.c108 struct aesbs_cbc_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in aesbs_cbc_encrypt()
149 struct aesbs_cbc_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in aesbs_cbc_decrypt()
207 struct aesbs_ctr_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in aesbs_ctr_encrypt()
256 struct aesbs_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in aesbs_xts_encrypt()
280 struct aesbs_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in aesbs_xts_decrypt()
/linux-4.4.14/drivers/crypto/
Dgeode-aes.c188 struct geode_aes_op *op = crypto_blkcipher_ctx(desc->tfm); in fallback_blk_dec()
204 struct geode_aes_op *op = crypto_blkcipher_ctx(desc->tfm); in fallback_blk_enc()
308 struct geode_aes_op *op = crypto_blkcipher_ctx(desc->tfm); in geode_cbc_decrypt()
340 struct geode_aes_op *op = crypto_blkcipher_ctx(desc->tfm); in geode_cbc_encrypt()
421 struct geode_aes_op *op = crypto_blkcipher_ctx(desc->tfm); in geode_ecb_decrypt()
451 struct geode_aes_op *op = crypto_blkcipher_ctx(desc->tfm); in geode_ecb_encrypt()
Dpadlock-aes.c101 return aes_ctx_common(crypto_blkcipher_ctx(tfm)); in blk_aes_ctx()
/linux-4.4.14/arch/sparc/crypto/
Ddes_glue.c97 struct des_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __ecb_crypt()
145 struct des_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_encrypt()
176 struct des_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_decrypt()
265 struct des3_ede_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __ecb3_crypt()
317 struct des3_ede_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc3_encrypt()
353 struct des3_ede_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc3_decrypt()
Daes_glue.c219 struct crypto_sparc64_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_encrypt()
248 struct crypto_sparc64_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_decrypt()
279 struct crypto_sparc64_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_encrypt()
308 struct crypto_sparc64_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_decrypt()
356 struct crypto_sparc64_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ctr_crypt()
Dcamellia_glue.c89 struct camellia_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __ecb_crypt()
152 struct camellia_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_encrypt()
191 struct camellia_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_decrypt()
/linux-4.4.14/drivers/crypto/nx/
Dnx-aes-ctr.c89 struct nx_crypto_ctx *nx_ctx = crypto_blkcipher_ctx(desc->tfm); in ctr_aes_nx_crypt()
133 struct nx_crypto_ctx *nx_ctx = crypto_blkcipher_ctx(desc->tfm); in ctr3686_aes_nx_crypt()
Dnx-aes-ecb.c71 struct nx_crypto_ctx *nx_ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_aes_nx_crypt()
Dnx-aes-cbc.c71 struct nx_crypto_ctx *nx_ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_aes_nx_crypt()
/linux-4.4.14/crypto/
Decb.c75 struct crypto_ecb_ctx *ctx = crypto_blkcipher_ctx(tfm); in crypto_ecb_encrypt()
89 struct crypto_ecb_ctx *ctx = crypto_blkcipher_ctx(tfm); in crypto_ecb_decrypt()
Dkeywrap.c140 struct crypto_kw_ctx *ctx = crypto_blkcipher_ctx(tfm); in crypto_kw_decrypt()
225 struct crypto_kw_ctx *ctx = crypto_blkcipher_ctx(tfm); in crypto_kw_encrypt()
Dpcbc.c103 struct crypto_pcbc_ctx *ctx = crypto_blkcipher_ctx(tfm); in crypto_pcbc_encrypt()
183 struct crypto_pcbc_ctx *ctx = crypto_blkcipher_ctx(tfm); in crypto_pcbc_decrypt()
Dcbc.c96 struct crypto_cbc_ctx *ctx = crypto_blkcipher_ctx(tfm); in crypto_cbc_encrypt()
175 struct crypto_cbc_ctx *ctx = crypto_blkcipher_ctx(tfm); in crypto_cbc_decrypt()
Dxts.c150 struct priv *ctx = crypto_blkcipher_ctx(desc->tfm); in encrypt()
161 struct priv *ctx = crypto_blkcipher_ctx(desc->tfm); in decrypt()
Dcts.c129 struct crypto_cts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in crypto_cts_encrypt()
224 struct crypto_cts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in crypto_cts_decrypt()
Dlrw.c198 struct priv *ctx = crypto_blkcipher_ctx(desc->tfm); in encrypt()
209 struct priv *ctx = crypto_blkcipher_ctx(desc->tfm); in decrypt()
Darc4.c98 struct arc4_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_arc4_crypt()
Dsalsa20_generic.c183 struct salsa20_ctx *ctx = crypto_blkcipher_ctx(tfm); in encrypt()
Dchacha20_generic.c153 crypto_chacha20_init(state, crypto_blkcipher_ctx(desc->tfm), walk.iv); in crypto_chacha20_crypt()
Dctr.c133 struct crypto_ctr_ctx *ctx = crypto_blkcipher_ctx(tfm); in crypto_ctr_crypt()
/linux-4.4.14/include/crypto/
Dalgapi.h254 static inline void *crypto_blkcipher_ctx(struct crypto_blkcipher *tfm) in crypto_blkcipher_ctx() function