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_vect4_comp4.c"
35 #define VECT_COMPARE_M "check_multi_vect4_comp4.c"
38 __device__ static void md5_transform (const u32x w0[4], const u32x w1[4], const u32x w2[4], const u32x w3[4], u32x digest[4])
62 MD5_STEP (MD5_Fo, a, b, c, d, w0_t, MD5C00, MD5S00);
63 MD5_STEP (MD5_Fo, d, a, b, c, w1_t, MD5C01, MD5S01);
64 MD5_STEP (MD5_Fo, c, d, a, b, w2_t, MD5C02, MD5S02);
65 MD5_STEP (MD5_Fo, b, c, d, a, w3_t, MD5C03, MD5S03);
66 MD5_STEP (MD5_Fo, a, b, c, d, w4_t, MD5C04, MD5S00);
67 MD5_STEP (MD5_Fo, d, a, b, c, w5_t, MD5C05, MD5S01);
68 MD5_STEP (MD5_Fo, c, d, a, b, w6_t, MD5C06, MD5S02);
69 MD5_STEP (MD5_Fo, b, c, d, a, w7_t, MD5C07, MD5S03);
70 MD5_STEP (MD5_Fo, a, b, c, d, w8_t, MD5C08, MD5S00);
71 MD5_STEP (MD5_Fo, d, a, b, c, w9_t, MD5C09, MD5S01);
72 MD5_STEP (MD5_Fo, c, d, a, b, wa_t, MD5C0a, MD5S02);
73 MD5_STEP (MD5_Fo, b, c, d, a, wb_t, MD5C0b, MD5S03);
74 MD5_STEP (MD5_Fo, a, b, c, d, wc_t, MD5C0c, MD5S00);
75 MD5_STEP (MD5_Fo, d, a, b, c, wd_t, MD5C0d, MD5S01);
76 MD5_STEP (MD5_Fo, c, d, a, b, we_t, MD5C0e, MD5S02);
77 MD5_STEP (MD5_Fo, b, c, d, a, wf_t, MD5C0f, MD5S03);
79 MD5_STEP (MD5_Go, a, b, c, d, w1_t, MD5C10, MD5S10);
80 MD5_STEP (MD5_Go, d, a, b, c, w6_t, MD5C11, MD5S11);
81 MD5_STEP (MD5_Go, c, d, a, b, wb_t, MD5C12, MD5S12);
82 MD5_STEP (MD5_Go, b, c, d, a, w0_t, MD5C13, MD5S13);
83 MD5_STEP (MD5_Go, a, b, c, d, w5_t, MD5C14, MD5S10);
84 MD5_STEP (MD5_Go, d, a, b, c, wa_t, MD5C15, MD5S11);
85 MD5_STEP (MD5_Go, c, d, a, b, wf_t, MD5C16, MD5S12);
86 MD5_STEP (MD5_Go, b, c, d, a, w4_t, MD5C17, MD5S13);
87 MD5_STEP (MD5_Go, a, b, c, d, w9_t, MD5C18, MD5S10);
88 MD5_STEP (MD5_Go, d, a, b, c, we_t, MD5C19, MD5S11);
89 MD5_STEP (MD5_Go, c, d, a, b, w3_t, MD5C1a, MD5S12);
90 MD5_STEP (MD5_Go, b, c, d, a, w8_t, MD5C1b, MD5S13);
91 MD5_STEP (MD5_Go, a, b, c, d, wd_t, MD5C1c, MD5S10);
92 MD5_STEP (MD5_Go, d, a, b, c, w2_t, MD5C1d, MD5S11);
93 MD5_STEP (MD5_Go, c, d, a, b, w7_t, MD5C1e, MD5S12);
94 MD5_STEP (MD5_Go, b, c, d, a, wc_t, MD5C1f, MD5S13);
96 MD5_STEP (MD5_H , a, b, c, d, w5_t, MD5C20, MD5S20);
97 MD5_STEP (MD5_H , d, a, b, c, w8_t, MD5C21, MD5S21);
98 MD5_STEP (MD5_H , c, d, a, b, wb_t, MD5C22, MD5S22);
99 MD5_STEP (MD5_H , b, c, d, a, we_t, MD5C23, MD5S23);
100 MD5_STEP (MD5_H , a, b, c, d, w1_t, MD5C24, MD5S20);
101 MD5_STEP (MD5_H , d, a, b, c, w4_t, MD5C25, MD5S21);
102 MD5_STEP (MD5_H , c, d, a, b, w7_t, MD5C26, MD5S22);
103 MD5_STEP (MD5_H , b, c, d, a, wa_t, MD5C27, MD5S23);
104 MD5_STEP (MD5_H , a, b, c, d, wd_t, MD5C28, MD5S20);
105 MD5_STEP (MD5_H , d, a, b, c, w0_t, MD5C29, MD5S21);
106 MD5_STEP (MD5_H , c, d, a, b, w3_t, MD5C2a, MD5S22);
107 MD5_STEP (MD5_H , b, c, d, a, w6_t, MD5C2b, MD5S23);
108 MD5_STEP (MD5_H , a, b, c, d, w9_t, MD5C2c, MD5S20);
109 MD5_STEP (MD5_H , d, a, b, c, wc_t, MD5C2d, MD5S21);
110 MD5_STEP (MD5_H , c, d, a, b, wf_t, MD5C2e, MD5S22);
111 MD5_STEP (MD5_H , b, c, d, a, w2_t, MD5C2f, MD5S23);
113 MD5_STEP (MD5_I , a, b, c, d, w0_t, MD5C30, MD5S30);
114 MD5_STEP (MD5_I , d, a, b, c, w7_t, MD5C31, MD5S31);
115 MD5_STEP (MD5_I , c, d, a, b, we_t, MD5C32, MD5S32);
116 MD5_STEP (MD5_I , b, c, d, a, w5_t, MD5C33, MD5S33);
117 MD5_STEP (MD5_I , a, b, c, d, wc_t, MD5C34, MD5S30);
118 MD5_STEP (MD5_I , d, a, b, c, w3_t, MD5C35, MD5S31);
119 MD5_STEP (MD5_I , c, d, a, b, wa_t, MD5C36, MD5S32);
120 MD5_STEP (MD5_I , b, c, d, a, w1_t, MD5C37, MD5S33);
121 MD5_STEP (MD5_I , a, b, c, d, w8_t, MD5C38, MD5S30);
122 MD5_STEP (MD5_I , d, a, b, c, wf_t, MD5C39, MD5S31);
123 MD5_STEP (MD5_I , c, d, a, b, w6_t, MD5C3a, MD5S32);
124 MD5_STEP (MD5_I , b, c, d, a, wd_t, MD5C3b, MD5S33);
125 MD5_STEP (MD5_I , a, b, c, d, w4_t, MD5C3c, MD5S30);
126 MD5_STEP (MD5_I , d, a, b, c, wb_t, MD5C3d, MD5S31);
127 MD5_STEP (MD5_I , c, d, a, b, w2_t, MD5C3e, MD5S32);
128 MD5_STEP (MD5_I , b, c, d, a, w9_t, MD5C3f, MD5S33);
136 __device__ static void gen336 (u32x digest_pre[4], u32 salt_buf[4], u32x digest[4])
143 digest_t0[0] = digest_pre[0];
144 digest_t0[1] = digest_pre[1] & 0xff;
146 digest_t1[0] = digest_pre[0] << 8;
147 digest_t1[1] = digest_pre[0] >> 24 | digest_pre[1] << 8;
149 digest_t2[0] = digest_pre[0] << 16;
150 digest_t2[1] = digest_pre[0] >> 16 | digest_pre[1] << 16;
152 digest_t3[0] = digest_pre[0] << 24;
153 digest_t3[1] = digest_pre[0] >> 8 | digest_pre[1] << 24;
160 salt_buf_t0[0] = salt_buf[0];
161 salt_buf_t0[1] = salt_buf[1];
162 salt_buf_t0[2] = salt_buf[2];
163 salt_buf_t0[3] = salt_buf[3];
165 salt_buf_t1[0] = salt_buf[0] << 8;
166 salt_buf_t1[1] = salt_buf[0] >> 24 | salt_buf[1] << 8;
167 salt_buf_t1[2] = salt_buf[1] >> 24 | salt_buf[2] << 8;
168 salt_buf_t1[3] = salt_buf[2] >> 24 | salt_buf[3] << 8;
169 salt_buf_t1[4] = salt_buf[3] >> 24;
171 salt_buf_t2[0] = salt_buf[0] << 16;
172 salt_buf_t2[1] = salt_buf[0] >> 16 | salt_buf[1] << 16;
173 salt_buf_t2[2] = salt_buf[1] >> 16 | salt_buf[2] << 16;
174 salt_buf_t2[3] = salt_buf[2] >> 16 | salt_buf[3] << 16;
175 salt_buf_t2[4] = salt_buf[3] >> 16;
177 salt_buf_t3[0] = salt_buf[0] << 24;
178 salt_buf_t3[1] = salt_buf[0] >> 8 | salt_buf[1] << 24;
179 salt_buf_t3[2] = salt_buf[1] >> 8 | salt_buf[2] << 24;
180 salt_buf_t3[3] = salt_buf[2] >> 8 | salt_buf[3] << 24;
181 salt_buf_t3[4] = salt_buf[3] >> 8;
188 // generate the 16 * 21 buffer
208 w0_t[0] = digest_t0[0];
209 w0_t[1] = digest_t0[1];
212 w0_t[1] |= salt_buf_t1[0];
213 w0_t[2] = salt_buf_t1[1];
214 w0_t[3] = salt_buf_t1[2];
215 w1_t[0] = salt_buf_t1[3];
216 w1_t[1] = salt_buf_t1[4];
219 w1_t[1] |= digest_t1[0];
220 w1_t[2] = digest_t1[1];
223 w1_t[2] |= salt_buf_t2[0];
224 w1_t[3] = salt_buf_t2[1];
225 w2_t[0] = salt_buf_t2[2];
226 w2_t[1] = salt_buf_t2[3];
227 w2_t[2] = salt_buf_t2[4];
230 w2_t[2] |= digest_t2[0];
231 w2_t[3] = digest_t2[1];
234 w2_t[3] |= salt_buf_t3[0];
235 w3_t[0] = salt_buf_t3[1];
236 w3_t[1] = salt_buf_t3[2];
237 w3_t[2] = salt_buf_t3[3];
238 w3_t[3] = salt_buf_t3[4];
242 w3_t[3] |= digest_t3[0];
244 md5_transform (w0_t, w1_t, w2_t, w3_t, digest);
264 w0_t[0] = digest_t3[1];
267 w0_t[1] = salt_buf_t0[0];
268 w0_t[2] = salt_buf_t0[1];
269 w0_t[3] = salt_buf_t0[2];
270 w1_t[0] = salt_buf_t0[3];
273 w1_t[1] = digest_t0[0];
274 w1_t[2] = digest_t0[1];
277 w1_t[2] |= salt_buf_t1[0];
278 w1_t[3] = salt_buf_t1[1];
279 w2_t[0] = salt_buf_t1[2];
280 w2_t[1] = salt_buf_t1[3];
281 w2_t[2] = salt_buf_t1[4];
284 w2_t[2] |= digest_t1[0];
285 w2_t[3] = digest_t1[1];
288 w2_t[3] |= salt_buf_t2[0];
289 w3_t[0] = salt_buf_t2[1];
290 w3_t[1] = salt_buf_t2[2];
291 w3_t[2] = salt_buf_t2[3];
292 w3_t[3] = salt_buf_t2[4];
295 w3_t[3] |= digest_t2[0];
297 md5_transform (w0_t, w1_t, w2_t, w3_t, digest);
317 w0_t[0] = digest_t2[1];
320 w0_t[0] |= salt_buf_t3[0];
321 w0_t[1] = salt_buf_t3[1];
322 w0_t[2] = salt_buf_t3[2];
323 w0_t[3] = salt_buf_t3[3];
324 w1_t[0] = salt_buf_t3[4];
327 w1_t[0] |= digest_t3[0];
328 w1_t[1] = digest_t3[1];
331 w1_t[2] = salt_buf_t0[0];
332 w1_t[3] = salt_buf_t0[1];
333 w2_t[0] = salt_buf_t0[2];
334 w2_t[1] = salt_buf_t0[3];
337 w2_t[2] = digest_t0[0];
338 w2_t[3] = digest_t0[1];
341 w2_t[3] |= salt_buf_t1[0];
342 w3_t[0] = salt_buf_t1[1];
343 w3_t[1] = salt_buf_t1[2];
344 w3_t[2] = salt_buf_t1[3];
345 w3_t[3] = salt_buf_t1[4];
348 w3_t[3] |= digest_t1[0];
350 md5_transform (w0_t, w1_t, w2_t, w3_t, digest);
370 w0_t[0] = digest_t1[1];
373 w0_t[0] |= salt_buf_t2[0];
374 w0_t[1] = salt_buf_t2[1];
375 w0_t[2] = salt_buf_t2[2];
376 w0_t[3] = salt_buf_t2[3];
377 w1_t[0] = salt_buf_t2[4];
380 w1_t[0] |= digest_t2[0];
381 w1_t[1] = digest_t2[1];
384 w1_t[1] |= salt_buf_t3[0];
385 w1_t[2] = salt_buf_t3[1];
386 w1_t[3] = salt_buf_t3[2];
387 w2_t[0] = salt_buf_t3[3];
388 w2_t[1] = salt_buf_t3[4];
391 w2_t[1] |= digest_t3[0];
392 w2_t[2] = digest_t3[1];
395 w2_t[3] = salt_buf_t0[0];
396 w3_t[0] = salt_buf_t0[1];
397 w3_t[1] = salt_buf_t0[2];
398 w3_t[2] = salt_buf_t0[3];
401 w3_t[3] = digest_t0[0];
403 md5_transform (w0_t, w1_t, w2_t, w3_t, digest);
423 w0_t[0] = digest_t0[1];
426 w0_t[0] |= salt_buf_t1[0];
427 w0_t[1] = salt_buf_t1[1];
428 w0_t[2] = salt_buf_t1[2];
429 w0_t[3] = salt_buf_t1[3];
430 w1_t[0] = salt_buf_t1[4];
433 w1_t[0] |= digest_t1[0];
434 w1_t[1] = digest_t1[1];
437 w1_t[1] |= salt_buf_t2[0];
438 w1_t[2] = salt_buf_t2[1];
439 w1_t[3] = salt_buf_t2[2];
440 w2_t[0] = salt_buf_t2[3];
441 w2_t[1] = salt_buf_t2[4];
444 w2_t[1] |= digest_t2[0];
445 w2_t[2] = digest_t2[1];
448 w2_t[2] |= salt_buf_t3[0];
449 w2_t[3] = salt_buf_t3[1];
450 w3_t[0] = salt_buf_t3[2];
451 w3_t[1] = salt_buf_t3[3];
452 w3_t[2] = salt_buf_t3[4];
455 w3_t[2] |= digest_t3[0];
456 w3_t[3] = digest_t3[1];
458 md5_transform (w0_t, w1_t, w2_t, w3_t, digest);
460 w0_t[0] = salt_buf_t0[0];
461 w0_t[1] = salt_buf_t0[1];
462 w0_t[2] = salt_buf_t0[2];
463 w0_t[3] = salt_buf_t0[3];
474 w3_t[2] = 21 * 16 * 8;
477 md5_transform (w0_t, w1_t, w2_t, w3_t, digest);
480 __device__ __constant__ bf_t c_bfs[1024];
482 __device__ static void m09720m (u32x w0[4], u32x w1[4], u32x w2[4], u32x w3[4], const u32 pw_len, const pw_t *pws, const gpu_rule_t *rules_buf, const comb_t *combs_buf, const u32x *bfs_buf, 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 oldoffice01_t *oldoffice01_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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset)
488 const u32 gid = (blockIdx.x * blockDim.x) + threadIdx.x;
489 const u32 lid = threadIdx.x;
497 salt_buf[0] = salt_bufs[salt_pos].salt_buf[0];
498 salt_buf[1] = salt_bufs[salt_pos].salt_buf[1];
499 salt_buf[2] = salt_bufs[salt_pos].salt_buf[2];
500 salt_buf[3] = salt_bufs[salt_pos].salt_buf[3];
508 for (u32 il_pos = 0; il_pos < bfs_cnt; il_pos++)
510 const u32 w0r = c_bfs[il_pos].i;
533 w3_t[2] = pw_len * 8;
538 digest_pre[0] = MD5M_A;
539 digest_pre[1] = MD5M_B;
540 digest_pre[2] = MD5M_C;
541 digest_pre[3] = MD5M_D;
543 md5_transform (w0_t, w1_t, w2_t, w3_t, digest_pre);
545 digest_pre[0] &= 0xffffffff;
546 digest_pre[1] &= 0x000000ff;
547 digest_pre[2] &= 0x00000000;
548 digest_pre[3] &= 0x00000000;
557 gen336 (digest_pre, salt_buf, digest);
560 u32x b = digest[1] & 0xff;
567 #include VECT_COMPARE_M
571 __device__ static void m09720s (u32x w0[4], u32x w1[4], u32x w2[4], u32x w3[4], const u32 pw_len, const pw_t *pws, const gpu_rule_t *rules_buf, const comb_t *combs_buf, const u32x *bfs_buf, 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 oldoffice01_t *oldoffice01_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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset)
577 const u32 gid = (blockIdx.x * blockDim.x) + threadIdx.x;
578 const u32 lid = threadIdx.x;
584 const u32 search[4] =
586 digests_buf[digests_offset].digest_buf[DGST_R0],
587 digests_buf[digests_offset].digest_buf[DGST_R1],
588 digests_buf[digests_offset].digest_buf[DGST_R2],
589 digests_buf[digests_offset].digest_buf[DGST_R3]
598 salt_buf[0] = salt_bufs[salt_pos].salt_buf[0];
599 salt_buf[1] = salt_bufs[salt_pos].salt_buf[1];
600 salt_buf[2] = salt_bufs[salt_pos].salt_buf[2];
601 salt_buf[3] = salt_bufs[salt_pos].salt_buf[3];
609 for (u32 il_pos = 0; il_pos < bfs_cnt; il_pos++)
611 const u32 w0r = c_bfs[il_pos].i;
634 w3_t[2] = pw_len * 8;
639 digest_pre[0] = MD5M_A;
640 digest_pre[1] = MD5M_B;
641 digest_pre[2] = MD5M_C;
642 digest_pre[3] = MD5M_D;
644 md5_transform (w0_t, w1_t, w2_t, w3_t, digest_pre);
646 digest_pre[0] &= 0xffffffff;
647 digest_pre[1] &= 0x000000ff;
648 digest_pre[2] &= 0x00000000;
649 digest_pre[3] &= 0x00000000;
658 gen336 (digest_pre, salt_buf, digest);
661 u32x b = digest[1] & 0xff;
668 #include VECT_COMPARE_S
672 extern "C" __global__ void __launch_bounds__ (256, 1) m09720_m04 (const pw_t *pws, const gpu_rule_t *rules_buf, const comb_t *combs_buf, const u32x *bfs_buf, 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 oldoffice01_t *oldoffice01_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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
678 const u32 gid = (blockIdx.x * blockDim.x) + threadIdx.x;
680 if (gid >= gid_max) return;
684 w0[0] = pws[gid].i[ 0];
685 w0[1] = pws[gid].i[ 1];
686 w0[2] = pws[gid].i[ 2];
687 w0[3] = pws[gid].i[ 3];
710 const u32 pw_len = pws[gid].pw_len;
716 m09720m (w0, w1, w2, w3, pw_len, pws, rules_buf, combs_buf, bfs_buf, tmps, hooks, bitmaps_buf_s1_a, bitmaps_buf_s1_b, bitmaps_buf_s1_c, bitmaps_buf_s1_d, bitmaps_buf_s2_a, bitmaps_buf_s2_b, bitmaps_buf_s2_c, bitmaps_buf_s2_d, plains_buf, digests_buf, hashes_shown, salt_bufs, oldoffice01_bufs, d_return_buf, d_scryptV_buf, bitmap_mask, bitmap_shift1, bitmap_shift2, salt_pos, loop_pos, loop_cnt, bfs_cnt, digests_cnt, digests_offset);
719 extern "C" __global__ void __launch_bounds__ (256, 1) m09720_m08 (const pw_t *pws, const gpu_rule_t *rules_buf, const comb_t *combs_buf, const u32x *bfs_buf, 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 oldoffice01_t *oldoffice01_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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
725 const u32 gid = (blockIdx.x * blockDim.x) + threadIdx.x;
727 if (gid >= gid_max) return;
731 w0[0] = pws[gid].i[ 0];
732 w0[1] = pws[gid].i[ 1];
733 w0[2] = pws[gid].i[ 2];
734 w0[3] = pws[gid].i[ 3];
738 w1[0] = pws[gid].i[ 4];
739 w1[1] = pws[gid].i[ 5];
740 w1[2] = pws[gid].i[ 6];
741 w1[3] = pws[gid].i[ 7];
757 const u32 pw_len = pws[gid].pw_len;
763 m09720m (w0, w1, w2, w3, pw_len, pws, rules_buf, combs_buf, bfs_buf, tmps, hooks, bitmaps_buf_s1_a, bitmaps_buf_s1_b, bitmaps_buf_s1_c, bitmaps_buf_s1_d, bitmaps_buf_s2_a, bitmaps_buf_s2_b, bitmaps_buf_s2_c, bitmaps_buf_s2_d, plains_buf, digests_buf, hashes_shown, salt_bufs, oldoffice01_bufs, d_return_buf, d_scryptV_buf, bitmap_mask, bitmap_shift1, bitmap_shift2, salt_pos, loop_pos, loop_cnt, bfs_cnt, digests_cnt, digests_offset);
766 extern "C" __global__ void __launch_bounds__ (256, 1) m09720_m16 (const pw_t *pws, const gpu_rule_t *rules_buf, const comb_t *combs_buf, const u32x *bfs_buf, 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 oldoffice01_t *oldoffice01_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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
772 const u32 gid = (blockIdx.x * blockDim.x) + threadIdx.x;
774 if (gid >= gid_max) return;
778 w0[0] = pws[gid].i[ 0];
779 w0[1] = pws[gid].i[ 1];
780 w0[2] = pws[gid].i[ 2];
781 w0[3] = pws[gid].i[ 3];
785 w1[0] = pws[gid].i[ 4];
786 w1[1] = pws[gid].i[ 5];
787 w1[2] = pws[gid].i[ 6];
788 w1[3] = pws[gid].i[ 7];
792 w2[0] = pws[gid].i[ 8];
793 w2[1] = pws[gid].i[ 9];
794 w2[2] = pws[gid].i[10];
795 w2[3] = pws[gid].i[11];
799 w3[0] = pws[gid].i[12];
800 w3[1] = pws[gid].i[13];
804 const u32 pw_len = pws[gid].pw_len;
810 m09720m (w0, w1, w2, w3, pw_len, pws, rules_buf, combs_buf, bfs_buf, tmps, hooks, bitmaps_buf_s1_a, bitmaps_buf_s1_b, bitmaps_buf_s1_c, bitmaps_buf_s1_d, bitmaps_buf_s2_a, bitmaps_buf_s2_b, bitmaps_buf_s2_c, bitmaps_buf_s2_d, plains_buf, digests_buf, hashes_shown, salt_bufs, oldoffice01_bufs, d_return_buf, d_scryptV_buf, bitmap_mask, bitmap_shift1, bitmap_shift2, salt_pos, loop_pos, loop_cnt, bfs_cnt, digests_cnt, digests_offset);
813 extern "C" __global__ void __launch_bounds__ (256, 1) m09720_s04 (const pw_t *pws, const gpu_rule_t *rules_buf, const comb_t *combs_buf, const u32x *bfs_buf, 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 oldoffice01_t *oldoffice01_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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
819 const u32 gid = (blockIdx.x * blockDim.x) + threadIdx.x;
821 if (gid >= gid_max) return;
825 w0[0] = pws[gid].i[ 0];
826 w0[1] = pws[gid].i[ 1];
827 w0[2] = pws[gid].i[ 2];
828 w0[3] = pws[gid].i[ 3];
851 const u32 pw_len = pws[gid].pw_len;
857 m09720s (w0, w1, w2, w3, pw_len, pws, rules_buf, combs_buf, bfs_buf, tmps, hooks, bitmaps_buf_s1_a, bitmaps_buf_s1_b, bitmaps_buf_s1_c, bitmaps_buf_s1_d, bitmaps_buf_s2_a, bitmaps_buf_s2_b, bitmaps_buf_s2_c, bitmaps_buf_s2_d, plains_buf, digests_buf, hashes_shown, salt_bufs, oldoffice01_bufs, d_return_buf, d_scryptV_buf, bitmap_mask, bitmap_shift1, bitmap_shift2, salt_pos, loop_pos, loop_cnt, bfs_cnt, digests_cnt, digests_offset);
860 extern "C" __global__ void __launch_bounds__ (256, 1) m09720_s08 (const pw_t *pws, const gpu_rule_t *rules_buf, const comb_t *combs_buf, const u32x *bfs_buf, 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 oldoffice01_t *oldoffice01_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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
866 const u32 gid = (blockIdx.x * blockDim.x) + threadIdx.x;
868 if (gid >= gid_max) return;
872 w0[0] = pws[gid].i[ 0];
873 w0[1] = pws[gid].i[ 1];
874 w0[2] = pws[gid].i[ 2];
875 w0[3] = pws[gid].i[ 3];
879 w1[0] = pws[gid].i[ 4];
880 w1[1] = pws[gid].i[ 5];
881 w1[2] = pws[gid].i[ 6];
882 w1[3] = pws[gid].i[ 7];
898 const u32 pw_len = pws[gid].pw_len;
904 m09720s (w0, w1, w2, w3, pw_len, pws, rules_buf, combs_buf, bfs_buf, tmps, hooks, bitmaps_buf_s1_a, bitmaps_buf_s1_b, bitmaps_buf_s1_c, bitmaps_buf_s1_d, bitmaps_buf_s2_a, bitmaps_buf_s2_b, bitmaps_buf_s2_c, bitmaps_buf_s2_d, plains_buf, digests_buf, hashes_shown, salt_bufs, oldoffice01_bufs, d_return_buf, d_scryptV_buf, bitmap_mask, bitmap_shift1, bitmap_shift2, salt_pos, loop_pos, loop_cnt, bfs_cnt, digests_cnt, digests_offset);
907 extern "C" __global__ void __launch_bounds__ (256, 1) m09720_s16 (const pw_t *pws, const gpu_rule_t *rules_buf, const comb_t *combs_buf, const u32x *bfs_buf, 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 oldoffice01_t *oldoffice01_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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
913 const u32 gid = (blockIdx.x * blockDim.x) + threadIdx.x;
915 if (gid >= gid_max) return;
919 w0[0] = pws[gid].i[ 0];
920 w0[1] = pws[gid].i[ 1];
921 w0[2] = pws[gid].i[ 2];
922 w0[3] = pws[gid].i[ 3];
926 w1[0] = pws[gid].i[ 4];
927 w1[1] = pws[gid].i[ 5];
928 w1[2] = pws[gid].i[ 6];
929 w1[3] = pws[gid].i[ 7];
933 w2[0] = pws[gid].i[ 8];
934 w2[1] = pws[gid].i[ 9];
935 w2[2] = pws[gid].i[10];
936 w2[3] = pws[gid].i[11];
940 w3[0] = pws[gid].i[12];
941 w3[1] = pws[gid].i[13];
945 const u32 pw_len = pws[gid].pw_len;
951 m09720s (w0, w1, w2, w3, pw_len, pws, rules_buf, combs_buf, bfs_buf, tmps, hooks, bitmaps_buf_s1_a, bitmaps_buf_s1_b, bitmaps_buf_s1_c, bitmaps_buf_s1_d, bitmaps_buf_s2_a, bitmaps_buf_s2_b, bitmaps_buf_s2_c, bitmaps_buf_s2_d, plains_buf, digests_buf, hashes_shown, salt_bufs, oldoffice01_bufs, d_return_buf, d_scryptV_buf, bitmap_mask, bitmap_shift1, bitmap_shift2, salt_pos, loop_pos, loop_cnt, bfs_cnt, digests_cnt, digests_offset);