Home
last modified time | relevance | path

Searched refs:blkcipher_desc (Results 1 – 85 of 85) sorted by relevance

/linux-4.4.14/arch/x86/include/asm/crypto/
Dglue_helper.h47 struct blkcipher_desc *desc, in glue_fpu_begin()
114 struct blkcipher_desc *desc,
119 struct blkcipher_desc *desc,
125 struct blkcipher_desc *desc,
131 struct blkcipher_desc *desc,
136 struct blkcipher_desc *desc,
/linux-4.4.14/arch/s390/crypto/
Ddes_s390.c86 static int ecb_desall_crypt(struct blkcipher_desc *desc, long func, in ecb_desall_crypt()
109 static int cbc_desall_crypt(struct blkcipher_desc *desc, long func, in cbc_desall_crypt()
144 static int ecb_des_encrypt(struct blkcipher_desc *desc, in ecb_des_encrypt()
155 static int ecb_des_decrypt(struct blkcipher_desc *desc, in ecb_des_decrypt()
186 static int cbc_des_encrypt(struct blkcipher_desc *desc, in cbc_des_encrypt()
196 static int cbc_des_decrypt(struct blkcipher_desc *desc, in cbc_des_decrypt()
290 static int ecb_des3_encrypt(struct blkcipher_desc *desc, in ecb_des3_encrypt()
301 static int ecb_des3_decrypt(struct blkcipher_desc *desc, in ecb_des3_decrypt()
332 static int cbc_des3_encrypt(struct blkcipher_desc *desc, in cbc_des3_encrypt()
342 static int cbc_des3_decrypt(struct blkcipher_desc *desc, in cbc_des3_decrypt()
[all …]
Daes_s390.c252 static int fallback_blk_dec(struct blkcipher_desc *desc, in fallback_blk_dec()
269 static int fallback_blk_enc(struct blkcipher_desc *desc, in fallback_blk_enc()
316 static int ecb_aes_crypt(struct blkcipher_desc *desc, long func, void *param, in ecb_aes_crypt()
339 static int ecb_aes_encrypt(struct blkcipher_desc *desc, in ecb_aes_encrypt()
353 static int ecb_aes_decrypt(struct blkcipher_desc *desc, in ecb_aes_decrypt()
445 static int cbc_aes_crypt(struct blkcipher_desc *desc, long func, in cbc_aes_crypt()
480 static int cbc_aes_encrypt(struct blkcipher_desc *desc, in cbc_aes_encrypt()
494 static int cbc_aes_decrypt(struct blkcipher_desc *desc, in cbc_aes_decrypt()
551 static int xts_fallback_decrypt(struct blkcipher_desc *desc, in xts_fallback_decrypt()
568 static int xts_fallback_encrypt(struct blkcipher_desc *desc, in xts_fallback_encrypt()
[all …]
/linux-4.4.14/arch/x86/crypto/
Dglue_helper.c36 struct blkcipher_desc *desc, in __glue_ecb_crypt_128bit()
82 struct blkcipher_desc *desc, struct scatterlist *dst, in glue_ecb_crypt_128bit()
93 struct blkcipher_desc *desc, in __glue_cbc_encrypt_128bit()
118 struct blkcipher_desc *desc, in glue_cbc_encrypt_128bit()
139 struct blkcipher_desc *desc, in __glue_cbc_decrypt_128bit()
192 struct blkcipher_desc *desc, in glue_cbc_decrypt_128bit()
217 struct blkcipher_desc *desc, in glue_ctr_crypt_final_128bit()
237 struct blkcipher_desc *desc, in __glue_ctr_crypt_128bit()
276 struct blkcipher_desc *desc, struct scatterlist *dst, in glue_ctr_crypt_128bit()
308 struct blkcipher_desc *desc, in __glue_xts_crypt_128bit()
[all …]
Dtwofish_glue_3way.c154 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt()
160 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt()
166 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt()
173 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt()
180 static int ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_crypt()
231 static int lrw_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_encrypt()
248 static int lrw_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_decrypt()
299 static int xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_encrypt()
317 static int xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_decrypt()
Dcast5_avx_glue.c59 static int ecb_crypt(struct blkcipher_desc *desc, struct blkcipher_walk *walk, in ecb_crypt()
113 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt()
122 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt()
131 static unsigned int __cbc_encrypt(struct blkcipher_desc *desc, in __cbc_encrypt()
155 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt()
172 static unsigned int __cbc_decrypt(struct blkcipher_desc *desc, in __cbc_decrypt()
227 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt()
248 static void ctr_crypt_final(struct blkcipher_desc *desc, in ctr_crypt_final()
265 static unsigned int __ctr_crypt(struct blkcipher_desc *desc, in __ctr_crypt()
311 static int ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_crypt()
Dblowfish_glue.c80 static int ecb_crypt(struct blkcipher_desc *desc, struct blkcipher_walk *walk, in ecb_crypt()
125 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt()
134 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt()
143 static unsigned int __cbc_encrypt(struct blkcipher_desc *desc, in __cbc_encrypt()
167 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt()
184 static unsigned int __cbc_decrypt(struct blkcipher_desc *desc, in __cbc_decrypt()
248 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt()
280 static unsigned int __ctr_crypt(struct blkcipher_desc *desc, in __ctr_crypt()
336 static int ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_crypt()
Ddes3_ede_glue.c86 static int ecb_crypt(struct blkcipher_desc *desc, struct blkcipher_walk *walk, in ecb_crypt()
130 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt()
140 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt()
150 static unsigned int __cbc_encrypt(struct blkcipher_desc *desc, in __cbc_encrypt()
174 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt()
191 static unsigned int __cbc_decrypt(struct blkcipher_desc *desc, in __cbc_decrypt()
253 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt()
286 static unsigned int __ctr_crypt(struct blkcipher_desc *desc, in __ctr_crypt()
337 static int ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_crypt()
Dserpent_avx2_glue.c139 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt()
145 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt()
151 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt()
158 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt()
165 static int ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_crypt()
235 static int lrw_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_encrypt()
261 static int lrw_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_decrypt()
287 static int xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_encrypt()
297 static int xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_decrypt()
Dtwofish_avx_glue.c173 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt()
179 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt()
185 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt()
192 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt()
199 static int ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_crypt()
265 static int lrw_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_encrypt()
291 static int lrw_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_decrypt()
317 static int xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_encrypt()
327 static int xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_decrypt()
Dfpu.c43 static int crypto_fpu_encrypt(struct blkcipher_desc *desc_in, in crypto_fpu_encrypt()
50 struct blkcipher_desc desc = { in crypto_fpu_encrypt()
62 static int crypto_fpu_decrypt(struct blkcipher_desc *desc_in, in crypto_fpu_decrypt()
69 struct blkcipher_desc desc = { in crypto_fpu_decrypt()
Dcamellia_aesni_avx_glue.c157 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt()
163 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt()
169 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt()
176 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt()
183 static int ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_crypt()
261 static int lrw_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_encrypt()
287 static int lrw_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_decrypt()
313 static int xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_encrypt()
323 static int xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_decrypt()
Dserpent_sse2_glue.c142 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt()
148 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt()
154 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt()
161 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt()
168 static int ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_crypt()
244 static int lrw_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_encrypt()
270 static int lrw_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_decrypt()
332 static int xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_encrypt()
359 static int xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_decrypt()
Dcast6_avx_glue.c160 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt()
166 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt()
172 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt()
179 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt()
186 static int ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_crypt()
261 static int lrw_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_encrypt()
287 static int lrw_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_decrypt()
350 static int xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_encrypt()
360 static int xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_decrypt()
Dserpent_avx_glue.c173 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt()
179 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt()
185 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt()
192 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt()
199 static int ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_crypt()
271 static int lrw_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_encrypt()
297 static int lrw_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_decrypt()
356 static int xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_encrypt()
366 static int xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_decrypt()
Dcamellia_aesni_avx2_glue.c153 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt()
159 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt()
165 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt()
172 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt()
179 static int ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_crypt()
269 static int lrw_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_encrypt()
295 static int lrw_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_decrypt()
321 static int xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_encrypt()
331 static int xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_decrypt()
Dcamellia_glue.c1376 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt()
1382 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt()
1388 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt()
1395 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt()
1402 static int ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_crypt()
1457 static int lrw_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_encrypt()
1474 static int lrw_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_decrypt()
1525 static int xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_encrypt()
1543 static int xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_decrypt()
Daesni-intel_glue.c374 static int ecb_encrypt(struct blkcipher_desc *desc, in ecb_encrypt()
398 static int ecb_decrypt(struct blkcipher_desc *desc, in ecb_decrypt()
422 static int cbc_encrypt(struct blkcipher_desc *desc, in cbc_encrypt()
446 static int cbc_decrypt(struct blkcipher_desc *desc, in cbc_decrypt()
505 static int ctr_crypt(struct blkcipher_desc *desc, in ctr_crypt()
590 static int lrw_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_encrypt()
614 static int lrw_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_decrypt()
717 static int xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_encrypt()
728 static int xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_decrypt()
741 static int xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_encrypt()
[all …]
Dsalsa20_glue.c48 static int encrypt(struct blkcipher_desc *desc, in encrypt()
Dchacha20_glue.c66 static int chacha20_simd(struct blkcipher_desc *desc, struct scatterlist *dst, in chacha20_simd()
/linux-4.4.14/crypto/
Dcts.c74 struct blkcipher_desc *desc, in cts_cbc_encrypt()
82 struct blkcipher_desc lcldesc; in cts_cbc_encrypt()
125 static int crypto_cts_encrypt(struct blkcipher_desc *desc, in crypto_cts_encrypt()
133 struct blkcipher_desc lcldesc; in crypto_cts_encrypt()
160 struct blkcipher_desc *desc, in cts_cbc_decrypt()
168 struct blkcipher_desc lcldesc; in cts_cbc_decrypt()
220 static int crypto_cts_decrypt(struct blkcipher_desc *desc, in crypto_cts_decrypt()
228 struct blkcipher_desc lcldesc; in crypto_cts_decrypt()
Dpcbc.c45 static int crypto_pcbc_encrypt_segment(struct blkcipher_desc *desc, in crypto_pcbc_encrypt_segment()
70 static int crypto_pcbc_encrypt_inplace(struct blkcipher_desc *desc, in crypto_pcbc_encrypt_inplace()
97 static int crypto_pcbc_encrypt(struct blkcipher_desc *desc, in crypto_pcbc_encrypt()
123 static int crypto_pcbc_decrypt_segment(struct blkcipher_desc *desc, in crypto_pcbc_decrypt_segment()
150 static int crypto_pcbc_decrypt_inplace(struct blkcipher_desc *desc, in crypto_pcbc_decrypt_inplace()
177 static int crypto_pcbc_decrypt(struct blkcipher_desc *desc, in crypto_pcbc_decrypt()
Dcbc.c42 static int crypto_cbc_encrypt_segment(struct blkcipher_desc *desc, in crypto_cbc_encrypt_segment()
66 static int crypto_cbc_encrypt_inplace(struct blkcipher_desc *desc, in crypto_cbc_encrypt_inplace()
90 static int crypto_cbc_encrypt(struct blkcipher_desc *desc, in crypto_cbc_encrypt()
114 static int crypto_cbc_decrypt_segment(struct blkcipher_desc *desc, in crypto_cbc_decrypt_segment()
140 static int crypto_cbc_decrypt_inplace(struct blkcipher_desc *desc, in crypto_cbc_decrypt_inplace()
169 static int crypto_cbc_decrypt(struct blkcipher_desc *desc, in crypto_cbc_decrypt()
Dblkcipher.c40 static int blkcipher_walk_next(struct blkcipher_desc *desc,
42 static int blkcipher_walk_first(struct blkcipher_desc *desc,
104 int blkcipher_walk_done(struct blkcipher_desc *desc, in blkcipher_walk_done()
147 static inline int blkcipher_next_slow(struct blkcipher_desc *desc, in blkcipher_next_slow()
197 static inline int blkcipher_next_fast(struct blkcipher_desc *desc, in blkcipher_next_fast()
224 static int blkcipher_walk_next(struct blkcipher_desc *desc, in blkcipher_walk_next()
299 int blkcipher_walk_virt(struct blkcipher_desc *desc, in blkcipher_walk_virt()
311 int blkcipher_walk_phys(struct blkcipher_desc *desc, in blkcipher_walk_phys()
323 static int blkcipher_walk_first(struct blkcipher_desc *desc, in blkcipher_walk_first()
348 int blkcipher_walk_virt_block(struct blkcipher_desc *desc, in blkcipher_walk_virt_block()
[all …]
Decb.c41 static int crypto_ecb_crypt(struct blkcipher_desc *desc, in crypto_ecb_crypt()
69 static int crypto_ecb_encrypt(struct blkcipher_desc *desc, in crypto_ecb_encrypt()
83 static int crypto_ecb_decrypt(struct blkcipher_desc *desc, in crypto_ecb_decrypt()
Dablk_helper.c58 struct blkcipher_desc desc; in __ablk_encrypt()
102 struct blkcipher_desc desc; in ablk_decrypt()
Dxts.c93 static int crypt(struct blkcipher_desc *d, in crypt()
147 static int encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in encrypt()
158 static int decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in decrypt()
169 int xts_crypt(struct blkcipher_desc *desc, struct scatterlist *sdst, in xts_crypt()
Dlrw.c138 static int crypt(struct blkcipher_desc *d, in crypt()
195 static int encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in encrypt()
206 static int decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in decrypt()
217 int lrw_crypt(struct blkcipher_desc *desc, struct scatterlist *sdst, in lrw_crypt()
Dskcipher.c52 int (*crypt)(struct blkcipher_desc *, in skcipher_crypt_blkcipher() argument
59 struct blkcipher_desc desc = { in skcipher_crypt_blkcipher()
Dkeywrap.c135 static int crypto_kw_decrypt(struct blkcipher_desc *desc, in crypto_kw_decrypt()
220 static int crypto_kw_encrypt(struct blkcipher_desc *desc, in crypto_kw_encrypt()
Darc4.c95 static int ecb_arc4_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_arc4_crypt()
Dcrypto_null.c77 static int skcipher_null_crypt(struct blkcipher_desc *desc, in skcipher_null_crypt()
Dechainiv.c115 struct blkcipher_desc desc = { in echainiv_encrypt()
Dsalsa20_generic.c177 static int encrypt(struct blkcipher_desc *desc, in encrypt()
Dchacha20_generic.c143 int crypto_chacha20_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in crypto_chacha20_crypt()
Dseqiv.c168 struct blkcipher_desc desc = { in seqiv_aead_encrypt()
Dcryptd.c203 int (*crypt)(struct blkcipher_desc *desc, in cryptd_blkcipher_crypt()
209 struct blkcipher_desc desc; in cryptd_blkcipher_crypt()
Dctr.c127 static int crypto_ctr_crypt(struct blkcipher_desc *desc, in crypto_ctr_crypt()
Dtcrypt.c94 static int test_cipher_jiffies(struct blkcipher_desc *desc, int enc, in test_cipher_jiffies()
117 static int test_cipher_cycles(struct blkcipher_desc *desc, int enc, in test_cipher_cycles()
465 struct blkcipher_desc desc; in test_cipher_speed()
Dauthenc.c187 struct blkcipher_desc desc = { in crypto_authenc_copy_assoc()
Dauthencesn.c185 struct blkcipher_desc desc = { in crypto_authenc_esn_copy()
Dgcm.c1087 struct blkcipher_desc desc = { in crypto_rfc4543_copy_src_to_dst()
/linux-4.4.14/include/crypto/
Dxts.h7 struct blkcipher_desc;
23 int xts_crypt(struct blkcipher_desc *desc, struct scatterlist *dst,
Dlrw.h8 struct blkcipher_desc;
39 int lrw_crypt(struct blkcipher_desc *desc, struct scatterlist *dst,
Dalgapi.h192 int blkcipher_walk_done(struct blkcipher_desc *desc,
194 int blkcipher_walk_virt(struct blkcipher_desc *desc,
196 int blkcipher_walk_phys(struct blkcipher_desc *desc,
198 int blkcipher_walk_virt_block(struct blkcipher_desc *desc,
201 int blkcipher_aead_walk_virt_block(struct blkcipher_desc *desc,
Dchacha20.h22 int crypto_chacha20_crypt(struct blkcipher_desc *desc, struct scatterlist *dst,
/linux-4.4.14/arch/sparc/crypto/
Ddes_glue.c93 static int __ecb_crypt(struct blkcipher_desc *desc, in __ecb_crypt()
124 static int ecb_encrypt(struct blkcipher_desc *desc, in ecb_encrypt()
131 static int ecb_decrypt(struct blkcipher_desc *desc, in ecb_decrypt()
141 static int cbc_encrypt(struct blkcipher_desc *desc, in cbc_encrypt()
172 static int cbc_decrypt(struct blkcipher_desc *desc, in cbc_decrypt()
261 static int __ecb3_crypt(struct blkcipher_desc *desc, in __ecb3_crypt()
295 static int ecb3_encrypt(struct blkcipher_desc *desc, in ecb3_encrypt()
302 static int ecb3_decrypt(struct blkcipher_desc *desc, in ecb3_decrypt()
313 static int cbc3_encrypt(struct blkcipher_desc *desc, in cbc3_encrypt()
349 static int cbc3_decrypt(struct blkcipher_desc *desc, in cbc3_decrypt()
Dcamellia_glue.c85 static int __ecb_crypt(struct blkcipher_desc *desc, in __ecb_crypt()
126 static int ecb_encrypt(struct blkcipher_desc *desc, in ecb_encrypt()
133 static int ecb_decrypt(struct blkcipher_desc *desc, in ecb_decrypt()
148 static int cbc_encrypt(struct blkcipher_desc *desc, in cbc_encrypt()
187 static int cbc_decrypt(struct blkcipher_desc *desc, in cbc_decrypt()
Daes_glue.c215 static int ecb_encrypt(struct blkcipher_desc *desc, in ecb_encrypt()
244 static int ecb_decrypt(struct blkcipher_desc *desc, in ecb_decrypt()
275 static int cbc_encrypt(struct blkcipher_desc *desc, in cbc_encrypt()
304 static int cbc_decrypt(struct blkcipher_desc *desc, in cbc_decrypt()
352 static int ctr_crypt(struct blkcipher_desc *desc, in ctr_crypt()
/linux-4.4.14/drivers/crypto/vmx/
Daes_cbc.c98 static int p8_aes_cbc_encrypt(struct blkcipher_desc *desc, in p8_aes_cbc_encrypt()
106 struct blkcipher_desc fallback_desc = { in p8_aes_cbc_encrypt()
139 static int p8_aes_cbc_decrypt(struct blkcipher_desc *desc, in p8_aes_cbc_decrypt()
147 struct blkcipher_desc fallback_desc = { in p8_aes_cbc_decrypt()
Daes_ctr.c113 static int p8_aes_ctr_crypt(struct blkcipher_desc *desc, in p8_aes_ctr_crypt()
122 struct blkcipher_desc fallback_desc = { in p8_aes_ctr_crypt()
/linux-4.4.14/drivers/crypto/nx/
Dnx-aes-ecb.c65 static int ecb_aes_nx_crypt(struct blkcipher_desc *desc, in ecb_aes_nx_crypt()
114 static int ecb_aes_nx_encrypt(struct blkcipher_desc *desc, in ecb_aes_nx_encrypt()
122 static int ecb_aes_nx_decrypt(struct blkcipher_desc *desc, in ecb_aes_nx_decrypt()
Dnx-aes-cbc.c65 static int cbc_aes_nx_crypt(struct blkcipher_desc *desc, in cbc_aes_nx_crypt()
114 static int cbc_aes_nx_encrypt(struct blkcipher_desc *desc, in cbc_aes_nx_encrypt()
122 static int cbc_aes_nx_decrypt(struct blkcipher_desc *desc, in cbc_aes_nx_decrypt()
Dnx-aes-ccm.c342 struct blkcipher_desc *desc, in ccm_nx_decrypt()
420 struct blkcipher_desc *desc, in ccm_nx_encrypt()
496 struct blkcipher_desc desc; in ccm4309_aes_nx_encrypt()
510 struct blkcipher_desc desc; in ccm_aes_nx_encrypt()
526 struct blkcipher_desc desc; in ccm4309_aes_nx_decrypt()
540 struct blkcipher_desc desc; in ccm_aes_nx_decrypt()
Dnx-aes-ctr.c84 static int ctr_aes_nx_crypt(struct blkcipher_desc *desc, in ctr_aes_nx_crypt()
128 static int ctr3686_aes_nx_crypt(struct blkcipher_desc *desc, in ctr3686_aes_nx_crypt()
Dnx-aes-gcm.c180 static int gmac(struct aead_request *req, struct blkcipher_desc *desc, in gmac()
254 static int gcm_empty(struct aead_request *req, struct blkcipher_desc *desc, in gcm_empty()
327 struct blkcipher_desc desc; in gcm_aes_nx_crypt()
Dnx.h168 int nx_build_sg_lists(struct nx_crypto_ctx *, struct blkcipher_desc *,
Dnx.c272 struct blkcipher_desc *desc, in nx_build_sg_lists()
/linux-4.4.14/arch/arm64/crypto/
Daes-glue.c99 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt()
121 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt()
143 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt()
166 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt()
189 static int ctr_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_encrypt()
235 static int xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_encrypt()
259 static int xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_decrypt()
Daes-ce-ccm-glue.c152 struct blkcipher_desc desc = { .info = req->iv }; in ccm_encrypt()
217 struct blkcipher_desc desc = { .info = req->iv }; in ccm_decrypt()
/linux-4.4.14/arch/powerpc/crypto/
Daes-spe-glue.c179 static int ppc_ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ppc_ecb_encrypt()
207 static int ppc_ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ppc_ecb_decrypt()
235 static int ppc_cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ppc_cbc_encrypt()
263 static int ppc_cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ppc_cbc_decrypt()
291 static int ppc_ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ppc_ctr_crypt()
321 static int ppc_xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ppc_xts_encrypt()
352 static int ppc_xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ppc_xts_decrypt()
/linux-4.4.14/arch/arm/crypto/
Daes-ce-glue.c166 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt()
189 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt()
212 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt()
236 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt()
260 static int ctr_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_encrypt()
303 static int xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_encrypt()
328 static int xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_decrypt()
Daesbs-glue.c104 static int aesbs_cbc_encrypt(struct blkcipher_desc *desc, in aesbs_cbc_encrypt()
145 static int aesbs_cbc_decrypt(struct blkcipher_desc *desc, in aesbs_cbc_decrypt()
203 static int aesbs_ctr_encrypt(struct blkcipher_desc *desc, in aesbs_ctr_encrypt()
252 static int aesbs_xts_encrypt(struct blkcipher_desc *desc, in aesbs_xts_encrypt()
276 static int aesbs_xts_decrypt(struct blkcipher_desc *desc, in aesbs_xts_decrypt()
/linux-4.4.14/include/linux/
Dcrypto.h176 struct blkcipher_desc { struct
283 int (*encrypt)(struct blkcipher_desc *desc,
286 int (*decrypt)(struct blkcipher_desc *desc,
509 int (*encrypt)(struct blkcipher_desc *desc, struct scatterlist *dst,
511 int (*decrypt)(struct blkcipher_desc *desc, struct scatterlist *dst,
1281 static inline int crypto_blkcipher_encrypt(struct blkcipher_desc *desc, in crypto_blkcipher_encrypt()
1309 static inline int crypto_blkcipher_encrypt_iv(struct blkcipher_desc *desc, in crypto_blkcipher_encrypt_iv()
1334 static inline int crypto_blkcipher_decrypt(struct blkcipher_desc *desc, in crypto_blkcipher_decrypt()
1359 static inline int crypto_blkcipher_decrypt_iv(struct blkcipher_desc *desc, in crypto_blkcipher_decrypt_iv()
/linux-4.4.14/drivers/crypto/
Dgeode-aes.c182 static int fallback_blk_dec(struct blkcipher_desc *desc, in fallback_blk_dec()
198 static int fallback_blk_enc(struct blkcipher_desc *desc, in fallback_blk_enc()
304 geode_cbc_decrypt(struct blkcipher_desc *desc, in geode_cbc_decrypt()
336 geode_cbc_encrypt(struct blkcipher_desc *desc, in geode_cbc_encrypt()
417 geode_ecb_decrypt(struct blkcipher_desc *desc, in geode_ecb_decrypt()
447 geode_ecb_encrypt(struct blkcipher_desc *desc, in geode_ecb_encrypt()
Dpadlock-aes.c342 static int ecb_aes_encrypt(struct blkcipher_desc *desc, in ecb_aes_encrypt()
371 static int ecb_aes_decrypt(struct blkcipher_desc *desc, in ecb_aes_decrypt()
421 static int cbc_aes_encrypt(struct blkcipher_desc *desc, in cbc_aes_encrypt()
452 static int cbc_aes_decrypt(struct blkcipher_desc *desc, in cbc_aes_decrypt()
/linux-4.4.14/net/rxrpc/
Drxkad.c116 struct blkcipher_desc desc; in rxkad_prime_packet_security()
159 struct blkcipher_desc desc; in rxkad_secure_packet_auth()
206 struct blkcipher_desc desc; in rxkad_secure_packet_encrypt()
259 struct blkcipher_desc desc; in rxkad_secure_packet()
333 struct blkcipher_desc desc; in rxkad_verify_packet_auth()
408 struct blkcipher_desc desc; in rxkad_verify_packet_encrypt()
490 struct blkcipher_desc desc; in rxkad_verify_packet()
721 struct blkcipher_desc desc; in rxkad_encrypt_response()
825 struct blkcipher_desc desc; in rxkad_decrypt_ticket()
969 struct blkcipher_desc desc; in rxkad_decrypt_response()
/linux-4.4.14/drivers/block/
Dcryptoloop.c106 typedef int (*encdec_cbc_t)(struct blkcipher_desc *desc,
118 struct blkcipher_desc desc = { in cryptoloop_transfer()
/linux-4.4.14/net/ceph/
Dcrypto.c166 struct blkcipher_desc desc = { .tfm = tfm, .flags = 0 }; in ceph_aes_encrypt()
226 struct blkcipher_desc desc = { .tfm = tfm, .flags = 0 }; in ceph_aes_encrypt2()
288 struct blkcipher_desc desc = { .tfm = tfm }; in ceph_aes_decrypt()
353 struct blkcipher_desc desc = { .tfm = tfm }; in ceph_aes_decrypt2()
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_wep.c94 struct blkcipher_desc desc = {.tfm = wep->tx_tfm}; in prism2_wep_encrypt()
164 struct blkcipher_desc desc = {.tfm = wep->rx_tfm}; in prism2_wep_decrypt()
Dieee80211_crypt_tkip.c315 struct blkcipher_desc desc = {.tfm = tkey->tx_tfm_arc4}; in ieee80211_tkip_encrypt()
393 struct blkcipher_desc desc = {.tfm = tkey->rx_tfm_arc4}; in ieee80211_tkip_decrypt()
/linux-4.4.14/drivers/staging/rtl8192e/
Drtllib_crypt_wep.c102 struct blkcipher_desc desc = {.tfm = wep->tx_tfm}; in prism2_wep_encrypt()
176 struct blkcipher_desc desc = {.tfm = wep->rx_tfm}; in prism2_wep_decrypt()
Drtllib_crypt_tkip.c304 struct blkcipher_desc desc = {.tfm = tkey->tx_tfm_arc4}; in rtllib_tkip_encrypt()
387 struct blkcipher_desc desc = {.tfm = tkey->rx_tfm_arc4}; in rtllib_tkip_decrypt()
/linux-4.4.14/net/wireless/
Dlib80211_crypt_wep.c136 struct blkcipher_desc desc = { .tfm = wep->tx_tfm }; in lib80211_wep_encrypt()
183 struct blkcipher_desc desc = { .tfm = wep->rx_tfm }; in lib80211_wep_decrypt()
Dlib80211_crypt_tkip.c356 struct blkcipher_desc desc = { .tfm = tkey->tx_tfm_arc4 }; in lib80211_tkip_encrypt()
406 struct blkcipher_desc desc = { .tfm = tkey->rx_tfm_arc4 }; in lib80211_tkip_decrypt()
/linux-4.4.14/drivers/net/ppp/
Dppp_mppe.c164 struct blkcipher_desc desc = { .tfm = state->arc4 }; in mppe_rekey()
371 struct blkcipher_desc desc = { .tfm = state->arc4 }; in mppe_compress()
478 struct blkcipher_desc desc = { .tfm = state->arc4 }; in mppe_decompress()
/linux-4.4.14/net/sunrpc/auth_gss/
Dgss_krb5_crypto.c63 struct blkcipher_desc desc = { .tfm = tfm, .info = local_iv }; in krb5_encrypt()
97 struct blkcipher_desc desc = { .tfm = tfm, .info = local_iv }; in krb5_decrypt()
390 struct blkcipher_desc desc;
489 struct blkcipher_desc desc;
602 struct blkcipher_desc desc = { .tfm = cipher, .info = iv }; in gss_krb5_cts_crypt()
/linux-4.4.14/fs/cifs/
Dsmbencrypt.c75 struct blkcipher_desc desc; in smbhash()
Dcifsencrypt.c794 struct blkcipher_desc desc; in calc_seckey()
/linux-4.4.14/security/keys/encrypted-keys/
Dencrypted.c404 static int init_blkcipher_desc(struct blkcipher_desc *desc, const u8 *key, in init_blkcipher_desc()
470 struct blkcipher_desc desc; in derived_key_encrypt()
568 struct blkcipher_desc desc; in derived_key_decrypt()
/linux-4.4.14/drivers/usb/wusbcore/
Dcrypto.c205 struct blkcipher_desc desc; in wusb_ccm_mac()
/linux-4.4.14/fs/ecryptfs/
Dkeystore.c604 struct blkcipher_desc desc;
891 struct blkcipher_desc desc;
1670 struct blkcipher_desc desc = { in decrypt_passphrase_encrypted_session_key()
2194 struct blkcipher_desc desc = { in write_tag_3_packet()
Dcrypto.c2123 struct blkcipher_desc desc; in ecryptfs_set_f_namelen()
/linux-4.4.14/net/mac802154/
Dllsec.c623 struct blkcipher_desc req = { in llsec_do_encrypt_unauth()
833 struct blkcipher_desc req = { in llsec_do_decrypt_unauth()
/linux-4.4.14/net/bluetooth/
Dsmp.c375 struct blkcipher_desc desc; in smp_e()