Initial commit
[hashcat.git] / nv / m08600_a0.cu
1 /**
2  * Author......: Jens Steube <jens.steube@gmail.com>
3  * License.....: MIT
4  */
5
6 #define _LOTUS5_
7
8 #include "include/constants.h"
9 #include "include/kernel_vendor.h"
10
11 #ifdef  VLIW1
12 #define VECT_SIZE1
13 #endif
14
15 #ifdef  VLIW2
16 #define VECT_SIZE1
17 #endif
18
19 #define DGST_R0 0
20 #define DGST_R1 1
21 #define DGST_R2 2
22 #define DGST_R3 3
23
24 #include "include/kernel_functions.c"
25 #include "types_nv.c"
26 #include "common_nv.c"
27 #include "include/rp_gpu.h"
28 #include "rp_nv.c"
29
30 #ifdef  VECT_SIZE1
31 #define VECT_COMPARE_S "check_single_vect1_comp4.c"
32 #define VECT_COMPARE_M "check_multi_vect1_comp4.c"
33 #endif
34
35 #ifdef  VECT_SIZE2
36 #define VECT_COMPARE_S "check_single_vect2_comp4.c"
37 #define VECT_COMPARE_M "check_multi_vect2_comp4.c"
38 #endif
39
40 __device__ __constant__ u32 lotus_magic_table[256] =
41 {
42   0xbd, 0x56, 0xea, 0xf2, 0xa2, 0xf1, 0xac, 0x2a,
43   0xb0, 0x93, 0xd1, 0x9c, 0x1b, 0x33, 0xfd, 0xd0,
44   0x30, 0x04, 0xb6, 0xdc, 0x7d, 0xdf, 0x32, 0x4b,
45   0xf7, 0xcb, 0x45, 0x9b, 0x31, 0xbb, 0x21, 0x5a,
46   0x41, 0x9f, 0xe1, 0xd9, 0x4a, 0x4d, 0x9e, 0xda,
47   0xa0, 0x68, 0x2c, 0xc3, 0x27, 0x5f, 0x80, 0x36,
48   0x3e, 0xee, 0xfb, 0x95, 0x1a, 0xfe, 0xce, 0xa8,
49   0x34, 0xa9, 0x13, 0xf0, 0xa6, 0x3f, 0xd8, 0x0c,
50   0x78, 0x24, 0xaf, 0x23, 0x52, 0xc1, 0x67, 0x17,
51   0xf5, 0x66, 0x90, 0xe7, 0xe8, 0x07, 0xb8, 0x60,
52   0x48, 0xe6, 0x1e, 0x53, 0xf3, 0x92, 0xa4, 0x72,
53   0x8c, 0x08, 0x15, 0x6e, 0x86, 0x00, 0x84, 0xfa,
54   0xf4, 0x7f, 0x8a, 0x42, 0x19, 0xf6, 0xdb, 0xcd,
55   0x14, 0x8d, 0x50, 0x12, 0xba, 0x3c, 0x06, 0x4e,
56   0xec, 0xb3, 0x35, 0x11, 0xa1, 0x88, 0x8e, 0x2b,
57   0x94, 0x99, 0xb7, 0x71, 0x74, 0xd3, 0xe4, 0xbf,
58   0x3a, 0xde, 0x96, 0x0e, 0xbc, 0x0a, 0xed, 0x77,
59   0xfc, 0x37, 0x6b, 0x03, 0x79, 0x89, 0x62, 0xc6,
60   0xd7, 0xc0, 0xd2, 0x7c, 0x6a, 0x8b, 0x22, 0xa3,
61   0x5b, 0x05, 0x5d, 0x02, 0x75, 0xd5, 0x61, 0xe3,
62   0x18, 0x8f, 0x55, 0x51, 0xad, 0x1f, 0x0b, 0x5e,
63   0x85, 0xe5, 0xc2, 0x57, 0x63, 0xca, 0x3d, 0x6c,
64   0xb4, 0xc5, 0xcc, 0x70, 0xb2, 0x91, 0x59, 0x0d,
65   0x47, 0x20, 0xc8, 0x4f, 0x58, 0xe0, 0x01, 0xe2,
66   0x16, 0x38, 0xc4, 0x6f, 0x3b, 0x0f, 0x65, 0x46,
67   0xbe, 0x7e, 0x2d, 0x7b, 0x82, 0xf9, 0x40, 0xb5,
68   0x1d, 0x73, 0xf8, 0xeb, 0x26, 0xc7, 0x87, 0x97,
69   0x25, 0x54, 0xb1, 0x28, 0xaa, 0x98, 0x9d, 0xa5,
70   0x64, 0x6d, 0x7a, 0xd4, 0x10, 0x81, 0x44, 0xef,
71   0x49, 0xd6, 0xae, 0x2e, 0xdd, 0x76, 0x5c, 0x2f,
72   0xa7, 0x1c, 0xc9, 0x09, 0x69, 0x9a, 0x83, 0xcf,
73   0x29, 0x39, 0xb9, 0xe9, 0x4c, 0xff, 0x43, 0xab,
74 };
75
76 #ifdef VECT_SIZE1
77 #define BOX(S,i) u32x ((S)[(i)])
78 #endif
79
80 #ifdef VECT_SIZE2
81 #define BOX(S,i) u32x ((S)[(i).x], (S)[(i).y])
82 #endif
83
84 __device__ static void lotus_mix (u32x *in, u32 s_lotus_magic_table[256])
85 {
86   u32x p = 0;
87
88   for (int i = 0; i < 18; i++)
89   {
90     u32 s = 48;
91
92     #pragma unroll 12
93     for (int j = 0; j < 12; j++)
94     {
95       u32x tmp_in = in[j];
96       u32x tmp_out = 0;
97
98       p = (p + s--) & 0xff; p = ((tmp_in >>  0) & 0xff) ^ BOX (s_lotus_magic_table, p); tmp_out |= p <<  0;
99       p = (p + s--) & 0xff; p = ((tmp_in >>  8) & 0xff) ^ BOX (s_lotus_magic_table, p); tmp_out |= p <<  8;
100       p = (p + s--) & 0xff; p = ((tmp_in >> 16) & 0xff) ^ BOX (s_lotus_magic_table, p); tmp_out |= p << 16;
101       p = (p + s--) & 0xff; p = ((tmp_in >> 24) & 0xff) ^ BOX (s_lotus_magic_table, p); tmp_out |= p << 24;
102
103       in[j] = tmp_out;
104     }
105   }
106 }
107
108 __device__ static void lotus_transform_password (u32x *in, u32x *out, u32 s_lotus_magic_table[256])
109 {
110   u32x t = out[3] >> 24;
111
112   u32x c;
113
114   for (int i = 0; i < 4; i++)
115   {
116     t ^= (in[i] >>  0) & 0xff; c = BOX (s_lotus_magic_table, t); out[i] ^= c <<  0; t = ((out[i] >>  0) & 0xff);
117     t ^= (in[i] >>  8) & 0xff; c = BOX (s_lotus_magic_table, t); out[i] ^= c <<  8; t = ((out[i] >>  8) & 0xff);
118     t ^= (in[i] >> 16) & 0xff; c = BOX (s_lotus_magic_table, t); out[i] ^= c << 16; t = ((out[i] >> 16) & 0xff);
119     t ^= (in[i] >> 24) & 0xff; c = BOX (s_lotus_magic_table, t); out[i] ^= c << 24; t = ((out[i] >> 24) & 0xff);
120   }
121 }
122
123 __device__ static void pad (u32x w[4], const u32 len)
124 {
125   const u32 val = 16 - len;
126
127   const u32 mask1 = val << 24;
128
129   const u32 mask2 = val << 16
130                    | val << 24;
131
132   const u32 mask3 = val <<  8
133                    | val << 16
134                    | val << 24;
135
136   const u32 mask4 = val <<  0
137                    | val <<  8
138                    | val << 16
139                    | val << 24;
140
141   switch (len)
142   {
143     case  0:  w[0]  = mask4;
144               w[1]  = mask4;
145               w[2]  = mask4;
146               w[3]  = mask4;
147               break;
148     case  1:  w[0] |= mask3;
149               w[1]  = mask4;
150               w[2]  = mask4;
151               w[3]  = mask4;
152               break;
153     case  2:  w[0] |= mask2;
154               w[1]  = mask4;
155               w[2]  = mask4;
156               w[3]  = mask4;
157               break;
158     case  3:  w[0] |= mask1;
159               w[1]  = mask4;
160               w[2]  = mask4;
161               w[3]  = mask4;
162               break;
163     case  4:  w[1]  = mask4;
164               w[2]  = mask4;
165               w[3]  = mask4;
166               break;
167     case  5:  w[1] |= mask3;
168               w[2]  = mask4;
169               w[3]  = mask4;
170               break;
171     case  6:  w[1] |= mask2;
172               w[2]  = mask4;
173               w[3]  = mask4;
174               break;
175     case  7:  w[1] |= mask1;
176               w[2]  = mask4;
177               w[3]  = mask4;
178               break;
179     case  8:  w[2]  = mask4;
180               w[3]  = mask4;
181               break;
182     case  9:  w[2] |= mask3;
183               w[3]  = mask4;
184               break;
185     case 10:  w[2] |= mask2;
186               w[3]  = mask4;
187               break;
188     case 11:  w[2] |= mask1;
189               w[3]  = mask4;
190               break;
191     case 12:  w[3]  = mask4;
192               break;
193     case 13:  w[3] |= mask3;
194               break;
195     case 14:  w[3] |= mask2;
196               break;
197     case 15:  w[3] |= mask1;
198               break;
199   }
200 }
201
202 __device__ static void mdtransform_norecalc (u32x state[4], u32x block[4], u32 s_lotus_magic_table[256])
203 {
204         u32x x[12];
205
206   x[ 0] = state[0];
207   x[ 1] = state[1];
208   x[ 2] = state[2];
209   x[ 3] = state[3];
210   x[ 4] = block[0];
211   x[ 5] = block[1];
212   x[ 6] = block[2];
213   x[ 7] = block[3];
214   x[ 8] = state[0] ^ block[0];
215   x[ 9] = state[1] ^ block[1];
216   x[10] = state[2] ^ block[2];
217   x[11] = state[3] ^ block[3];
218
219   lotus_mix (x, s_lotus_magic_table);
220
221   state[0] = x[0];
222   state[1] = x[1];
223   state[2] = x[2];
224   state[3] = x[3];
225 }
226
227 __device__ static void mdtransform (u32x state[4], u32x checksum[4], u32x block[4], u32 s_lotus_magic_table[256])
228 {
229   mdtransform_norecalc (state, block, s_lotus_magic_table);
230
231   lotus_transform_password (block, checksum, s_lotus_magic_table);
232 }
233
234 __device__ static void domino_big_md (const u32x saved_key[16], const u32 size, u32x state[4], u32 s_lotus_magic_table[256])
235 {
236         u32x checksum[4];
237
238   checksum[0] = 0;
239   checksum[1] = 0;
240   checksum[2] = 0;
241   checksum[3] = 0;
242
243         u32x block[4];
244
245   block[0] = saved_key[0];
246   block[1] = saved_key[1];
247   block[2] = saved_key[2];
248   block[3] = saved_key[3];
249
250   mdtransform (state, checksum, block, s_lotus_magic_table);
251
252         mdtransform_norecalc (state, checksum, s_lotus_magic_table);
253 }
254
255 __device__ __constant__ gpu_rule_t c_rules[1024];
256
257 extern "C" __global__ void __launch_bounds__ (256, 1) m08600_m04 (const pw_t *pws, const gpu_rule_t *rules_buf, const comb_t *combs_buf, const bf_t *bfs_buf, const void *tmps, void *hooks, const u32 *bitmaps_buf_s1_a, const u32 *bitmaps_buf_s1_b, const u32 *bitmaps_buf_s1_c, const u32 *bitmaps_buf_s1_d, const u32 *bitmaps_buf_s2_a, const u32 *bitmaps_buf_s2_b, const u32 *bitmaps_buf_s2_c, const u32 *bitmaps_buf_s2_d, plain_t *plains_buf, const digest_t *digests_buf, u32 *hashes_shown, const salt_t *salt_bufs, const void *esalt_bufs, u32 *d_return_buf, u32 *d_scryptV_buf, const u32 bitmap_mask, const u32 bitmap_shift1, const u32 bitmap_shift2, const u32 salt_pos, const u32 loop_pos, const u32 loop_cnt, const u32 rules_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
258 {
259   /**
260    * modifier
261    */
262
263   const u32 lid = threadIdx.x;
264
265   /**
266    * base
267    */
268
269   const u32 gid = (blockIdx.x * blockDim.x) + threadIdx.x;
270
271   /**
272    * sbox
273    */
274
275   __shared__ u32 s_lotus_magic_table[256];
276
277   s_lotus_magic_table[lid] = lotus_magic_table[lid];
278
279   __syncthreads ();
280
281   if (gid >= gid_max) return;
282
283   u32x pw_buf0[4];
284
285   pw_buf0[0] = pws[gid].i[ 0];
286   pw_buf0[1] = pws[gid].i[ 1];
287   pw_buf0[2] = pws[gid].i[ 2];
288   pw_buf0[3] = pws[gid].i[ 3];
289
290   u32x pw_buf1[4];
291
292   pw_buf1[0] = pws[gid].i[ 4];
293   pw_buf1[1] = pws[gid].i[ 5];
294   pw_buf1[2] = pws[gid].i[ 6];
295   pw_buf1[3] = pws[gid].i[ 7];
296
297   const u32 pw_len = pws[gid].pw_len;
298
299   /**
300    * loop
301    */
302
303   for (u32 il_pos = 0; il_pos < rules_cnt; il_pos++)
304   {
305     u32x w0[4];
306
307     w0[0] = pw_buf0[0];
308     w0[1] = pw_buf0[1];
309     w0[2] = pw_buf0[2];
310     w0[3] = pw_buf0[3];
311
312     u32x w1[4];
313
314     w1[0] = pw_buf1[0];
315     w1[1] = pw_buf1[1];
316     w1[2] = pw_buf1[2];
317     w1[3] = pw_buf1[3];
318
319     u32x w2[4];
320
321     w2[0] = 0;
322     w2[1] = 0;
323     w2[2] = 0;
324     w2[3] = 0;
325
326     u32x w3[4];
327
328     w3[0] = 0;
329     w3[1] = 0;
330     w3[2] = 0;
331     w3[3] = 0;
332
333     const u32 out_len = apply_rules (c_rules[il_pos].cmds, w0, w1, pw_len);
334
335     u32x w[16];
336
337     w[ 0] = w0[0];
338     w[ 1] = w0[1];
339     w[ 2] = w0[2];
340     w[ 3] = w0[3];
341     w[ 4] = w1[0];
342     w[ 5] = w1[1];
343     w[ 6] = w1[2];
344     w[ 7] = w1[3];
345     w[ 8] = 0;
346     w[ 9] = 0;
347     w[10] = 0;
348     w[11] = 0;
349     w[12] = 0;
350     w[13] = 0;
351     w[14] = 0;
352     w[15] = 0;
353
354     u32x state[4];
355
356     state[0] = 0;
357     state[1] = 0;
358     state[2] = 0;
359     state[3] = 0;
360
361     /**
362      * padding
363      */
364
365     if (pw_len < 16)
366     {
367       pad (&w[ 0], pw_len & 0xf);
368     }
369     else if (pw_len < 32)
370     {
371       pad (&w[ 4], pw_len & 0xf);
372     }
373     else if (pw_len < 48)
374     {
375       pad (&w[ 8], pw_len & 0xf);
376     }
377     else if (pw_len < 64)
378     {
379       pad (&w[12], pw_len & 0xf);
380     }
381
382     domino_big_md (w, pw_len, state, s_lotus_magic_table);
383
384     const u32x r0 = state[0];
385     const u32x r1 = state[1];
386     const u32x r2 = state[2];
387     const u32x r3 = state[3];
388
389     #include VECT_COMPARE_M
390   }
391 }
392
393 extern "C" __global__ void __launch_bounds__ (256, 1) m08600_m08 (const pw_t *pws, const gpu_rule_t *rules_buf, const comb_t *combs_buf, const bf_t *bfs_buf, const void *tmps, void *hooks, const u32 *bitmaps_buf_s1_a, const u32 *bitmaps_buf_s1_b, const u32 *bitmaps_buf_s1_c, const u32 *bitmaps_buf_s1_d, const u32 *bitmaps_buf_s2_a, const u32 *bitmaps_buf_s2_b, const u32 *bitmaps_buf_s2_c, const u32 *bitmaps_buf_s2_d, plain_t *plains_buf, const digest_t *digests_buf, u32 *hashes_shown, const salt_t *salt_bufs, const void *esalt_bufs, u32 *d_return_buf, u32 *d_scryptV_buf, const u32 bitmap_mask, const u32 bitmap_shift1, const u32 bitmap_shift2, const u32 salt_pos, const u32 loop_pos, const u32 loop_cnt, const u32 rules_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
394 {
395 }
396
397 extern "C" __global__ void __launch_bounds__ (256, 1) m08600_m16 (const pw_t *pws, const gpu_rule_t *rules_buf, const comb_t *combs_buf, const bf_t *bfs_buf, const void *tmps, void *hooks, const u32 *bitmaps_buf_s1_a, const u32 *bitmaps_buf_s1_b, const u32 *bitmaps_buf_s1_c, const u32 *bitmaps_buf_s1_d, const u32 *bitmaps_buf_s2_a, const u32 *bitmaps_buf_s2_b, const u32 *bitmaps_buf_s2_c, const u32 *bitmaps_buf_s2_d, plain_t *plains_buf, const digest_t *digests_buf, u32 *hashes_shown, const salt_t *salt_bufs, const void *esalt_bufs, u32 *d_return_buf, u32 *d_scryptV_buf, const u32 bitmap_mask, const u32 bitmap_shift1, const u32 bitmap_shift2, const u32 salt_pos, const u32 loop_pos, const u32 loop_cnt, const u32 rules_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
398 {
399 }
400
401 extern "C" __global__ void __launch_bounds__ (256, 1) m08600_s04 (const pw_t *pws, const gpu_rule_t *rules_buf, const comb_t *combs_buf, const bf_t *bfs_buf, const void *tmps, void *hooks, const u32 *bitmaps_buf_s1_a, const u32 *bitmaps_buf_s1_b, const u32 *bitmaps_buf_s1_c, const u32 *bitmaps_buf_s1_d, const u32 *bitmaps_buf_s2_a, const u32 *bitmaps_buf_s2_b, const u32 *bitmaps_buf_s2_c, const u32 *bitmaps_buf_s2_d, plain_t *plains_buf, const digest_t *digests_buf, u32 *hashes_shown, const salt_t *salt_bufs, const void *esalt_bufs, u32 *d_return_buf, u32 *d_scryptV_buf, const u32 bitmap_mask, const u32 bitmap_shift1, const u32 bitmap_shift2, const u32 salt_pos, const u32 loop_pos, const u32 loop_cnt, const u32 rules_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
402 {
403   /**
404    * modifier
405    */
406
407   const u32 lid = threadIdx.x;
408
409   /**
410    * base
411    */
412
413   const u32 gid = (blockIdx.x * blockDim.x) + threadIdx.x;
414
415   /**
416    * sbox
417    */
418
419   __shared__ u32 s_lotus_magic_table[256];
420
421   s_lotus_magic_table[lid] = lotus_magic_table[lid];
422
423   __syncthreads ();
424
425   if (gid >= gid_max) return;
426
427   u32x pw_buf0[4];
428
429   pw_buf0[0] = pws[gid].i[ 0];
430   pw_buf0[1] = pws[gid].i[ 1];
431   pw_buf0[2] = pws[gid].i[ 2];
432   pw_buf0[3] = pws[gid].i[ 3];
433
434   u32x pw_buf1[4];
435
436   pw_buf1[0] = pws[gid].i[ 4];
437   pw_buf1[1] = pws[gid].i[ 5];
438   pw_buf1[2] = pws[gid].i[ 6];
439   pw_buf1[3] = pws[gid].i[ 7];
440
441   const u32 pw_len = pws[gid].pw_len;
442
443   /**
444    * digest
445    */
446
447   const u32 search[4] =
448   {
449     digests_buf[digests_offset].digest_buf[DGST_R0],
450     digests_buf[digests_offset].digest_buf[DGST_R1],
451     digests_buf[digests_offset].digest_buf[DGST_R2],
452     digests_buf[digests_offset].digest_buf[DGST_R3]
453   };
454
455   /**
456    * loop
457    */
458
459   for (u32 il_pos = 0; il_pos < rules_cnt; il_pos++)
460   {
461     u32x w0[4];
462
463     w0[0] = pw_buf0[0];
464     w0[1] = pw_buf0[1];
465     w0[2] = pw_buf0[2];
466     w0[3] = pw_buf0[3];
467
468     u32x w1[4];
469
470     w1[0] = pw_buf1[0];
471     w1[1] = pw_buf1[1];
472     w1[2] = pw_buf1[2];
473     w1[3] = pw_buf1[3];
474
475     u32x w2[4];
476
477     w2[0] = 0;
478     w2[1] = 0;
479     w2[2] = 0;
480     w2[3] = 0;
481
482     u32x w3[4];
483
484     w3[0] = 0;
485     w3[1] = 0;
486     w3[2] = 0;
487     w3[3] = 0;
488
489     const u32 out_len = apply_rules (c_rules[il_pos].cmds, w0, w1, pw_len);
490
491     u32x w[16];
492
493     w[ 0] = w0[0];
494     w[ 1] = w0[1];
495     w[ 2] = w0[2];
496     w[ 3] = w0[3];
497     w[ 4] = w1[0];
498     w[ 5] = w1[1];
499     w[ 6] = w1[2];
500     w[ 7] = w1[3];
501     w[ 8] = 0;
502     w[ 9] = 0;
503     w[10] = 0;
504     w[11] = 0;
505     w[12] = 0;
506     w[13] = 0;
507     w[14] = 0;
508     w[15] = 0;
509
510     u32x state[4];
511
512     state[0] = 0;
513     state[1] = 0;
514     state[2] = 0;
515     state[3] = 0;
516
517     /**
518      * padding
519      */
520
521     if (pw_len < 16)
522     {
523       pad (&w[ 0], pw_len & 0xf);
524     }
525     else if (pw_len < 32)
526     {
527       pad (&w[ 4], pw_len & 0xf);
528     }
529     else if (pw_len < 48)
530     {
531       pad (&w[ 8], pw_len & 0xf);
532     }
533     else if (pw_len < 64)
534     {
535       pad (&w[12], pw_len & 0xf);
536     }
537
538     domino_big_md (w, pw_len, state, s_lotus_magic_table);
539
540     const u32x r0 = state[0];
541     const u32x r1 = state[1];
542     const u32x r2 = state[2];
543     const u32x r3 = state[3];
544
545     #include VECT_COMPARE_S
546   }
547 }
548
549 extern "C" __global__ void __launch_bounds__ (256, 1) m08600_s08 (const pw_t *pws, const gpu_rule_t *rules_buf, const comb_t *combs_buf, const bf_t *bfs_buf, const void *tmps, void *hooks, const u32 *bitmaps_buf_s1_a, const u32 *bitmaps_buf_s1_b, const u32 *bitmaps_buf_s1_c, const u32 *bitmaps_buf_s1_d, const u32 *bitmaps_buf_s2_a, const u32 *bitmaps_buf_s2_b, const u32 *bitmaps_buf_s2_c, const u32 *bitmaps_buf_s2_d, plain_t *plains_buf, const digest_t *digests_buf, u32 *hashes_shown, const salt_t *salt_bufs, const void *esalt_bufs, u32 *d_return_buf, u32 *d_scryptV_buf, const u32 bitmap_mask, const u32 bitmap_shift1, const u32 bitmap_shift2, const u32 salt_pos, const u32 loop_pos, const u32 loop_cnt, const u32 rules_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
550 {
551 }
552
553 extern "C" __global__ void __launch_bounds__ (256, 1) m08600_s16 (const pw_t *pws, const gpu_rule_t *rules_buf, const comb_t *combs_buf, const bf_t *bfs_buf, const void *tmps, void *hooks, const u32 *bitmaps_buf_s1_a, const u32 *bitmaps_buf_s1_b, const u32 *bitmaps_buf_s1_c, const u32 *bitmaps_buf_s1_d, const u32 *bitmaps_buf_s2_a, const u32 *bitmaps_buf_s2_b, const u32 *bitmaps_buf_s2_c, const u32 *bitmaps_buf_s2_d, plain_t *plains_buf, const digest_t *digests_buf, u32 *hashes_shown, const salt_t *salt_bufs, const void *esalt_bufs, u32 *d_return_buf, u32 *d_scryptV_buf, const u32 bitmap_mask, const u32 bitmap_shift1, const u32 bitmap_shift2, const u32 salt_pos, const u32 loop_pos, const u32 loop_cnt, const u32 rules_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
554 {
555 }