Home
last modified time | relevance | path

Searched defs:nbytes (Results 1 – 25 of 51) sorted by relevance

123

/arch/x86/crypto/
Dserpent_avx2_glue.c140 struct scatterlist *src, unsigned int nbytes) in ecb_encrypt()
146 struct scatterlist *src, unsigned int nbytes) in ecb_decrypt()
152 struct scatterlist *src, unsigned int nbytes) in cbc_encrypt()
159 struct scatterlist *src, unsigned int nbytes) in cbc_decrypt()
166 struct scatterlist *src, unsigned int nbytes) in ctr_crypt()
171 static inline bool serpent_fpu_begin(bool fpu_enabled, unsigned int nbytes) in serpent_fpu_begin()
187 static void encrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in encrypt_callback()
211 static void decrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in decrypt_callback()
236 struct scatterlist *src, unsigned int nbytes) in lrw_encrypt()
262 struct scatterlist *src, unsigned int nbytes) in lrw_decrypt()
[all …]
Dcamellia_aesni_avx2_glue.c154 struct scatterlist *src, unsigned int nbytes) in ecb_encrypt()
160 struct scatterlist *src, unsigned int nbytes) in ecb_decrypt()
166 struct scatterlist *src, unsigned int nbytes) in cbc_encrypt()
173 struct scatterlist *src, unsigned int nbytes) in cbc_decrypt()
180 struct scatterlist *src, unsigned int nbytes) in ctr_crypt()
185 static inline bool camellia_fpu_begin(bool fpu_enabled, unsigned int nbytes) in camellia_fpu_begin()
209 static void encrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in encrypt_callback()
239 static void decrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in decrypt_callback()
270 struct scatterlist *src, unsigned int nbytes) in lrw_encrypt()
296 struct scatterlist *src, unsigned int nbytes) in lrw_decrypt()
[all …]
Dcast5_avx_glue.c48 static inline bool cast5_fpu_begin(bool fpu_enabled, unsigned int nbytes) in cast5_fpu_begin()
65 unsigned int nbytes; in ecb_crypt() local
113 struct scatterlist *src, unsigned int nbytes) in ecb_encrypt()
122 struct scatterlist *src, unsigned int nbytes) in ecb_decrypt()
135 unsigned int nbytes = walk->nbytes; in __cbc_encrypt() local
155 struct scatterlist *src, unsigned int nbytes) in cbc_encrypt()
176 unsigned int nbytes = walk->nbytes; in __cbc_decrypt() local
227 struct scatterlist *src, unsigned int nbytes) in cbc_decrypt()
255 unsigned int nbytes = walk->nbytes; in ctr_crypt_final() local
269 unsigned int nbytes = walk->nbytes; in __ctr_crypt() local
[all …]
Dcamellia_aesni_avx_glue.c158 struct scatterlist *src, unsigned int nbytes) in ecb_encrypt()
164 struct scatterlist *src, unsigned int nbytes) in ecb_decrypt()
170 struct scatterlist *src, unsigned int nbytes) in cbc_encrypt()
177 struct scatterlist *src, unsigned int nbytes) in cbc_decrypt()
184 struct scatterlist *src, unsigned int nbytes) in ctr_crypt()
189 static inline bool camellia_fpu_begin(bool fpu_enabled, unsigned int nbytes) in camellia_fpu_begin()
213 static void encrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in encrypt_callback()
237 static void decrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in decrypt_callback()
262 struct scatterlist *src, unsigned int nbytes) in lrw_encrypt()
288 struct scatterlist *src, unsigned int nbytes) in lrw_decrypt()
[all …]
Dtwofish_avx_glue.c174 struct scatterlist *src, unsigned int nbytes) in ecb_encrypt()
180 struct scatterlist *src, unsigned int nbytes) in ecb_decrypt()
186 struct scatterlist *src, unsigned int nbytes) in cbc_encrypt()
193 struct scatterlist *src, unsigned int nbytes) in cbc_decrypt()
200 struct scatterlist *src, unsigned int nbytes) in ctr_crypt()
205 static inline bool twofish_fpu_begin(bool fpu_enabled, unsigned int nbytes) in twofish_fpu_begin()
221 static void encrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in encrypt_callback()
243 static void decrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in decrypt_callback()
266 struct scatterlist *src, unsigned int nbytes) in lrw_encrypt()
292 struct scatterlist *src, unsigned int nbytes) in lrw_decrypt()
[all …]
Dserpent_avx_glue.c174 struct scatterlist *src, unsigned int nbytes) in ecb_encrypt()
180 struct scatterlist *src, unsigned int nbytes) in ecb_decrypt()
186 struct scatterlist *src, unsigned int nbytes) in cbc_encrypt()
193 struct scatterlist *src, unsigned int nbytes) in cbc_decrypt()
200 struct scatterlist *src, unsigned int nbytes) in ctr_crypt()
205 static inline bool serpent_fpu_begin(bool fpu_enabled, unsigned int nbytes) in serpent_fpu_begin()
221 static void encrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in encrypt_callback()
238 static void decrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in decrypt_callback()
272 struct scatterlist *src, unsigned int nbytes) in lrw_encrypt()
298 struct scatterlist *src, unsigned int nbytes) in lrw_decrypt()
[all …]
Dtwofish_glue_3way.c155 struct scatterlist *src, unsigned int nbytes) in ecb_encrypt()
161 struct scatterlist *src, unsigned int nbytes) in ecb_decrypt()
167 struct scatterlist *src, unsigned int nbytes) in cbc_encrypt()
174 struct scatterlist *src, unsigned int nbytes) in cbc_decrypt()
181 struct scatterlist *src, unsigned int nbytes) in ctr_crypt()
186 static void encrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in encrypt_callback()
201 static void decrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in decrypt_callback()
232 struct scatterlist *src, unsigned int nbytes) in lrw_encrypt()
249 struct scatterlist *src, unsigned int nbytes) in lrw_decrypt()
296 struct scatterlist *src, unsigned int nbytes) in xts_encrypt()
[all …]
Dserpent_sse2_glue.c143 struct scatterlist *src, unsigned int nbytes) in ecb_encrypt()
149 struct scatterlist *src, unsigned int nbytes) in ecb_decrypt()
155 struct scatterlist *src, unsigned int nbytes) in cbc_encrypt()
162 struct scatterlist *src, unsigned int nbytes) in cbc_decrypt()
169 struct scatterlist *src, unsigned int nbytes) in ctr_crypt()
174 static inline bool serpent_fpu_begin(bool fpu_enabled, unsigned int nbytes) in serpent_fpu_begin()
190 static void encrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in encrypt_callback()
207 static void decrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in decrypt_callback()
245 struct scatterlist *src, unsigned int nbytes) in lrw_encrypt()
271 struct scatterlist *src, unsigned int nbytes) in lrw_decrypt()
[all …]
Dcast6_avx_glue.c161 struct scatterlist *src, unsigned int nbytes) in ecb_encrypt()
167 struct scatterlist *src, unsigned int nbytes) in ecb_decrypt()
173 struct scatterlist *src, unsigned int nbytes) in cbc_encrypt()
180 struct scatterlist *src, unsigned int nbytes) in cbc_decrypt()
187 struct scatterlist *src, unsigned int nbytes) in ctr_crypt()
192 static inline bool cast6_fpu_begin(bool fpu_enabled, unsigned int nbytes) in cast6_fpu_begin()
208 static void encrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in encrypt_callback()
225 static void decrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in decrypt_callback()
262 struct scatterlist *src, unsigned int nbytes) in lrw_encrypt()
288 struct scatterlist *src, unsigned int nbytes) in lrw_decrypt()
[all …]
Dblowfish_glue.c86 unsigned int nbytes; in ecb_crypt() local
126 struct scatterlist *src, unsigned int nbytes) in ecb_encrypt()
135 struct scatterlist *src, unsigned int nbytes) in ecb_decrypt()
148 unsigned int nbytes = walk->nbytes; in __cbc_encrypt() local
168 struct scatterlist *src, unsigned int nbytes) in cbc_encrypt()
189 unsigned int nbytes = walk->nbytes; in __cbc_decrypt() local
249 struct scatterlist *src, unsigned int nbytes) in cbc_decrypt()
271 unsigned int nbytes = walk->nbytes; in ctr_crypt_final() local
285 unsigned int nbytes = walk->nbytes; in __ctr_crypt() local
337 struct scatterlist *src, unsigned int nbytes) in ctr_crypt()
Dglue_helper.c41 unsigned int nbytes, i, func_bytes; in __glue_ecb_crypt_128bit() local
83 struct scatterlist *src, unsigned int nbytes) in glue_ecb_crypt_128bit()
98 unsigned int nbytes = walk->nbytes; in __glue_cbc_encrypt_128bit() local
120 struct scatterlist *src, unsigned int nbytes) in glue_cbc_encrypt_128bit()
144 unsigned int nbytes = walk->nbytes; in __glue_cbc_decrypt_128bit() local
194 struct scatterlist *src, unsigned int nbytes) in glue_cbc_decrypt_128bit()
223 unsigned int nbytes = walk->nbytes; in glue_ctr_crypt_final_128bit() local
242 unsigned int nbytes = walk->nbytes; in __glue_ctr_crypt_128bit() local
277 struct scatterlist *src, unsigned int nbytes) in glue_ctr_crypt_128bit()
312 unsigned int nbytes = walk->nbytes; in __glue_xts_crypt_128bit() local
[all …]
Ddes3_ede_glue.c90 unsigned int nbytes; in ecb_crypt() local
131 struct scatterlist *src, unsigned int nbytes) in ecb_encrypt()
141 struct scatterlist *src, unsigned int nbytes) in ecb_decrypt()
155 unsigned int nbytes = walk->nbytes; in __cbc_encrypt() local
175 struct scatterlist *src, unsigned int nbytes) in cbc_encrypt()
196 unsigned int nbytes = walk->nbytes; in __cbc_decrypt() local
254 struct scatterlist *src, unsigned int nbytes) in cbc_decrypt()
277 unsigned int nbytes = walk->nbytes; in ctr_crypt_final() local
291 unsigned int nbytes = walk->nbytes; in __ctr_crypt() local
338 struct scatterlist *src, unsigned int nbytes) in ctr_crypt()
Dcamellia_glue.c1377 struct scatterlist *src, unsigned int nbytes) in ecb_encrypt()
1383 struct scatterlist *src, unsigned int nbytes) in ecb_decrypt()
1389 struct scatterlist *src, unsigned int nbytes) in cbc_encrypt()
1396 struct scatterlist *src, unsigned int nbytes) in cbc_decrypt()
1403 struct scatterlist *src, unsigned int nbytes) in ctr_crypt()
1408 static void encrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in encrypt_callback()
1424 static void decrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in decrypt_callback()
1458 struct scatterlist *src, unsigned int nbytes) in lrw_encrypt()
1475 struct scatterlist *src, unsigned int nbytes) in lrw_decrypt()
1522 struct scatterlist *src, unsigned int nbytes) in xts_encrypt()
[all …]
Daesni-intel_glue.c365 unsigned int nbytes) in ecb_encrypt()
389 unsigned int nbytes) in ecb_decrypt()
413 unsigned int nbytes) in cbc_encrypt()
437 unsigned int nbytes) in cbc_decrypt()
467 unsigned int nbytes = walk->nbytes; in ctr_crypt_final() local
496 unsigned int nbytes) in ctr_crypt()
548 static void lrw_xts_encrypt_callback(void *ctx, u8 *blks, unsigned int nbytes) in lrw_xts_encrypt_callback()
553 static void lrw_xts_decrypt_callback(void *ctx, u8 *blks, unsigned int nbytes) in lrw_xts_decrypt_callback()
580 struct scatterlist *src, unsigned int nbytes) in lrw_encrypt()
604 struct scatterlist *src, unsigned int nbytes) in lrw_decrypt()
[all …]
/arch/s390/crypto/
Ddes_s390.c92 unsigned int nbytes, n; in ecb_desall_crypt() local
110 unsigned int nbytes, n; in cbc_desall_crypt() local
133 unsigned int nbytes) in ecb_des_encrypt()
143 unsigned int nbytes) in ecb_des_decrypt()
173 unsigned int nbytes) in cbc_des_encrypt()
183 unsigned int nbytes) in cbc_des_decrypt()
277 unsigned int nbytes) in ecb_des3_encrypt()
287 unsigned int nbytes) in ecb_des3_decrypt()
318 unsigned int nbytes) in cbc_des3_encrypt()
328 unsigned int nbytes) in cbc_des3_decrypt()
[all …]
Daes_s390.c189 unsigned int nbytes) in fallback_blk_dec()
208 unsigned int nbytes) in fallback_blk_enc()
248 unsigned int nbytes, n; in ecb_aes_crypt() local
265 unsigned int nbytes) in ecb_aes_encrypt()
279 unsigned int nbytes) in ecb_aes_decrypt()
364 unsigned int nbytes, n; in cbc_aes_crypt() local
387 unsigned int nbytes) in cbc_aes_encrypt()
401 unsigned int nbytes) in cbc_aes_decrypt()
458 unsigned int nbytes) in xts_fallback_decrypt()
477 unsigned int nbytes) in xts_fallback_encrypt()
[all …]
/arch/arm64/crypto/
Dspeck-neon-glue.c44 struct scatterlist *src, unsigned int nbytes, in __speck128_xts_crypt()
60 unsigned int nbytes = walk.nbytes; in __speck128_xts_crypt() local
98 unsigned int nbytes) in speck128_xts_encrypt()
108 unsigned int nbytes) in speck128_xts_decrypt()
155 struct scatterlist *src, unsigned int nbytes, in __speck64_xts_crypt()
171 unsigned int nbytes = walk.nbytes; in __speck64_xts_crypt() local
209 unsigned int nbytes) in speck64_xts_encrypt()
218 unsigned int nbytes) in speck64_xts_decrypt()
Daes-glue.c105 struct scatterlist *src, unsigned int nbytes) in ecb_encrypt()
127 struct scatterlist *src, unsigned int nbytes) in ecb_decrypt()
149 struct scatterlist *src, unsigned int nbytes) in cbc_encrypt()
172 struct scatterlist *src, unsigned int nbytes) in cbc_decrypt()
195 struct scatterlist *src, unsigned int nbytes) in ctr_encrypt()
241 struct scatterlist *src, unsigned int nbytes) in xts_encrypt()
265 struct scatterlist *src, unsigned int nbytes) in xts_decrypt()
/arch/arm/crypto/
Dspeck-neon-glue.c50 struct scatterlist *src, unsigned int nbytes, in __speck128_xts_crypt()
66 unsigned int nbytes = walk.nbytes; in __speck128_xts_crypt() local
104 unsigned int nbytes) in speck128_xts_encrypt()
114 unsigned int nbytes) in speck128_xts_decrypt()
161 struct scatterlist *src, unsigned int nbytes, in __speck64_xts_crypt()
177 unsigned int nbytes = walk.nbytes; in __speck64_xts_crypt() local
215 unsigned int nbytes) in speck64_xts_encrypt()
224 unsigned int nbytes) in speck64_xts_decrypt()
Daes-ce-glue.c177 struct scatterlist *src, unsigned int nbytes) in ecb_encrypt()
200 struct scatterlist *src, unsigned int nbytes) in ecb_decrypt()
223 struct scatterlist *src, unsigned int nbytes) in cbc_encrypt()
247 struct scatterlist *src, unsigned int nbytes) in cbc_decrypt()
271 struct scatterlist *src, unsigned int nbytes) in ctr_encrypt()
314 struct scatterlist *src, unsigned int nbytes) in xts_encrypt()
339 struct scatterlist *src, unsigned int nbytes) in xts_decrypt()
Daesbs-glue.c112 struct scatterlist *src, unsigned int nbytes) in aesbs_cbc_encrypt()
153 struct scatterlist *src, unsigned int nbytes) in aesbs_cbc_decrypt()
211 unsigned int nbytes) in aesbs_ctr_encrypt()
260 struct scatterlist *src, unsigned int nbytes) in aesbs_xts_encrypt()
284 struct scatterlist *src, unsigned int nbytes) in aesbs_xts_decrypt()
/arch/sparc/crypto/
Ddes_glue.c95 unsigned int nbytes, bool encrypt) in __ecb_crypt()
126 unsigned int nbytes) in ecb_encrypt()
133 unsigned int nbytes) in ecb_decrypt()
143 unsigned int nbytes) in cbc_encrypt()
174 unsigned int nbytes) in cbc_decrypt()
263 unsigned int nbytes, bool encrypt) in __ecb3_crypt()
297 unsigned int nbytes) in ecb3_encrypt()
304 unsigned int nbytes) in ecb3_decrypt()
315 unsigned int nbytes) in cbc3_encrypt()
351 unsigned int nbytes) in cbc3_decrypt()
Dcamellia_glue.c87 unsigned int nbytes, bool encrypt) in __ecb_crypt()
128 unsigned int nbytes) in ecb_encrypt()
135 unsigned int nbytes) in ecb_decrypt()
150 unsigned int nbytes) in cbc_encrypt()
189 unsigned int nbytes) in cbc_decrypt()
Daes_glue.c217 unsigned int nbytes) in ecb_encrypt()
246 unsigned int nbytes) in ecb_decrypt()
277 unsigned int nbytes) in cbc_encrypt()
306 unsigned int nbytes) in cbc_decrypt()
343 unsigned int nbytes = walk->nbytes; in ctr_crypt_final() local
354 unsigned int nbytes) in ctr_crypt()
/arch/powerpc/crypto/
Daes-spe-glue.c187 struct scatterlist *src, unsigned int nbytes) in ppc_ecb_encrypt()
215 struct scatterlist *src, unsigned int nbytes) in ppc_ecb_decrypt()
243 struct scatterlist *src, unsigned int nbytes) in ppc_cbc_encrypt()
271 struct scatterlist *src, unsigned int nbytes) in ppc_cbc_decrypt()
299 struct scatterlist *src, unsigned int nbytes) in ppc_ctr_crypt()
329 struct scatterlist *src, unsigned int nbytes) in ppc_xts_encrypt()
360 struct scatterlist *src, unsigned int nbytes) in ppc_xts_decrypt()

123