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) m00040_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);
139 const u32 out_salt_len = (out_len * 2) + salt_len;
146 make_unicode (w0, w0_t, w1_t);
147 make_unicode (w1, w2_t, w3_t);
149 switch_buffer_by_offset (w0_t, w1_t, w2_t, w3_t, salt_len);
151 w0_t[0] |= salt_buf0[0];
152 w0_t[1] |= salt_buf0[1];
153 w0_t[2] |= salt_buf0[2];
154 w0_t[3] |= salt_buf0[3];
155 w1_t[0] |= salt_buf1[0];
156 w1_t[1] |= salt_buf1[1];
157 w1_t[2] |= salt_buf1[2];
158 w1_t[3] |= salt_buf1[3];
160 append_0x80_4 (w0_t, w1_t, w2_t, w3_t, out_salt_len);
162 w3_t[2] = out_salt_len * 8;
173 MD5_STEP (MD5_Fo, a, b, c, d, w0_t[0], MD5C00, MD5S00);
174 MD5_STEP (MD5_Fo, d, a, b, c, w0_t[1], MD5C01, MD5S01);
175 MD5_STEP (MD5_Fo, c, d, a, b, w0_t[2], MD5C02, MD5S02);
176 MD5_STEP (MD5_Fo, b, c, d, a, w0_t[3], MD5C03, MD5S03);
177 MD5_STEP (MD5_Fo, a, b, c, d, w1_t[0], MD5C04, MD5S00);
178 MD5_STEP (MD5_Fo, d, a, b, c, w1_t[1], MD5C05, MD5S01);
179 MD5_STEP (MD5_Fo, c, d, a, b, w1_t[2], MD5C06, MD5S02);
180 MD5_STEP (MD5_Fo, b, c, d, a, w1_t[3], MD5C07, MD5S03);
181 MD5_STEP (MD5_Fo, a, b, c, d, w2_t[0], MD5C08, MD5S00);
182 MD5_STEP (MD5_Fo, d, a, b, c, w2_t[1], MD5C09, MD5S01);
183 MD5_STEP (MD5_Fo, c, d, a, b, w2_t[2], MD5C0a, MD5S02);
184 MD5_STEP (MD5_Fo, b, c, d, a, w2_t[3], MD5C0b, MD5S03);
185 MD5_STEP (MD5_Fo, a, b, c, d, w3_t[0], MD5C0c, MD5S00);
186 MD5_STEP (MD5_Fo, d, a, b, c, w3_t[1], MD5C0d, MD5S01);
187 MD5_STEP (MD5_Fo, c, d, a, b, w3_t[2], MD5C0e, MD5S02);
188 MD5_STEP (MD5_Fo, b, c, d, a, w3_t[3], MD5C0f, MD5S03);
190 MD5_STEP (MD5_Go, a, b, c, d, w0_t[1], MD5C10, MD5S10);
191 MD5_STEP (MD5_Go, d, a, b, c, w1_t[2], MD5C11, MD5S11);
192 MD5_STEP (MD5_Go, c, d, a, b, w2_t[3], MD5C12, MD5S12);
193 MD5_STEP (MD5_Go, b, c, d, a, w0_t[0], MD5C13, MD5S13);
194 MD5_STEP (MD5_Go, a, b, c, d, w1_t[1], MD5C14, MD5S10);
195 MD5_STEP (MD5_Go, d, a, b, c, w2_t[2], MD5C15, MD5S11);
196 MD5_STEP (MD5_Go, c, d, a, b, w3_t[3], MD5C16, MD5S12);
197 MD5_STEP (MD5_Go, b, c, d, a, w1_t[0], MD5C17, MD5S13);
198 MD5_STEP (MD5_Go, a, b, c, d, w2_t[1], MD5C18, MD5S10);
199 MD5_STEP (MD5_Go, d, a, b, c, w3_t[2], MD5C19, MD5S11);
200 MD5_STEP (MD5_Go, c, d, a, b, w0_t[3], MD5C1a, MD5S12);
201 MD5_STEP (MD5_Go, b, c, d, a, w2_t[0], MD5C1b, MD5S13);
202 MD5_STEP (MD5_Go, a, b, c, d, w3_t[1], MD5C1c, MD5S10);
203 MD5_STEP (MD5_Go, d, a, b, c, w0_t[2], MD5C1d, MD5S11);
204 MD5_STEP (MD5_Go, c, d, a, b, w1_t[3], MD5C1e, MD5S12);
205 MD5_STEP (MD5_Go, b, c, d, a, w3_t[0], MD5C1f, MD5S13);
207 MD5_STEP (MD5_H , a, b, c, d, w1_t[1], MD5C20, MD5S20);
208 MD5_STEP (MD5_H , d, a, b, c, w2_t[0], MD5C21, MD5S21);
209 MD5_STEP (MD5_H , c, d, a, b, w2_t[3], MD5C22, MD5S22);
210 MD5_STEP (MD5_H , b, c, d, a, w3_t[2], MD5C23, MD5S23);
211 MD5_STEP (MD5_H , a, b, c, d, w0_t[1], MD5C24, MD5S20);
212 MD5_STEP (MD5_H , d, a, b, c, w1_t[0], MD5C25, MD5S21);
213 MD5_STEP (MD5_H , c, d, a, b, w1_t[3], MD5C26, MD5S22);
214 MD5_STEP (MD5_H , b, c, d, a, w2_t[2], MD5C27, MD5S23);
215 MD5_STEP (MD5_H , a, b, c, d, w3_t[1], MD5C28, MD5S20);
216 MD5_STEP (MD5_H , d, a, b, c, w0_t[0], MD5C29, MD5S21);
217 MD5_STEP (MD5_H , c, d, a, b, w0_t[3], MD5C2a, MD5S22);
218 MD5_STEP (MD5_H , b, c, d, a, w1_t[2], MD5C2b, MD5S23);
219 MD5_STEP (MD5_H , a, b, c, d, w2_t[1], MD5C2c, MD5S20);
220 MD5_STEP (MD5_H , d, a, b, c, w3_t[0], MD5C2d, MD5S21);
221 MD5_STEP (MD5_H , c, d, a, b, w3_t[3], MD5C2e, MD5S22);
222 MD5_STEP (MD5_H , b, c, d, a, w0_t[2], MD5C2f, MD5S23);
224 MD5_STEP (MD5_I , a, b, c, d, w0_t[0], MD5C30, MD5S30);
225 MD5_STEP (MD5_I , d, a, b, c, w1_t[3], MD5C31, MD5S31);
226 MD5_STEP (MD5_I , c, d, a, b, w3_t[2], MD5C32, MD5S32);
227 MD5_STEP (MD5_I , b, c, d, a, w1_t[1], MD5C33, MD5S33);
228 MD5_STEP (MD5_I , a, b, c, d, w3_t[0], MD5C34, MD5S30);
229 MD5_STEP (MD5_I , d, a, b, c, w0_t[3], MD5C35, MD5S31);
230 MD5_STEP (MD5_I , c, d, a, b, w2_t[2], MD5C36, MD5S32);
231 MD5_STEP (MD5_I , b, c, d, a, w0_t[1], MD5C37, MD5S33);
232 MD5_STEP (MD5_I , a, b, c, d, w2_t[0], MD5C38, MD5S30);
233 MD5_STEP (MD5_I , d, a, b, c, w3_t[3], MD5C39, MD5S31);
234 MD5_STEP (MD5_I , c, d, a, b, w1_t[2], MD5C3a, MD5S32);
235 MD5_STEP (MD5_I , b, c, d, a, w3_t[1], MD5C3b, MD5S33);
236 MD5_STEP (MD5_I , a, b, c, d, w1_t[0], MD5C3c, MD5S30);
237 MD5_STEP (MD5_I , d, a, b, c, w2_t[3], MD5C3d, MD5S31);
238 MD5_STEP (MD5_I , c, d, a, b, w0_t[2], MD5C3e, MD5S32);
239 MD5_STEP (MD5_I , b, c, d, a, w2_t[1], MD5C3f, MD5S33);
247 #include VECT_COMPARE_M
251 extern "C" __global__ void __launch_bounds__ (256, 1) m00040_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)
255 extern "C" __global__ void __launch_bounds__ (256, 1) m00040_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)
259 extern "C" __global__ void __launch_bounds__ (256, 1) m00040_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)
265 const u32 lid = threadIdx.x;
271 const u32 gid = (blockIdx.x * blockDim.x) + threadIdx.x;
273 if (gid >= gid_max) return;
277 pw_buf0[0] = pws[gid].i[ 0];
278 pw_buf0[1] = pws[gid].i[ 1];
279 pw_buf0[2] = pws[gid].i[ 2];
280 pw_buf0[3] = pws[gid].i[ 3];
284 pw_buf1[0] = pws[gid].i[ 4];
285 pw_buf1[1] = pws[gid].i[ 5];
286 pw_buf1[2] = pws[gid].i[ 6];
287 pw_buf1[3] = pws[gid].i[ 7];
289 const u32 pw_len = pws[gid].pw_len;
297 salt_buf0[0] = salt_bufs[salt_pos].salt_buf[0];
298 salt_buf0[1] = salt_bufs[salt_pos].salt_buf[1];
299 salt_buf0[2] = salt_bufs[salt_pos].salt_buf[2];
300 salt_buf0[3] = salt_bufs[salt_pos].salt_buf[3];
304 salt_buf1[0] = salt_bufs[salt_pos].salt_buf[4];
305 salt_buf1[1] = salt_bufs[salt_pos].salt_buf[5];
306 salt_buf1[2] = salt_bufs[salt_pos].salt_buf[6];
307 salt_buf1[3] = salt_bufs[salt_pos].salt_buf[7];
309 const u32 salt_len = salt_bufs[salt_pos].salt_len;
315 const u32 search[4] =
317 digests_buf[digests_offset].digest_buf[DGST_R0],
318 digests_buf[digests_offset].digest_buf[DGST_R1],
319 digests_buf[digests_offset].digest_buf[DGST_R2],
320 digests_buf[digests_offset].digest_buf[DGST_R3]
327 for (u32 il_pos = 0; il_pos < rules_cnt; il_pos++)
357 const u32 out_len = apply_rules (c_rules[il_pos].cmds, w0, w1, pw_len);
363 const u32 out_salt_len = (out_len * 2) + salt_len;
370 make_unicode (w0, w0_t, w1_t);
371 make_unicode (w1, w2_t, w3_t);
373 switch_buffer_by_offset (w0_t, w1_t, w2_t, w3_t, salt_len);
375 w0_t[0] |= salt_buf0[0];
376 w0_t[1] |= salt_buf0[1];
377 w0_t[2] |= salt_buf0[2];
378 w0_t[3] |= salt_buf0[3];
379 w1_t[0] |= salt_buf1[0];
380 w1_t[1] |= salt_buf1[1];
381 w1_t[2] |= salt_buf1[2];
382 w1_t[3] |= salt_buf1[3];
384 append_0x80_4 (w0_t, w1_t, w2_t, w3_t, out_salt_len);
386 w3_t[2] = out_salt_len * 8;
397 MD5_STEP (MD5_Fo, a, b, c, d, w0_t[0], MD5C00, MD5S00);
398 MD5_STEP (MD5_Fo, d, a, b, c, w0_t[1], MD5C01, MD5S01);
399 MD5_STEP (MD5_Fo, c, d, a, b, w0_t[2], MD5C02, MD5S02);
400 MD5_STEP (MD5_Fo, b, c, d, a, w0_t[3], MD5C03, MD5S03);
401 MD5_STEP (MD5_Fo, a, b, c, d, w1_t[0], MD5C04, MD5S00);
402 MD5_STEP (MD5_Fo, d, a, b, c, w1_t[1], MD5C05, MD5S01);
403 MD5_STEP (MD5_Fo, c, d, a, b, w1_t[2], MD5C06, MD5S02);
404 MD5_STEP (MD5_Fo, b, c, d, a, w1_t[3], MD5C07, MD5S03);
405 MD5_STEP (MD5_Fo, a, b, c, d, w2_t[0], MD5C08, MD5S00);
406 MD5_STEP (MD5_Fo, d, a, b, c, w2_t[1], MD5C09, MD5S01);
407 MD5_STEP (MD5_Fo, c, d, a, b, w2_t[2], MD5C0a, MD5S02);
408 MD5_STEP (MD5_Fo, b, c, d, a, w2_t[3], MD5C0b, MD5S03);
409 MD5_STEP (MD5_Fo, a, b, c, d, w3_t[0], MD5C0c, MD5S00);
410 MD5_STEP (MD5_Fo, d, a, b, c, w3_t[1], MD5C0d, MD5S01);
411 MD5_STEP (MD5_Fo, c, d, a, b, w3_t[2], MD5C0e, MD5S02);
412 MD5_STEP (MD5_Fo, b, c, d, a, w3_t[3], MD5C0f, MD5S03);
414 MD5_STEP (MD5_Go, a, b, c, d, w0_t[1], MD5C10, MD5S10);
415 MD5_STEP (MD5_Go, d, a, b, c, w1_t[2], MD5C11, MD5S11);
416 MD5_STEP (MD5_Go, c, d, a, b, w2_t[3], MD5C12, MD5S12);
417 MD5_STEP (MD5_Go, b, c, d, a, w0_t[0], MD5C13, MD5S13);
418 MD5_STEP (MD5_Go, a, b, c, d, w1_t[1], MD5C14, MD5S10);
419 MD5_STEP (MD5_Go, d, a, b, c, w2_t[2], MD5C15, MD5S11);
420 MD5_STEP (MD5_Go, c, d, a, b, w3_t[3], MD5C16, MD5S12);
421 MD5_STEP (MD5_Go, b, c, d, a, w1_t[0], MD5C17, MD5S13);
422 MD5_STEP (MD5_Go, a, b, c, d, w2_t[1], MD5C18, MD5S10);
423 MD5_STEP (MD5_Go, d, a, b, c, w3_t[2], MD5C19, MD5S11);
424 MD5_STEP (MD5_Go, c, d, a, b, w0_t[3], MD5C1a, MD5S12);
425 MD5_STEP (MD5_Go, b, c, d, a, w2_t[0], MD5C1b, MD5S13);
426 MD5_STEP (MD5_Go, a, b, c, d, w3_t[1], MD5C1c, MD5S10);
427 MD5_STEP (MD5_Go, d, a, b, c, w0_t[2], MD5C1d, MD5S11);
428 MD5_STEP (MD5_Go, c, d, a, b, w1_t[3], MD5C1e, MD5S12);
429 MD5_STEP (MD5_Go, b, c, d, a, w3_t[0], MD5C1f, MD5S13);
431 MD5_STEP (MD5_H , a, b, c, d, w1_t[1], MD5C20, MD5S20);
432 MD5_STEP (MD5_H , d, a, b, c, w2_t[0], MD5C21, MD5S21);
433 MD5_STEP (MD5_H , c, d, a, b, w2_t[3], MD5C22, MD5S22);
434 MD5_STEP (MD5_H , b, c, d, a, w3_t[2], MD5C23, MD5S23);
435 MD5_STEP (MD5_H , a, b, c, d, w0_t[1], MD5C24, MD5S20);
436 MD5_STEP (MD5_H , d, a, b, c, w1_t[0], MD5C25, MD5S21);
437 MD5_STEP (MD5_H , c, d, a, b, w1_t[3], MD5C26, MD5S22);
438 MD5_STEP (MD5_H , b, c, d, a, w2_t[2], MD5C27, MD5S23);
439 MD5_STEP (MD5_H , a, b, c, d, w3_t[1], MD5C28, MD5S20);
440 MD5_STEP (MD5_H , d, a, b, c, w0_t[0], MD5C29, MD5S21);
441 MD5_STEP (MD5_H , c, d, a, b, w0_t[3], MD5C2a, MD5S22);
442 MD5_STEP (MD5_H , b, c, d, a, w1_t[2], MD5C2b, MD5S23);
443 MD5_STEP (MD5_H , a, b, c, d, w2_t[1], MD5C2c, MD5S20);
444 MD5_STEP (MD5_H , d, a, b, c, w3_t[0], MD5C2d, MD5S21);
445 MD5_STEP (MD5_H , c, d, a, b, w3_t[3], MD5C2e, MD5S22);
446 MD5_STEP (MD5_H , b, c, d, a, w0_t[2], MD5C2f, MD5S23);
448 MD5_STEP (MD5_I , a, b, c, d, w0_t[0], MD5C30, MD5S30);
449 MD5_STEP (MD5_I , d, a, b, c, w1_t[3], MD5C31, MD5S31);
450 MD5_STEP (MD5_I , c, d, a, b, w3_t[2], MD5C32, MD5S32);
451 MD5_STEP (MD5_I , b, c, d, a, w1_t[1], MD5C33, MD5S33);
452 MD5_STEP (MD5_I , a, b, c, d, w3_t[0], MD5C34, MD5S30);
453 MD5_STEP (MD5_I , d, a, b, c, w0_t[3], MD5C35, MD5S31);
454 MD5_STEP (MD5_I , c, d, a, b, w2_t[2], MD5C36, MD5S32);
455 MD5_STEP (MD5_I , b, c, d, a, w0_t[1], MD5C37, MD5S33);
456 MD5_STEP (MD5_I , a, b, c, d, w2_t[0], MD5C38, MD5S30);
457 MD5_STEP (MD5_I , d, a, b, c, w3_t[3], MD5C39, MD5S31);
458 MD5_STEP (MD5_I , c, d, a, b, w1_t[2], MD5C3a, MD5S32);
459 MD5_STEP (MD5_I , b, c, d, a, w3_t[1], MD5C3b, MD5S33);
460 MD5_STEP (MD5_I , a, b, c, d, w1_t[0], MD5C3c, MD5S30);
462 bool q_cond = (search[0] != a);
464 if (q_cond) continue;
466 MD5_STEP (MD5_I , d, a, b, c, w2_t[3], MD5C3d, MD5S31);
467 MD5_STEP (MD5_I , c, d, a, b, w0_t[2], MD5C3e, MD5S32);
468 MD5_STEP (MD5_I , b, c, d, a, w2_t[1], MD5C3f, MD5S33);
476 #include VECT_COMPARE_S
480 extern "C" __global__ void __launch_bounds__ (256, 1) m00040_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)
484 extern "C" __global__ void __launch_bounds__ (256, 1) m00040_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)