2 * Author......: Jens Steube <jens.steube@gmail.com>
8 #include "include/constants.h"
9 #include "include/kernel_vendor.h"
24 #include "include/kernel_functions.c"
26 #include "common_nv.c"
27 #include "include/rp_gpu.h"
31 #define VECT_COMPARE_S "check_single_vect1_comp4.c"
32 #define VECT_COMPARE_M "check_multi_vect1_comp4.c"
36 #define VECT_COMPARE_S "check_single_vect2_comp4.c"
37 #define VECT_COMPARE_M "check_multi_vect2_comp4.c"
41 #define VECT_COMPARE_S "check_single_vect4_comp4.c"
42 #define VECT_COMPARE_M "check_multi_vect4_comp4.c"
45 __device__ __constant__ gpu_rule_t c_rules[1024];
47 extern "C" __global__ void __launch_bounds__ (256, 1) m00010_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)
53 const u32 lid = threadIdx.x;
59 const u32 gid = (blockIdx.x * blockDim.x) + threadIdx.x;
61 if (gid >= gid_max) return;
65 pw_buf0[0] = pws[gid].i[ 0];
66 pw_buf0[1] = pws[gid].i[ 1];
67 pw_buf0[2] = pws[gid].i[ 2];
68 pw_buf0[3] = pws[gid].i[ 3];
72 pw_buf1[0] = pws[gid].i[ 4];
73 pw_buf1[1] = pws[gid].i[ 5];
74 pw_buf1[2] = pws[gid].i[ 6];
75 pw_buf1[3] = pws[gid].i[ 7];
77 const u32 pw_len = pws[gid].pw_len;
85 salt_buf0[0] = salt_bufs[salt_pos].salt_buf[0];
86 salt_buf0[1] = salt_bufs[salt_pos].salt_buf[1];
87 salt_buf0[2] = salt_bufs[salt_pos].salt_buf[2];
88 salt_buf0[3] = salt_bufs[salt_pos].salt_buf[3];
92 salt_buf1[0] = salt_bufs[salt_pos].salt_buf[4];
93 salt_buf1[1] = salt_bufs[salt_pos].salt_buf[5];
94 salt_buf1[2] = salt_bufs[salt_pos].salt_buf[6];
95 salt_buf1[3] = salt_bufs[salt_pos].salt_buf[7];
97 const u32 salt_len = salt_bufs[salt_pos].salt_len;
103 for (u32 il_pos = 0; il_pos < rules_cnt; il_pos++)
133 const u32 out_len = apply_rules (c_rules[il_pos].cmds, w0, w1, pw_len);
141 s0[0] = salt_buf0[0];
142 s0[1] = salt_buf0[1];
143 s0[2] = salt_buf0[2];
144 s0[3] = salt_buf0[3];
148 s1[0] = salt_buf1[0];
149 s1[1] = salt_buf1[1];
150 s1[2] = salt_buf1[2];
151 s1[3] = salt_buf1[3];
167 switch_buffer_by_offset (s0, s1, s2, s3, out_len);
169 const u32 pw_salt_len = out_len + salt_len;
188 w3[2] = pw_salt_len * 8;
191 append_0x80_4 (w0, w1, w2, w3, pw_salt_len);
204 MD5_STEP (MD5_Fo, a, b, c, d, w0[0], MD5C00, MD5S00);
205 MD5_STEP (MD5_Fo, d, a, b, c, w0[1], MD5C01, MD5S01);
206 MD5_STEP (MD5_Fo, c, d, a, b, w0[2], MD5C02, MD5S02);
207 MD5_STEP (MD5_Fo, b, c, d, a, w0[3], MD5C03, MD5S03);
208 MD5_STEP (MD5_Fo, a, b, c, d, w1[0], MD5C04, MD5S00);
209 MD5_STEP (MD5_Fo, d, a, b, c, w1[1], MD5C05, MD5S01);
210 MD5_STEP (MD5_Fo, c, d, a, b, w1[2], MD5C06, MD5S02);
211 MD5_STEP (MD5_Fo, b, c, d, a, w1[3], MD5C07, MD5S03);
212 MD5_STEP (MD5_Fo, a, b, c, d, w2[0], MD5C08, MD5S00);
213 MD5_STEP (MD5_Fo, d, a, b, c, w2[1], MD5C09, MD5S01);
214 MD5_STEP (MD5_Fo, c, d, a, b, w2[2], MD5C0a, MD5S02);
215 MD5_STEP (MD5_Fo, b, c, d, a, w2[3], MD5C0b, MD5S03);
216 MD5_STEP (MD5_Fo, a, b, c, d, w3[0], MD5C0c, MD5S00);
217 MD5_STEP (MD5_Fo, d, a, b, c, w3[1], MD5C0d, MD5S01);
218 MD5_STEP (MD5_Fo, c, d, a, b, w3[2], MD5C0e, MD5S02);
219 MD5_STEP (MD5_Fo, b, c, d, a, w3[3], MD5C0f, MD5S03);
221 MD5_STEP (MD5_Go, a, b, c, d, w0[1], MD5C10, MD5S10);
222 MD5_STEP (MD5_Go, d, a, b, c, w1[2], MD5C11, MD5S11);
223 MD5_STEP (MD5_Go, c, d, a, b, w2[3], MD5C12, MD5S12);
224 MD5_STEP (MD5_Go, b, c, d, a, w0[0], MD5C13, MD5S13);
225 MD5_STEP (MD5_Go, a, b, c, d, w1[1], MD5C14, MD5S10);
226 MD5_STEP (MD5_Go, d, a, b, c, w2[2], MD5C15, MD5S11);
227 MD5_STEP (MD5_Go, c, d, a, b, w3[3], MD5C16, MD5S12);
228 MD5_STEP (MD5_Go, b, c, d, a, w1[0], MD5C17, MD5S13);
229 MD5_STEP (MD5_Go, a, b, c, d, w2[1], MD5C18, MD5S10);
230 MD5_STEP (MD5_Go, d, a, b, c, w3[2], MD5C19, MD5S11);
231 MD5_STEP (MD5_Go, c, d, a, b, w0[3], MD5C1a, MD5S12);
232 MD5_STEP (MD5_Go, b, c, d, a, w2[0], MD5C1b, MD5S13);
233 MD5_STEP (MD5_Go, a, b, c, d, w3[1], MD5C1c, MD5S10);
234 MD5_STEP (MD5_Go, d, a, b, c, w0[2], MD5C1d, MD5S11);
235 MD5_STEP (MD5_Go, c, d, a, b, w1[3], MD5C1e, MD5S12);
236 MD5_STEP (MD5_Go, b, c, d, a, w3[0], MD5C1f, MD5S13);
238 MD5_STEP (MD5_H1, a, b, c, d, w1[1], MD5C20, MD5S20);
239 MD5_STEP (MD5_H2, d, a, b, c, w2[0], MD5C21, MD5S21);
240 MD5_STEP (MD5_H1, c, d, a, b, w2[3], MD5C22, MD5S22);
241 MD5_STEP (MD5_H2, b, c, d, a, w3[2], MD5C23, MD5S23);
242 MD5_STEP (MD5_H1, a, b, c, d, w0[1], MD5C24, MD5S20);
243 MD5_STEP (MD5_H2, d, a, b, c, w1[0], MD5C25, MD5S21);
244 MD5_STEP (MD5_H1, c, d, a, b, w1[3], MD5C26, MD5S22);
245 MD5_STEP (MD5_H2, b, c, d, a, w2[2], MD5C27, MD5S23);
246 MD5_STEP (MD5_H1, a, b, c, d, w3[1], MD5C28, MD5S20);
247 MD5_STEP (MD5_H2, d, a, b, c, w0[0], MD5C29, MD5S21);
248 MD5_STEP (MD5_H1, c, d, a, b, w0[3], MD5C2a, MD5S22);
249 MD5_STEP (MD5_H2, b, c, d, a, w1[2], MD5C2b, MD5S23);
250 MD5_STEP (MD5_H1, a, b, c, d, w2[1], MD5C2c, MD5S20);
251 MD5_STEP (MD5_H2, d, a, b, c, w3[0], MD5C2d, MD5S21);
252 MD5_STEP (MD5_H1, c, d, a, b, w3[3], MD5C2e, MD5S22);
253 MD5_STEP (MD5_H2, b, c, d, a, w0[2], MD5C2f, MD5S23);
255 MD5_STEP (MD5_I , a, b, c, d, w0[0], MD5C30, MD5S30);
256 MD5_STEP (MD5_I , d, a, b, c, w1[3], MD5C31, MD5S31);
257 MD5_STEP (MD5_I , c, d, a, b, w3[2], MD5C32, MD5S32);
258 MD5_STEP (MD5_I , b, c, d, a, w1[1], MD5C33, MD5S33);
259 MD5_STEP (MD5_I , a, b, c, d, w3[0], MD5C34, MD5S30);
260 MD5_STEP (MD5_I , d, a, b, c, w0[3], MD5C35, MD5S31);
261 MD5_STEP (MD5_I , c, d, a, b, w2[2], MD5C36, MD5S32);
262 MD5_STEP (MD5_I , b, c, d, a, w0[1], MD5C37, MD5S33);
263 MD5_STEP (MD5_I , a, b, c, d, w2[0], MD5C38, MD5S30);
264 MD5_STEP (MD5_I , d, a, b, c, w3[3], MD5C39, MD5S31);
265 MD5_STEP (MD5_I , c, d, a, b, w1[2], MD5C3a, MD5S32);
266 MD5_STEP (MD5_I , b, c, d, a, w3[1], MD5C3b, MD5S33);
267 MD5_STEP (MD5_I , a, b, c, d, w1[0], MD5C3c, MD5S30);
268 MD5_STEP (MD5_I , d, a, b, c, w2[3], MD5C3d, MD5S31);
269 MD5_STEP (MD5_I , c, d, a, b, w0[2], MD5C3e, MD5S32);
270 MD5_STEP (MD5_I , b, c, d, a, w2[1], MD5C3f, MD5S33);
278 #include VECT_COMPARE_M
282 extern "C" __global__ void __launch_bounds__ (256, 1) m00010_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)
286 extern "C" __global__ void __launch_bounds__ (256, 1) m00010_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)
290 extern "C" __global__ void __launch_bounds__ (256, 1) m00010_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)
296 const u32 lid = threadIdx.x;
302 const u32 gid = (blockIdx.x * blockDim.x) + threadIdx.x;
304 if (gid >= gid_max) return;
308 pw_buf0[0] = pws[gid].i[ 0];
309 pw_buf0[1] = pws[gid].i[ 1];
310 pw_buf0[2] = pws[gid].i[ 2];
311 pw_buf0[3] = pws[gid].i[ 3];
315 pw_buf1[0] = pws[gid].i[ 4];
316 pw_buf1[1] = pws[gid].i[ 5];
317 pw_buf1[2] = pws[gid].i[ 6];
318 pw_buf1[3] = pws[gid].i[ 7];
320 const u32 pw_len = pws[gid].pw_len;
328 salt_buf0[0] = salt_bufs[salt_pos].salt_buf[0];
329 salt_buf0[1] = salt_bufs[salt_pos].salt_buf[1];
330 salt_buf0[2] = salt_bufs[salt_pos].salt_buf[2];
331 salt_buf0[3] = salt_bufs[salt_pos].salt_buf[3];
335 salt_buf1[0] = salt_bufs[salt_pos].salt_buf[4];
336 salt_buf1[1] = salt_bufs[salt_pos].salt_buf[5];
337 salt_buf1[2] = salt_bufs[salt_pos].salt_buf[6];
338 salt_buf1[3] = salt_bufs[salt_pos].salt_buf[7];
340 const u32 salt_len = salt_bufs[salt_pos].salt_len;
346 const u32 search[4] =
348 digests_buf[digests_offset].digest_buf[DGST_R0],
349 digests_buf[digests_offset].digest_buf[DGST_R1],
350 digests_buf[digests_offset].digest_buf[DGST_R2],
351 digests_buf[digests_offset].digest_buf[DGST_R3]
358 for (u32 il_pos = 0; il_pos < rules_cnt; il_pos++)
388 const u32 out_len = apply_rules (c_rules[il_pos].cmds, w0, w1, pw_len);
396 s0[0] = salt_buf0[0];
397 s0[1] = salt_buf0[1];
398 s0[2] = salt_buf0[2];
399 s0[3] = salt_buf0[3];
403 s1[0] = salt_buf1[0];
404 s1[1] = salt_buf1[1];
405 s1[2] = salt_buf1[2];
406 s1[3] = salt_buf1[3];
422 switch_buffer_by_offset (s0, s1, s2, s3, out_len);
424 const u32 pw_salt_len = out_len + salt_len;
443 w3[2] = pw_salt_len * 8;
446 append_0x80_4 (w0, w1, w2, w3, pw_salt_len);
459 MD5_STEP (MD5_Fo, a, b, c, d, w0[0], MD5C00, MD5S00);
460 MD5_STEP (MD5_Fo, d, a, b, c, w0[1], MD5C01, MD5S01);
461 MD5_STEP (MD5_Fo, c, d, a, b, w0[2], MD5C02, MD5S02);
462 MD5_STEP (MD5_Fo, b, c, d, a, w0[3], MD5C03, MD5S03);
463 MD5_STEP (MD5_Fo, a, b, c, d, w1[0], MD5C04, MD5S00);
464 MD5_STEP (MD5_Fo, d, a, b, c, w1[1], MD5C05, MD5S01);
465 MD5_STEP (MD5_Fo, c, d, a, b, w1[2], MD5C06, MD5S02);
466 MD5_STEP (MD5_Fo, b, c, d, a, w1[3], MD5C07, MD5S03);
467 MD5_STEP (MD5_Fo, a, b, c, d, w2[0], MD5C08, MD5S00);
468 MD5_STEP (MD5_Fo, d, a, b, c, w2[1], MD5C09, MD5S01);
469 MD5_STEP (MD5_Fo, c, d, a, b, w2[2], MD5C0a, MD5S02);
470 MD5_STEP (MD5_Fo, b, c, d, a, w2[3], MD5C0b, MD5S03);
471 MD5_STEP (MD5_Fo, a, b, c, d, w3[0], MD5C0c, MD5S00);
472 MD5_STEP (MD5_Fo, d, a, b, c, w3[1], MD5C0d, MD5S01);
473 MD5_STEP (MD5_Fo, c, d, a, b, w3[2], MD5C0e, MD5S02);
474 MD5_STEP (MD5_Fo, b, c, d, a, w3[3], MD5C0f, MD5S03);
476 MD5_STEP (MD5_Go, a, b, c, d, w0[1], MD5C10, MD5S10);
477 MD5_STEP (MD5_Go, d, a, b, c, w1[2], MD5C11, MD5S11);
478 MD5_STEP (MD5_Go, c, d, a, b, w2[3], MD5C12, MD5S12);
479 MD5_STEP (MD5_Go, b, c, d, a, w0[0], MD5C13, MD5S13);
480 MD5_STEP (MD5_Go, a, b, c, d, w1[1], MD5C14, MD5S10);
481 MD5_STEP (MD5_Go, d, a, b, c, w2[2], MD5C15, MD5S11);
482 MD5_STEP (MD5_Go, c, d, a, b, w3[3], MD5C16, MD5S12);
483 MD5_STEP (MD5_Go, b, c, d, a, w1[0], MD5C17, MD5S13);
484 MD5_STEP (MD5_Go, a, b, c, d, w2[1], MD5C18, MD5S10);
485 MD5_STEP (MD5_Go, d, a, b, c, w3[2], MD5C19, MD5S11);
486 MD5_STEP (MD5_Go, c, d, a, b, w0[3], MD5C1a, MD5S12);
487 MD5_STEP (MD5_Go, b, c, d, a, w2[0], MD5C1b, MD5S13);
488 MD5_STEP (MD5_Go, a, b, c, d, w3[1], MD5C1c, MD5S10);
489 MD5_STEP (MD5_Go, d, a, b, c, w0[2], MD5C1d, MD5S11);
490 MD5_STEP (MD5_Go, c, d, a, b, w1[3], MD5C1e, MD5S12);
491 MD5_STEP (MD5_Go, b, c, d, a, w3[0], MD5C1f, MD5S13);
493 MD5_STEP (MD5_H1, a, b, c, d, w1[1], MD5C20, MD5S20);
494 MD5_STEP (MD5_H2, d, a, b, c, w2[0], MD5C21, MD5S21);
495 MD5_STEP (MD5_H1, c, d, a, b, w2[3], MD5C22, MD5S22);
496 MD5_STEP (MD5_H2, b, c, d, a, w3[2], MD5C23, MD5S23);
497 MD5_STEP (MD5_H1, a, b, c, d, w0[1], MD5C24, MD5S20);
498 MD5_STEP (MD5_H2, d, a, b, c, w1[0], MD5C25, MD5S21);
499 MD5_STEP (MD5_H1, c, d, a, b, w1[3], MD5C26, MD5S22);
500 MD5_STEP (MD5_H2, b, c, d, a, w2[2], MD5C27, MD5S23);
501 MD5_STEP (MD5_H1, a, b, c, d, w3[1], MD5C28, MD5S20);
502 MD5_STEP (MD5_H2, d, a, b, c, w0[0], MD5C29, MD5S21);
503 MD5_STEP (MD5_H1, c, d, a, b, w0[3], MD5C2a, MD5S22);
504 MD5_STEP (MD5_H2, b, c, d, a, w1[2], MD5C2b, MD5S23);
505 MD5_STEP (MD5_H1, a, b, c, d, w2[1], MD5C2c, MD5S20);
506 MD5_STEP (MD5_H2, d, a, b, c, w3[0], MD5C2d, MD5S21);
507 MD5_STEP (MD5_H1, c, d, a, b, w3[3], MD5C2e, MD5S22);
508 MD5_STEP (MD5_H2, b, c, d, a, w0[2], MD5C2f, MD5S23);
510 MD5_STEP (MD5_I , a, b, c, d, w0[0], MD5C30, MD5S30);
511 MD5_STEP (MD5_I , d, a, b, c, w1[3], MD5C31, MD5S31);
512 MD5_STEP (MD5_I , c, d, a, b, w3[2], MD5C32, MD5S32);
513 MD5_STEP (MD5_I , b, c, d, a, w1[1], MD5C33, MD5S33);
514 MD5_STEP (MD5_I , a, b, c, d, w3[0], MD5C34, MD5S30);
515 MD5_STEP (MD5_I , d, a, b, c, w0[3], MD5C35, MD5S31);
516 MD5_STEP (MD5_I , c, d, a, b, w2[2], MD5C36, MD5S32);
517 MD5_STEP (MD5_I , b, c, d, a, w0[1], MD5C37, MD5S33);
518 MD5_STEP (MD5_I , a, b, c, d, w2[0], MD5C38, MD5S30);
519 MD5_STEP (MD5_I , d, a, b, c, w3[3], MD5C39, MD5S31);
520 MD5_STEP (MD5_I , c, d, a, b, w1[2], MD5C3a, MD5S32);
521 MD5_STEP (MD5_I , b, c, d, a, w3[1], MD5C3b, MD5S33);
522 MD5_STEP (MD5_I , a, b, c, d, w1[0], MD5C3c, MD5S30);
524 bool q_cond = (search[0] != a);
526 if (q_cond) continue;
528 MD5_STEP (MD5_I , d, a, b, c, w2[3], MD5C3d, MD5S31);
529 MD5_STEP (MD5_I , c, d, a, b, w0[2], MD5C3e, MD5S32);
530 MD5_STEP (MD5_I , b, c, d, a, w2[1], MD5C3f, MD5S33);
538 #include VECT_COMPARE_S
542 extern "C" __global__ void __launch_bounds__ (256, 1) m00010_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)
546 extern "C" __global__ void __launch_bounds__ (256, 1) m00010_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)