Home
last modified time | relevance | path

Searched defs:nbytes (Results 1 – 25 of 52) 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
268 unsigned int nbytes = walk->nbytes; in __ctr_crypt() local
[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 …]
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 …]
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 …]
Dglue_helper.c42 unsigned int nbytes, i, func_bytes; in __glue_ecb_crypt_128bit() local
84 struct scatterlist *src, unsigned int nbytes) in glue_ecb_crypt_128bit()
99 unsigned int nbytes = walk->nbytes; in __glue_cbc_encrypt_128bit() local
121 struct scatterlist *src, unsigned int nbytes) in glue_cbc_encrypt_128bit()
145 unsigned int nbytes = walk->nbytes; in __glue_cbc_decrypt_128bit() local
192 struct scatterlist *src, unsigned int nbytes) in glue_cbc_decrypt_128bit()
221 unsigned int nbytes = walk->nbytes; in glue_ctr_crypt_final_128bit() local
240 unsigned int nbytes = walk->nbytes; in __glue_ctr_crypt_128bit() local
275 struct scatterlist *src, unsigned int nbytes) in glue_ctr_crypt_128bit()
310 unsigned int nbytes = walk->nbytes; in __glue_xts_crypt_128bit() local
[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
284 unsigned int nbytes = walk->nbytes; in __ctr_crypt() local
336 struct scatterlist *src, unsigned int nbytes) in ctr_crypt()
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
290 unsigned int nbytes = walk->nbytes; in __ctr_crypt() local
337 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 …]
/arch/s390/crypto/
Ddes_s390.c93 unsigned int nbytes, n; in ecb_desall_crypt() local
111 unsigned int nbytes, n; in cbc_desall_crypt() local
134 unsigned int nbytes) in ecb_des_encrypt()
144 unsigned int nbytes) in ecb_des_decrypt()
174 unsigned int nbytes) in cbc_des_encrypt()
184 unsigned int nbytes) in cbc_des_decrypt()
291 unsigned int nbytes) in ecb_des3_encrypt()
301 unsigned int nbytes) in ecb_des3_decrypt()
332 unsigned int nbytes) in cbc_des3_encrypt()
342 unsigned int nbytes) in cbc_des3_decrypt()
[all …]
Dpaes_s390.c103 unsigned int nbytes, n, k; in ecb_paes_crypt() local
124 unsigned int nbytes) in ecb_paes_encrypt()
134 unsigned int nbytes) in ecb_paes_decrypt()
198 unsigned int nbytes, n, k; in cbc_paes_crypt() local
227 unsigned int nbytes) in cbc_paes_encrypt()
237 unsigned int nbytes) in cbc_paes_decrypt()
319 unsigned int keylen, offset, nbytes, n, k; in xts_paes_crypt() local
363 unsigned int nbytes) in xts_paes_encrypt()
373 unsigned int nbytes) in xts_paes_decrypt()
435 static unsigned int __ctrblk_init(u8 *ctrptr, u8 *iv, unsigned int nbytes) in __ctrblk_init()
[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/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
353 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()
/arch/arm64/crypto/
Daes-ctr-fallback.h29 int nbytes = walk.nbytes; in aes_ctr_encrypt_fallback() local
/arch/m32r/kernel/
Dsys_m32r.c87 asmlinkage int sys_cachectl(char *addr, int nbytes, int op) in sys_cachectl()
/arch/s390/include/asm/
Darchrandom.h23 static void s390_arch_random_generate(u8 *buf, unsigned int nbytes) in s390_arch_random_generate()
/arch/nios2/lib/
Dmemcpy.c35 #define BYTE_COPY_FWD(dst_bp, src_bp, nbytes) \ argument
53 #define WORD_COPY_FWD(dst_bp, src_bp, nbytes_left, nbytes) \ argument
/arch/x86/include/asm/crypto/
Dglue_helper.h49 bool fpu_enabled, unsigned int nbytes) in glue_fpu_begin()
76 bool fpu_enabled, unsigned int nbytes) in glue_skwalk_fpu_begin()

123