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"
39 #define VECT_COMPARE_S "check_single_vect4_comp4.c"
40 #define VECT_COMPARE_M "check_multi_vect4_comp4.c"
43 __device__ __constant__ u32 padding[8] =
55 __device__ static void md5_transform (const u32x w0[4], const u32x w1[4], const u32x w2[4], const u32x w3[4], u32x digest[4])
79 MD5_STEP (MD5_Fo, a, b, c, d, w0_t, MD5C00, MD5S00);
80 MD5_STEP (MD5_Fo, d, a, b, c, w1_t, MD5C01, MD5S01);
81 MD5_STEP (MD5_Fo, c, d, a, b, w2_t, MD5C02, MD5S02);
82 MD5_STEP (MD5_Fo, b, c, d, a, w3_t, MD5C03, MD5S03);
83 MD5_STEP (MD5_Fo, a, b, c, d, w4_t, MD5C04, MD5S00);
84 MD5_STEP (MD5_Fo, d, a, b, c, w5_t, MD5C05, MD5S01);
85 MD5_STEP (MD5_Fo, c, d, a, b, w6_t, MD5C06, MD5S02);
86 MD5_STEP (MD5_Fo, b, c, d, a, w7_t, MD5C07, MD5S03);
87 MD5_STEP (MD5_Fo, a, b, c, d, w8_t, MD5C08, MD5S00);
88 MD5_STEP (MD5_Fo, d, a, b, c, w9_t, MD5C09, MD5S01);
89 MD5_STEP (MD5_Fo, c, d, a, b, wa_t, MD5C0a, MD5S02);
90 MD5_STEP (MD5_Fo, b, c, d, a, wb_t, MD5C0b, MD5S03);
91 MD5_STEP (MD5_Fo, a, b, c, d, wc_t, MD5C0c, MD5S00);
92 MD5_STEP (MD5_Fo, d, a, b, c, wd_t, MD5C0d, MD5S01);
93 MD5_STEP (MD5_Fo, c, d, a, b, we_t, MD5C0e, MD5S02);
94 MD5_STEP (MD5_Fo, b, c, d, a, wf_t, MD5C0f, MD5S03);
96 MD5_STEP (MD5_Go, a, b, c, d, w1_t, MD5C10, MD5S10);
97 MD5_STEP (MD5_Go, d, a, b, c, w6_t, MD5C11, MD5S11);
98 MD5_STEP (MD5_Go, c, d, a, b, wb_t, MD5C12, MD5S12);
99 MD5_STEP (MD5_Go, b, c, d, a, w0_t, MD5C13, MD5S13);
100 MD5_STEP (MD5_Go, a, b, c, d, w5_t, MD5C14, MD5S10);
101 MD5_STEP (MD5_Go, d, a, b, c, wa_t, MD5C15, MD5S11);
102 MD5_STEP (MD5_Go, c, d, a, b, wf_t, MD5C16, MD5S12);
103 MD5_STEP (MD5_Go, b, c, d, a, w4_t, MD5C17, MD5S13);
104 MD5_STEP (MD5_Go, a, b, c, d, w9_t, MD5C18, MD5S10);
105 MD5_STEP (MD5_Go, d, a, b, c, we_t, MD5C19, MD5S11);
106 MD5_STEP (MD5_Go, c, d, a, b, w3_t, MD5C1a, MD5S12);
107 MD5_STEP (MD5_Go, b, c, d, a, w8_t, MD5C1b, MD5S13);
108 MD5_STEP (MD5_Go, a, b, c, d, wd_t, MD5C1c, MD5S10);
109 MD5_STEP (MD5_Go, d, a, b, c, w2_t, MD5C1d, MD5S11);
110 MD5_STEP (MD5_Go, c, d, a, b, w7_t, MD5C1e, MD5S12);
111 MD5_STEP (MD5_Go, b, c, d, a, wc_t, MD5C1f, MD5S13);
113 MD5_STEP (MD5_H , a, b, c, d, w5_t, MD5C20, MD5S20);
114 MD5_STEP (MD5_H , d, a, b, c, w8_t, MD5C21, MD5S21);
115 MD5_STEP (MD5_H , c, d, a, b, wb_t, MD5C22, MD5S22);
116 MD5_STEP (MD5_H , b, c, d, a, we_t, MD5C23, MD5S23);
117 MD5_STEP (MD5_H , a, b, c, d, w1_t, MD5C24, MD5S20);
118 MD5_STEP (MD5_H , d, a, b, c, w4_t, MD5C25, MD5S21);
119 MD5_STEP (MD5_H , c, d, a, b, w7_t, MD5C26, MD5S22);
120 MD5_STEP (MD5_H , b, c, d, a, wa_t, MD5C27, MD5S23);
121 MD5_STEP (MD5_H , a, b, c, d, wd_t, MD5C28, MD5S20);
122 MD5_STEP (MD5_H , d, a, b, c, w0_t, MD5C29, MD5S21);
123 MD5_STEP (MD5_H , c, d, a, b, w3_t, MD5C2a, MD5S22);
124 MD5_STEP (MD5_H , b, c, d, a, w6_t, MD5C2b, MD5S23);
125 MD5_STEP (MD5_H , a, b, c, d, w9_t, MD5C2c, MD5S20);
126 MD5_STEP (MD5_H , d, a, b, c, wc_t, MD5C2d, MD5S21);
127 MD5_STEP (MD5_H , c, d, a, b, wf_t, MD5C2e, MD5S22);
128 MD5_STEP (MD5_H , b, c, d, a, w2_t, MD5C2f, MD5S23);
130 MD5_STEP (MD5_I , a, b, c, d, w0_t, MD5C30, MD5S30);
131 MD5_STEP (MD5_I , d, a, b, c, w7_t, MD5C31, MD5S31);
132 MD5_STEP (MD5_I , c, d, a, b, we_t, MD5C32, MD5S32);
133 MD5_STEP (MD5_I , b, c, d, a, w5_t, MD5C33, MD5S33);
134 MD5_STEP (MD5_I , a, b, c, d, wc_t, MD5C34, MD5S30);
135 MD5_STEP (MD5_I , d, a, b, c, w3_t, MD5C35, MD5S31);
136 MD5_STEP (MD5_I , c, d, a, b, wa_t, MD5C36, MD5S32);
137 MD5_STEP (MD5_I , b, c, d, a, w1_t, MD5C37, MD5S33);
138 MD5_STEP (MD5_I , a, b, c, d, w8_t, MD5C38, MD5S30);
139 MD5_STEP (MD5_I , d, a, b, c, wf_t, MD5C39, MD5S31);
140 MD5_STEP (MD5_I , c, d, a, b, w6_t, MD5C3a, MD5S32);
141 MD5_STEP (MD5_I , b, c, d, a, wd_t, MD5C3b, MD5S33);
142 MD5_STEP (MD5_I , a, b, c, d, w4_t, MD5C3c, MD5S30);
143 MD5_STEP (MD5_I , d, a, b, c, wb_t, MD5C3d, MD5S31);
144 MD5_STEP (MD5_I , c, d, a, b, w2_t, MD5C3e, MD5S32);
145 MD5_STEP (MD5_I , b, c, d, a, w9_t, MD5C3f, MD5S33);
153 __device__ __constant__ bf_t c_bfs[1024];
155 __device__ static void m10420m (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 * words_buf_r, 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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset)
161 const u32 gid = (blockIdx.x * blockDim.x) + threadIdx.x;
162 const u32 lid = threadIdx.x;
170 o_buf[0] = pdf_bufs[salt_pos].o_buf[0];
171 o_buf[1] = pdf_bufs[salt_pos].o_buf[1];
172 o_buf[2] = pdf_bufs[salt_pos].o_buf[2];
173 o_buf[3] = pdf_bufs[salt_pos].o_buf[3];
174 o_buf[4] = pdf_bufs[salt_pos].o_buf[4];
175 o_buf[5] = pdf_bufs[salt_pos].o_buf[5];
176 o_buf[6] = pdf_bufs[salt_pos].o_buf[6];
177 o_buf[7] = pdf_bufs[salt_pos].o_buf[7];
179 u32 P = pdf_bufs[salt_pos].P;
183 id_buf[0] = pdf_bufs[salt_pos].id_buf[0];
184 id_buf[1] = pdf_bufs[salt_pos].id_buf[1];
185 id_buf[2] = pdf_bufs[salt_pos].id_buf[2];
186 id_buf[3] = pdf_bufs[salt_pos].id_buf[3];
194 for (u32 il_pos = 0; il_pos < bfs_cnt; il_pos++)
196 const u32 w0r = c_bfs[il_pos].i;
205 // max length supported by pdf11 is 32
207 w0_t[0] = padding[0];
208 w0_t[1] = padding[1];
209 w0_t[2] = padding[2];
210 w0_t[3] = padding[3];
211 w1_t[0] = padding[4];
212 w1_t[1] = padding[5];
213 w1_t[2] = padding[6];
214 w1_t[3] = padding[7];
224 switch_buffer_by_offset (w0_t, w1_t, w2_t, w3_t, pw_len);
227 // truncate at 32 is wanted, not a bug!
254 md5_transform (w0_t, w1_t, w2_t, w3_t, digest);
273 md5_transform (w0_t, w1_t, w2_t, w3_t, digest);
276 u32x b = digest[1] & 0xff;
283 #include VECT_COMPARE_M
287 __device__ static void m10420s (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 * words_buf_r, 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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset)
293 const u32 gid = (blockIdx.x * blockDim.x) + threadIdx.x;
294 const u32 lid = threadIdx.x;
300 const u32 search[4] =
302 digests_buf[digests_offset].digest_buf[DGST_R0],
303 digests_buf[digests_offset].digest_buf[DGST_R1],
304 digests_buf[digests_offset].digest_buf[DGST_R2],
305 digests_buf[digests_offset].digest_buf[DGST_R3]
314 o_buf[0] = pdf_bufs[salt_pos].o_buf[0];
315 o_buf[1] = pdf_bufs[salt_pos].o_buf[1];
316 o_buf[2] = pdf_bufs[salt_pos].o_buf[2];
317 o_buf[3] = pdf_bufs[salt_pos].o_buf[3];
318 o_buf[4] = pdf_bufs[salt_pos].o_buf[4];
319 o_buf[5] = pdf_bufs[salt_pos].o_buf[5];
320 o_buf[6] = pdf_bufs[salt_pos].o_buf[6];
321 o_buf[7] = pdf_bufs[salt_pos].o_buf[7];
323 u32 P = pdf_bufs[salt_pos].P;
327 id_buf[0] = pdf_bufs[salt_pos].id_buf[0];
328 id_buf[1] = pdf_bufs[salt_pos].id_buf[1];
329 id_buf[2] = pdf_bufs[salt_pos].id_buf[2];
330 id_buf[3] = pdf_bufs[salt_pos].id_buf[3];
338 for (u32 il_pos = 0; il_pos < bfs_cnt; il_pos++)
340 const u32 w0r = c_bfs[il_pos].i;
349 // max length supported by pdf11 is 32
351 w0_t[0] = padding[0];
352 w0_t[1] = padding[1];
353 w0_t[2] = padding[2];
354 w0_t[3] = padding[3];
355 w1_t[0] = padding[4];
356 w1_t[1] = padding[5];
357 w1_t[2] = padding[6];
358 w1_t[3] = padding[7];
368 switch_buffer_by_offset (w0_t, w1_t, w2_t, w3_t, pw_len);
371 // truncate at 32 is wanted, not a bug!
398 md5_transform (w0_t, w1_t, w2_t, w3_t, digest);
417 md5_transform (w0_t, w1_t, w2_t, w3_t, digest);
420 u32x b = digest[1] & 0xff;
427 #include VECT_COMPARE_S
431 extern "C" __global__ void __launch_bounds__ (256, 1) m10420_m04 (const pw_t *pws, const gpu_rule_t *rules_buf, const comb_t *combs_buf, const u32x * words_buf_r, 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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
437 const u32 gid = (blockIdx.x * blockDim.x) + threadIdx.x;
439 if (gid >= gid_max) return;
443 w0[0] = pws[gid].i[ 0];
444 w0[1] = pws[gid].i[ 1];
445 w0[2] = pws[gid].i[ 2];
446 w0[3] = pws[gid].i[ 3];
469 const u32 pw_len = pws[gid].pw_len;
475 m10420m (w0, w1, w2, w3, pw_len, pws, rules_buf, combs_buf, words_buf_r, 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, pdf_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);
478 extern "C" __global__ void __launch_bounds__ (256, 1) m10420_m08 (const pw_t *pws, const gpu_rule_t *rules_buf, const comb_t *combs_buf, const u32x * words_buf_r, 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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
484 const u32 gid = (blockIdx.x * blockDim.x) + threadIdx.x;
486 if (gid >= gid_max) return;
490 w0[0] = pws[gid].i[ 0];
491 w0[1] = pws[gid].i[ 1];
492 w0[2] = pws[gid].i[ 2];
493 w0[3] = pws[gid].i[ 3];
497 w1[0] = pws[gid].i[ 4];
498 w1[1] = pws[gid].i[ 5];
499 w1[2] = pws[gid].i[ 6];
500 w1[3] = pws[gid].i[ 7];
516 const u32 pw_len = pws[gid].pw_len;
522 m10420m (w0, w1, w2, w3, pw_len, pws, rules_buf, combs_buf, words_buf_r, 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, pdf_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);
525 extern "C" __global__ void __launch_bounds__ (256, 1) m10420_m16 (const pw_t *pws, const gpu_rule_t *rules_buf, const comb_t *combs_buf, const u32x * words_buf_r, 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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
531 const u32 gid = (blockIdx.x * blockDim.x) + threadIdx.x;
533 if (gid >= gid_max) return;
537 w0[0] = pws[gid].i[ 0];
538 w0[1] = pws[gid].i[ 1];
539 w0[2] = pws[gid].i[ 2];
540 w0[3] = pws[gid].i[ 3];
544 w1[0] = pws[gid].i[ 4];
545 w1[1] = pws[gid].i[ 5];
546 w1[2] = pws[gid].i[ 6];
547 w1[3] = pws[gid].i[ 7];
551 w2[0] = pws[gid].i[ 8];
552 w2[1] = pws[gid].i[ 9];
553 w2[2] = pws[gid].i[10];
554 w2[3] = pws[gid].i[11];
558 w3[0] = pws[gid].i[12];
559 w3[1] = pws[gid].i[13];
563 const u32 pw_len = pws[gid].pw_len;
569 m10420m (w0, w1, w2, w3, pw_len, pws, rules_buf, combs_buf, words_buf_r, 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, pdf_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);
572 extern "C" __global__ void __launch_bounds__ (256, 1) m10420_s04 (const pw_t *pws, const gpu_rule_t *rules_buf, const comb_t *combs_buf, const u32x * words_buf_r, 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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
578 const u32 gid = (blockIdx.x * blockDim.x) + threadIdx.x;
580 if (gid >= gid_max) return;
584 w0[0] = pws[gid].i[ 0];
585 w0[1] = pws[gid].i[ 1];
586 w0[2] = pws[gid].i[ 2];
587 w0[3] = pws[gid].i[ 3];
610 const u32 pw_len = pws[gid].pw_len;
616 m10420s (w0, w1, w2, w3, pw_len, pws, rules_buf, combs_buf, words_buf_r, 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, pdf_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);
619 extern "C" __global__ void __launch_bounds__ (256, 1) m10420_s08 (const pw_t *pws, const gpu_rule_t *rules_buf, const comb_t *combs_buf, const u32x * words_buf_r, 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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
625 const u32 gid = (blockIdx.x * blockDim.x) + threadIdx.x;
627 if (gid >= gid_max) return;
631 w0[0] = pws[gid].i[ 0];
632 w0[1] = pws[gid].i[ 1];
633 w0[2] = pws[gid].i[ 2];
634 w0[3] = pws[gid].i[ 3];
638 w1[0] = pws[gid].i[ 4];
639 w1[1] = pws[gid].i[ 5];
640 w1[2] = pws[gid].i[ 6];
641 w1[3] = pws[gid].i[ 7];
657 const u32 pw_len = pws[gid].pw_len;
663 m10420s (w0, w1, w2, w3, pw_len, pws, rules_buf, combs_buf, words_buf_r, 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, pdf_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);
666 extern "C" __global__ void __launch_bounds__ (256, 1) m10420_s16 (const pw_t *pws, const gpu_rule_t *rules_buf, const comb_t *combs_buf, const u32x * words_buf_r, 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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
672 const u32 gid = (blockIdx.x * blockDim.x) + threadIdx.x;
674 if (gid >= gid_max) return;
678 w0[0] = pws[gid].i[ 0];
679 w0[1] = pws[gid].i[ 1];
680 w0[2] = pws[gid].i[ 2];
681 w0[3] = pws[gid].i[ 3];
685 w1[0] = pws[gid].i[ 4];
686 w1[1] = pws[gid].i[ 5];
687 w1[2] = pws[gid].i[ 6];
688 w1[3] = pws[gid].i[ 7];
692 w2[0] = pws[gid].i[ 8];
693 w2[1] = pws[gid].i[ 9];
694 w2[2] = pws[gid].i[10];
695 w2[3] = pws[gid].i[11];
699 w3[0] = pws[gid].i[12];
700 w3[1] = pws[gid].i[13];
704 const u32 pw_len = pws[gid].pw_len;
710 m10420s (w0, w1, w2, w3, pw_len, pws, rules_buf, combs_buf, words_buf_r, 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, pdf_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);