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"
29 #define VECT_COMPARE_S "check_single_vect1_comp4.c"
30 #define VECT_COMPARE_M "check_multi_vect1_comp4.c"
34 #define VECT_COMPARE_S "check_single_vect2_comp4.c"
35 #define VECT_COMPARE_M "check_multi_vect2_comp4.c"
38 __device__ __constant__ u32 padding[8] =
58 __device__ static void swap (RC4_KEY *rc4_key, const u8 i, const u8 j)
63 rc4_key->S[i] = rc4_key->S[j];
67 __device__ static void rc4_init_16 (RC4_KEY *rc4_key, const u32 data[4])
72 u32 *ptr = (u32 *) rc4_key->S;
75 for (u32 i = 0; i < 64; i++)
80 const u32 d0 = data[0] >> 0;
81 const u32 d1 = data[0] >> 8;
82 const u32 d2 = data[0] >> 16;
83 const u32 d3 = data[0] >> 24;
84 const u32 d4 = data[1] >> 0;
90 for (i = 0; i < 255; i += 5)
92 j += rc4_key->S[i + 0]; j += d0; swap (rc4_key, i + 0, j);
93 j += rc4_key->S[i + 1]; j += d1; swap (rc4_key, i + 1, j);
94 j += rc4_key->S[i + 2]; j += d2; swap (rc4_key, i + 2, j);
95 j += rc4_key->S[i + 3]; j += d3; swap (rc4_key, i + 3, j);
96 j += rc4_key->S[i + 4]; j += d4; swap (rc4_key, i + 4, j);
99 j += rc4_key->S[i + 0]; j += d0; swap (rc4_key, i + 0, j);
102 __device__ static u8 rc4_next_16 (RC4_KEY *rc4_key, u8 i, u8 j, const u32 in[4], u32 out[4])
105 for (u32 k = 0; k < 4; k++)
114 swap (rc4_key, i, j);
116 idx = rc4_key->S[i] + rc4_key->S[j];
118 xor4 |= rc4_key->S[idx] << 0;
123 swap (rc4_key, i, j);
125 idx = rc4_key->S[i] + rc4_key->S[j];
127 xor4 |= rc4_key->S[idx] << 8;
132 swap (rc4_key, i, j);
134 idx = rc4_key->S[i] + rc4_key->S[j];
136 xor4 |= rc4_key->S[idx] << 16;
141 swap (rc4_key, i, j);
143 idx = rc4_key->S[i] + rc4_key->S[j];
145 xor4 |= rc4_key->S[idx] << 24;
147 out[k] = in[k] ^ xor4;
153 __device__ static void md5_transform (const u32x w0[4], const u32x w1[4], const u32x w2[4], const u32x w3[4], u32x digest[4])
177 MD5_STEP (MD5_Fo, a, b, c, d, w0_t, MD5C00, MD5S00);
178 MD5_STEP (MD5_Fo, d, a, b, c, w1_t, MD5C01, MD5S01);
179 MD5_STEP (MD5_Fo, c, d, a, b, w2_t, MD5C02, MD5S02);
180 MD5_STEP (MD5_Fo, b, c, d, a, w3_t, MD5C03, MD5S03);
181 MD5_STEP (MD5_Fo, a, b, c, d, w4_t, MD5C04, MD5S00);
182 MD5_STEP (MD5_Fo, d, a, b, c, w5_t, MD5C05, MD5S01);
183 MD5_STEP (MD5_Fo, c, d, a, b, w6_t, MD5C06, MD5S02);
184 MD5_STEP (MD5_Fo, b, c, d, a, w7_t, MD5C07, MD5S03);
185 MD5_STEP (MD5_Fo, a, b, c, d, w8_t, MD5C08, MD5S00);
186 MD5_STEP (MD5_Fo, d, a, b, c, w9_t, MD5C09, MD5S01);
187 MD5_STEP (MD5_Fo, c, d, a, b, wa_t, MD5C0a, MD5S02);
188 MD5_STEP (MD5_Fo, b, c, d, a, wb_t, MD5C0b, MD5S03);
189 MD5_STEP (MD5_Fo, a, b, c, d, wc_t, MD5C0c, MD5S00);
190 MD5_STEP (MD5_Fo, d, a, b, c, wd_t, MD5C0d, MD5S01);
191 MD5_STEP (MD5_Fo, c, d, a, b, we_t, MD5C0e, MD5S02);
192 MD5_STEP (MD5_Fo, b, c, d, a, wf_t, MD5C0f, MD5S03);
194 MD5_STEP (MD5_Go, a, b, c, d, w1_t, MD5C10, MD5S10);
195 MD5_STEP (MD5_Go, d, a, b, c, w6_t, MD5C11, MD5S11);
196 MD5_STEP (MD5_Go, c, d, a, b, wb_t, MD5C12, MD5S12);
197 MD5_STEP (MD5_Go, b, c, d, a, w0_t, MD5C13, MD5S13);
198 MD5_STEP (MD5_Go, a, b, c, d, w5_t, MD5C14, MD5S10);
199 MD5_STEP (MD5_Go, d, a, b, c, wa_t, MD5C15, MD5S11);
200 MD5_STEP (MD5_Go, c, d, a, b, wf_t, MD5C16, MD5S12);
201 MD5_STEP (MD5_Go, b, c, d, a, w4_t, MD5C17, MD5S13);
202 MD5_STEP (MD5_Go, a, b, c, d, w9_t, MD5C18, MD5S10);
203 MD5_STEP (MD5_Go, d, a, b, c, we_t, MD5C19, MD5S11);
204 MD5_STEP (MD5_Go, c, d, a, b, w3_t, MD5C1a, MD5S12);
205 MD5_STEP (MD5_Go, b, c, d, a, w8_t, MD5C1b, MD5S13);
206 MD5_STEP (MD5_Go, a, b, c, d, wd_t, MD5C1c, MD5S10);
207 MD5_STEP (MD5_Go, d, a, b, c, w2_t, MD5C1d, MD5S11);
208 MD5_STEP (MD5_Go, c, d, a, b, w7_t, MD5C1e, MD5S12);
209 MD5_STEP (MD5_Go, b, c, d, a, wc_t, MD5C1f, MD5S13);
211 MD5_STEP (MD5_H , a, b, c, d, w5_t, MD5C20, MD5S20);
212 MD5_STEP (MD5_H , d, a, b, c, w8_t, MD5C21, MD5S21);
213 MD5_STEP (MD5_H , c, d, a, b, wb_t, MD5C22, MD5S22);
214 MD5_STEP (MD5_H , b, c, d, a, we_t, MD5C23, MD5S23);
215 MD5_STEP (MD5_H , a, b, c, d, w1_t, MD5C24, MD5S20);
216 MD5_STEP (MD5_H , d, a, b, c, w4_t, MD5C25, MD5S21);
217 MD5_STEP (MD5_H , c, d, a, b, w7_t, MD5C26, MD5S22);
218 MD5_STEP (MD5_H , b, c, d, a, wa_t, MD5C27, MD5S23);
219 MD5_STEP (MD5_H , a, b, c, d, wd_t, MD5C28, MD5S20);
220 MD5_STEP (MD5_H , d, a, b, c, w0_t, MD5C29, MD5S21);
221 MD5_STEP (MD5_H , c, d, a, b, w3_t, MD5C2a, MD5S22);
222 MD5_STEP (MD5_H , b, c, d, a, w6_t, MD5C2b, MD5S23);
223 MD5_STEP (MD5_H , a, b, c, d, w9_t, MD5C2c, MD5S20);
224 MD5_STEP (MD5_H , d, a, b, c, wc_t, MD5C2d, MD5S21);
225 MD5_STEP (MD5_H , c, d, a, b, wf_t, MD5C2e, MD5S22);
226 MD5_STEP (MD5_H , b, c, d, a, w2_t, MD5C2f, MD5S23);
228 MD5_STEP (MD5_I , a, b, c, d, w0_t, MD5C30, MD5S30);
229 MD5_STEP (MD5_I , d, a, b, c, w7_t, MD5C31, MD5S31);
230 MD5_STEP (MD5_I , c, d, a, b, we_t, MD5C32, MD5S32);
231 MD5_STEP (MD5_I , b, c, d, a, w5_t, MD5C33, MD5S33);
232 MD5_STEP (MD5_I , a, b, c, d, wc_t, MD5C34, MD5S30);
233 MD5_STEP (MD5_I , d, a, b, c, w3_t, MD5C35, MD5S31);
234 MD5_STEP (MD5_I , c, d, a, b, wa_t, MD5C36, MD5S32);
235 MD5_STEP (MD5_I , b, c, d, a, w1_t, MD5C37, MD5S33);
236 MD5_STEP (MD5_I , a, b, c, d, w8_t, MD5C38, MD5S30);
237 MD5_STEP (MD5_I , d, a, b, c, wf_t, MD5C39, MD5S31);
238 MD5_STEP (MD5_I , c, d, a, b, w6_t, MD5C3a, MD5S32);
239 MD5_STEP (MD5_I , b, c, d, a, wd_t, MD5C3b, MD5S33);
240 MD5_STEP (MD5_I , a, b, c, d, w4_t, MD5C3c, MD5S30);
241 MD5_STEP (MD5_I , d, a, b, c, wb_t, MD5C3d, MD5S31);
242 MD5_STEP (MD5_I , c, d, a, b, w2_t, MD5C3e, MD5S32);
243 MD5_STEP (MD5_I , b, c, d, a, w9_t, MD5C3f, MD5S33);
251 __device__ __constant__ comb_t c_combs[1024];
253 extern "C" __global__ void __launch_bounds__ (64, 1) m10400_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 pdf_t *pdf_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 combs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
259 const u32 lid = threadIdx.x;
265 const u32 gid = (blockIdx.x * blockDim.x) + threadIdx.x;
267 if (gid >= gid_max) return;
271 wordl0[0] = pws[gid].i[ 0];
272 wordl0[1] = pws[gid].i[ 1];
273 wordl0[2] = pws[gid].i[ 2];
274 wordl0[3] = pws[gid].i[ 3];
278 wordl1[0] = pws[gid].i[ 4];
279 wordl1[1] = pws[gid].i[ 5];
280 wordl1[2] = pws[gid].i[ 6];
281 wordl1[3] = pws[gid].i[ 7];
297 const u32 pw_l_len = pws[gid].pw_len;
299 if (combs_mode == COMBINATOR_MODE_BASE_RIGHT)
301 switch_buffer_by_offset (wordl0, wordl1, wordl2, wordl3, c_combs[0].pw_len);
308 __shared__ RC4_KEY rc4_keys[64];
310 RC4_KEY *rc4_key = &rc4_keys[lid];
318 o_buf[0] = pdf_bufs[salt_pos].o_buf[0];
319 o_buf[1] = pdf_bufs[salt_pos].o_buf[1];
320 o_buf[2] = pdf_bufs[salt_pos].o_buf[2];
321 o_buf[3] = pdf_bufs[salt_pos].o_buf[3];
322 o_buf[4] = pdf_bufs[salt_pos].o_buf[4];
323 o_buf[5] = pdf_bufs[salt_pos].o_buf[5];
324 o_buf[6] = pdf_bufs[salt_pos].o_buf[6];
325 o_buf[7] = pdf_bufs[salt_pos].o_buf[7];
327 u32 P = pdf_bufs[salt_pos].P;
331 id_buf[0] = pdf_bufs[salt_pos].id_buf[0];
332 id_buf[1] = pdf_bufs[salt_pos].id_buf[1];
333 id_buf[2] = pdf_bufs[salt_pos].id_buf[2];
334 id_buf[3] = pdf_bufs[salt_pos].id_buf[3];
340 for (u32 il_pos = 0; il_pos < combs_cnt; il_pos++)
342 const u32 pw_r_len = c_combs[il_pos].pw_len;
344 const u32 pw_len = pw_l_len + pw_r_len;
348 wordr0[0] = c_combs[il_pos].i[0];
349 wordr0[1] = c_combs[il_pos].i[1];
350 wordr0[2] = c_combs[il_pos].i[2];
351 wordr0[3] = c_combs[il_pos].i[3];
355 wordr1[0] = c_combs[il_pos].i[4];
356 wordr1[1] = c_combs[il_pos].i[5];
357 wordr1[2] = c_combs[il_pos].i[6];
358 wordr1[3] = c_combs[il_pos].i[7];
374 if (combs_mode == COMBINATOR_MODE_BASE_LEFT)
376 switch_buffer_by_offset (wordr0, wordr1, wordr2, wordr3, pw_l_len);
381 w0[0] = wordl0[0] | wordr0[0];
382 w0[1] = wordl0[1] | wordr0[1];
383 w0[2] = wordl0[2] | wordr0[2];
384 w0[3] = wordl0[3] | wordr0[3];
388 w1[0] = wordl1[0] | wordr1[0];
389 w1[1] = wordl1[1] | wordr1[1];
390 w1[2] = wordl1[2] | wordr1[2];
391 w1[3] = wordl1[3] | wordr1[3];
395 w2[0] = wordl2[0] | wordr2[0];
396 w2[1] = wordl2[1] | wordr2[1];
397 w2[2] = wordl2[2] | wordr2[2];
398 w2[3] = wordl2[3] | wordr2[3];
402 w3[0] = wordl3[0] | wordr3[0];
403 w3[1] = wordl3[1] | wordr3[1];
404 w3[2] = wordl3[2] | wordr3[2];
405 w3[3] = wordl3[3] | wordr3[3];
412 // max length supported by pdf11 is 32
414 w0_t[0] = padding[0];
415 w0_t[1] = padding[1];
416 w0_t[2] = padding[2];
417 w0_t[3] = padding[3];
418 w1_t[0] = padding[4];
419 w1_t[1] = padding[5];
420 w1_t[2] = padding[6];
421 w1_t[3] = padding[7];
431 switch_buffer_by_offset (w0_t, w1_t, w2_t, w3_t, pw_len);
434 // truncate at 32 is wanted, not a bug!
461 md5_transform (w0_t, w1_t, w2_t, w3_t, digest);
480 md5_transform (w0_t, w1_t, w2_t, w3_t, digest);
487 key[1] = digest[1] & 0xff;
491 rc4_init_16 (rc4_key, key);
495 rc4_next_16 (rc4_key, 0, 0, padding, out);
497 const u32x r0 = out[0];
498 const u32x r1 = out[1];
499 const u32x r2 = out[2];
500 const u32x r3 = out[3];
502 #include VECT_COMPARE_M
506 extern "C" __global__ void __launch_bounds__ (64, 1) m10400_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 pdf_t *pdf_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 combs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
510 extern "C" __global__ void __launch_bounds__ (64, 1) m10400_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 pdf_t *pdf_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 combs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
514 extern "C" __global__ void __launch_bounds__ (64, 1) m10400_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 pdf_t *pdf_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 combs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
520 const u32 lid = threadIdx.x;
526 const u32 gid = (blockIdx.x * blockDim.x) + threadIdx.x;
528 if (gid >= gid_max) return;
532 wordl0[0] = pws[gid].i[ 0];
533 wordl0[1] = pws[gid].i[ 1];
534 wordl0[2] = pws[gid].i[ 2];
535 wordl0[3] = pws[gid].i[ 3];
539 wordl1[0] = pws[gid].i[ 4];
540 wordl1[1] = pws[gid].i[ 5];
541 wordl1[2] = pws[gid].i[ 6];
542 wordl1[3] = pws[gid].i[ 7];
558 const u32 pw_l_len = pws[gid].pw_len;
560 if (combs_mode == COMBINATOR_MODE_BASE_RIGHT)
562 switch_buffer_by_offset (wordl0, wordl1, wordl2, wordl3, c_combs[0].pw_len);
569 __shared__ RC4_KEY rc4_keys[64];
571 RC4_KEY *rc4_key = &rc4_keys[lid];
577 const u32 search[4] =
579 digests_buf[digests_offset].digest_buf[DGST_R0],
580 digests_buf[digests_offset].digest_buf[DGST_R1],
581 digests_buf[digests_offset].digest_buf[DGST_R2],
582 digests_buf[digests_offset].digest_buf[DGST_R3]
591 o_buf[0] = pdf_bufs[salt_pos].o_buf[0];
592 o_buf[1] = pdf_bufs[salt_pos].o_buf[1];
593 o_buf[2] = pdf_bufs[salt_pos].o_buf[2];
594 o_buf[3] = pdf_bufs[salt_pos].o_buf[3];
595 o_buf[4] = pdf_bufs[salt_pos].o_buf[4];
596 o_buf[5] = pdf_bufs[salt_pos].o_buf[5];
597 o_buf[6] = pdf_bufs[salt_pos].o_buf[6];
598 o_buf[7] = pdf_bufs[salt_pos].o_buf[7];
600 u32 P = pdf_bufs[salt_pos].P;
604 id_buf[0] = pdf_bufs[salt_pos].id_buf[0];
605 id_buf[1] = pdf_bufs[salt_pos].id_buf[1];
606 id_buf[2] = pdf_bufs[salt_pos].id_buf[2];
607 id_buf[3] = pdf_bufs[salt_pos].id_buf[3];
613 for (u32 il_pos = 0; il_pos < combs_cnt; il_pos++)
615 const u32 pw_r_len = c_combs[il_pos].pw_len;
617 const u32 pw_len = pw_l_len + pw_r_len;
621 wordr0[0] = c_combs[il_pos].i[0];
622 wordr0[1] = c_combs[il_pos].i[1];
623 wordr0[2] = c_combs[il_pos].i[2];
624 wordr0[3] = c_combs[il_pos].i[3];
628 wordr1[0] = c_combs[il_pos].i[4];
629 wordr1[1] = c_combs[il_pos].i[5];
630 wordr1[2] = c_combs[il_pos].i[6];
631 wordr1[3] = c_combs[il_pos].i[7];
647 if (combs_mode == COMBINATOR_MODE_BASE_LEFT)
649 switch_buffer_by_offset (wordr0, wordr1, wordr2, wordr3, pw_l_len);
654 w0[0] = wordl0[0] | wordr0[0];
655 w0[1] = wordl0[1] | wordr0[1];
656 w0[2] = wordl0[2] | wordr0[2];
657 w0[3] = wordl0[3] | wordr0[3];
661 w1[0] = wordl1[0] | wordr1[0];
662 w1[1] = wordl1[1] | wordr1[1];
663 w1[2] = wordl1[2] | wordr1[2];
664 w1[3] = wordl1[3] | wordr1[3];
668 w2[0] = wordl2[0] | wordr2[0];
669 w2[1] = wordl2[1] | wordr2[1];
670 w2[2] = wordl2[2] | wordr2[2];
671 w2[3] = wordl2[3] | wordr2[3];
675 w3[0] = wordl3[0] | wordr3[0];
676 w3[1] = wordl3[1] | wordr3[1];
677 w3[2] = wordl3[2] | wordr3[2];
678 w3[3] = wordl3[3] | wordr3[3];
685 // max length supported by pdf11 is 32
687 w0_t[0] = padding[0];
688 w0_t[1] = padding[1];
689 w0_t[2] = padding[2];
690 w0_t[3] = padding[3];
691 w1_t[0] = padding[4];
692 w1_t[1] = padding[5];
693 w1_t[2] = padding[6];
694 w1_t[3] = padding[7];
704 switch_buffer_by_offset (w0_t, w1_t, w2_t, w3_t, pw_len);
707 // truncate at 32 is wanted, not a bug!
734 md5_transform (w0_t, w1_t, w2_t, w3_t, digest);
753 md5_transform (w0_t, w1_t, w2_t, w3_t, digest);
760 key[1] = digest[1] & 0xff;
764 rc4_init_16 (rc4_key, key);
768 rc4_next_16 (rc4_key, 0, 0, padding, out);
770 const u32x r0 = out[0];
771 const u32x r1 = out[1];
772 const u32x r2 = out[2];
773 const u32x r3 = out[3];
775 #include VECT_COMPARE_S
779 extern "C" __global__ void __launch_bounds__ (64, 1) m10400_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 pdf_t *pdf_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 combs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
783 extern "C" __global__ void __launch_bounds__ (64, 1) m10400_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 pdf_t *pdf_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 combs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)