2 * Author......: Jens Steube <jens.steube@gmail.com>
8 #include "include/constants.h"
9 #include "include/kernel_vendor.h"
28 #include "include/kernel_functions.c"
29 #include "types_amd.c"
30 #include "common_amd.c"
31 #include "include/rp_gpu.h"
35 #define VECT_COMPARE_S "check_single_vect1_comp4.c"
36 #define VECT_COMPARE_M "check_multi_vect1_comp4.c"
40 #define VECT_COMPARE_S "check_single_vect2_comp4.c"
41 #define VECT_COMPARE_M "check_multi_vect2_comp4.c"
45 #define VECT_COMPARE_S "check_single_vect4_comp4.c"
46 #define VECT_COMPARE_M "check_multi_vect4_comp4.c"
51 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m00030_m04 (__global pw_t *pws, __global gpu_rule_t *rules_buf, __global comb_t *combs_buf, __global bf_t *bfs_buf, __global void *tmps, __global void *hooks, __global u32 *bitmaps_buf_s1_a, __global u32 *bitmaps_buf_s1_b, __global u32 *bitmaps_buf_s1_c, __global u32 *bitmaps_buf_s1_d, __global u32 *bitmaps_buf_s2_a, __global u32 *bitmaps_buf_s2_b, __global u32 *bitmaps_buf_s2_c, __global u32 *bitmaps_buf_s2_d, __global plain_t *plains_buf, __global digest_t *digests_buf, __global u32 *hashes_shown, __global salt_t *salt_bufs, __global void *esalt_bufs, __global u32 *d_return_buf, __global 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)
57 const u32 lid = get_local_id (0);
63 const u32 gid = get_global_id (0);
65 if (gid >= gid_max) return;
69 pw_buf0[0] = pws[gid].i[ 0];
70 pw_buf0[1] = pws[gid].i[ 1];
71 pw_buf0[2] = pws[gid].i[ 2];
72 pw_buf0[3] = pws[gid].i[ 3];
76 pw_buf1[0] = pws[gid].i[ 4];
77 pw_buf1[1] = pws[gid].i[ 5];
78 pw_buf1[2] = pws[gid].i[ 6];
79 pw_buf1[3] = pws[gid].i[ 7];
81 const u32 pw_len = pws[gid].pw_len;
89 salt_buf0[0] = salt_bufs[salt_pos].salt_buf[0];
90 salt_buf0[1] = salt_bufs[salt_pos].salt_buf[1];
91 salt_buf0[2] = salt_bufs[salt_pos].salt_buf[2];
92 salt_buf0[3] = salt_bufs[salt_pos].salt_buf[3];
96 salt_buf1[0] = salt_bufs[salt_pos].salt_buf[4];
97 salt_buf1[1] = salt_bufs[salt_pos].salt_buf[5];
98 salt_buf1[2] = salt_bufs[salt_pos].salt_buf[6];
99 salt_buf1[3] = salt_bufs[salt_pos].salt_buf[7];
101 const u32 salt_len = salt_bufs[salt_pos].salt_len;
107 for (u32 il_pos = 0; il_pos < rules_cnt; il_pos++)
137 const u32 out_len = apply_rules (rules_buf[il_pos].cmds, w0, w1, pw_len);
145 s0[0] = salt_buf0[0];
146 s0[1] = salt_buf0[1];
147 s0[2] = salt_buf0[2];
148 s0[3] = salt_buf0[3];
152 s1[0] = salt_buf1[0];
153 s1[1] = salt_buf1[1];
154 s1[2] = salt_buf1[2];
155 s1[3] = salt_buf1[3];
171 switch_buffer_by_offset (s0, s1, s2, s3, (out_len * 2));
173 const u32 out_salt_len = (out_len * 2) + salt_len;
180 make_unicode (w0, w0_t, w1_t);
181 make_unicode (w1, w2_t, w3_t);
200 append_0x80_4 (w0_t, w1_t, w2_t, w3_t, out_salt_len);
202 w3_t[2] = out_salt_len * 8;
213 MD5_STEP (MD5_Fo, a, b, c, d, w0_t[0], MD5C00, MD5S00);
214 MD5_STEP (MD5_Fo, d, a, b, c, w0_t[1], MD5C01, MD5S01);
215 MD5_STEP (MD5_Fo, c, d, a, b, w0_t[2], MD5C02, MD5S02);
216 MD5_STEP (MD5_Fo, b, c, d, a, w0_t[3], MD5C03, MD5S03);
217 MD5_STEP (MD5_Fo, a, b, c, d, w1_t[0], MD5C04, MD5S00);
218 MD5_STEP (MD5_Fo, d, a, b, c, w1_t[1], MD5C05, MD5S01);
219 MD5_STEP (MD5_Fo, c, d, a, b, w1_t[2], MD5C06, MD5S02);
220 MD5_STEP (MD5_Fo, b, c, d, a, w1_t[3], MD5C07, MD5S03);
221 MD5_STEP (MD5_Fo, a, b, c, d, w2_t[0], MD5C08, MD5S00);
222 MD5_STEP (MD5_Fo, d, a, b, c, w2_t[1], MD5C09, MD5S01);
223 MD5_STEP (MD5_Fo, c, d, a, b, w2_t[2], MD5C0a, MD5S02);
224 MD5_STEP (MD5_Fo, b, c, d, a, w2_t[3], MD5C0b, MD5S03);
225 MD5_STEP (MD5_Fo, a, b, c, d, w3_t[0], MD5C0c, MD5S00);
226 MD5_STEP (MD5_Fo, d, a, b, c, w3_t[1], MD5C0d, MD5S01);
227 MD5_STEP (MD5_Fo, c, d, a, b, w3_t[2], MD5C0e, MD5S02);
228 MD5_STEP (MD5_Fo, b, c, d, a, w3_t[3], MD5C0f, MD5S03);
230 MD5_STEP (MD5_Go, a, b, c, d, w0_t[1], MD5C10, MD5S10);
231 MD5_STEP (MD5_Go, d, a, b, c, w1_t[2], MD5C11, MD5S11);
232 MD5_STEP (MD5_Go, c, d, a, b, w2_t[3], MD5C12, MD5S12);
233 MD5_STEP (MD5_Go, b, c, d, a, w0_t[0], MD5C13, MD5S13);
234 MD5_STEP (MD5_Go, a, b, c, d, w1_t[1], MD5C14, MD5S10);
235 MD5_STEP (MD5_Go, d, a, b, c, w2_t[2], MD5C15, MD5S11);
236 MD5_STEP (MD5_Go, c, d, a, b, w3_t[3], MD5C16, MD5S12);
237 MD5_STEP (MD5_Go, b, c, d, a, w1_t[0], MD5C17, MD5S13);
238 MD5_STEP (MD5_Go, a, b, c, d, w2_t[1], MD5C18, MD5S10);
239 MD5_STEP (MD5_Go, d, a, b, c, w3_t[2], MD5C19, MD5S11);
240 MD5_STEP (MD5_Go, c, d, a, b, w0_t[3], MD5C1a, MD5S12);
241 MD5_STEP (MD5_Go, b, c, d, a, w2_t[0], MD5C1b, MD5S13);
242 MD5_STEP (MD5_Go, a, b, c, d, w3_t[1], MD5C1c, MD5S10);
243 MD5_STEP (MD5_Go, d, a, b, c, w0_t[2], MD5C1d, MD5S11);
244 MD5_STEP (MD5_Go, c, d, a, b, w1_t[3], MD5C1e, MD5S12);
245 MD5_STEP (MD5_Go, b, c, d, a, w3_t[0], MD5C1f, MD5S13);
247 MD5_STEP (MD5_H , a, b, c, d, w1_t[1], MD5C20, MD5S20);
248 MD5_STEP (MD5_H , d, a, b, c, w2_t[0], MD5C21, MD5S21);
249 MD5_STEP (MD5_H , c, d, a, b, w2_t[3], MD5C22, MD5S22);
250 MD5_STEP (MD5_H , b, c, d, a, w3_t[2], MD5C23, MD5S23);
251 MD5_STEP (MD5_H , a, b, c, d, w0_t[1], MD5C24, MD5S20);
252 MD5_STEP (MD5_H , d, a, b, c, w1_t[0], MD5C25, MD5S21);
253 MD5_STEP (MD5_H , c, d, a, b, w1_t[3], MD5C26, MD5S22);
254 MD5_STEP (MD5_H , b, c, d, a, w2_t[2], MD5C27, MD5S23);
255 MD5_STEP (MD5_H , a, b, c, d, w3_t[1], MD5C28, MD5S20);
256 MD5_STEP (MD5_H , d, a, b, c, w0_t[0], MD5C29, MD5S21);
257 MD5_STEP (MD5_H , c, d, a, b, w0_t[3], MD5C2a, MD5S22);
258 MD5_STEP (MD5_H , b, c, d, a, w1_t[2], MD5C2b, MD5S23);
259 MD5_STEP (MD5_H , a, b, c, d, w2_t[1], MD5C2c, MD5S20);
260 MD5_STEP (MD5_H , d, a, b, c, w3_t[0], MD5C2d, MD5S21);
261 MD5_STEP (MD5_H , c, d, a, b, w3_t[3], MD5C2e, MD5S22);
262 MD5_STEP (MD5_H , b, c, d, a, w0_t[2], MD5C2f, MD5S23);
264 MD5_STEP (MD5_I , a, b, c, d, w0_t[0], MD5C30, MD5S30);
265 MD5_STEP (MD5_I , d, a, b, c, w1_t[3], MD5C31, MD5S31);
266 MD5_STEP (MD5_I , c, d, a, b, w3_t[2], MD5C32, MD5S32);
267 MD5_STEP (MD5_I , b, c, d, a, w1_t[1], MD5C33, MD5S33);
268 MD5_STEP (MD5_I , a, b, c, d, w3_t[0], MD5C34, MD5S30);
269 MD5_STEP (MD5_I , d, a, b, c, w0_t[3], MD5C35, MD5S31);
270 MD5_STEP (MD5_I , c, d, a, b, w2_t[2], MD5C36, MD5S32);
271 MD5_STEP (MD5_I , b, c, d, a, w0_t[1], MD5C37, MD5S33);
272 MD5_STEP (MD5_I , a, b, c, d, w2_t[0], MD5C38, MD5S30);
273 MD5_STEP (MD5_I , d, a, b, c, w3_t[3], MD5C39, MD5S31);
274 MD5_STEP (MD5_I , c, d, a, b, w1_t[2], MD5C3a, MD5S32);
275 MD5_STEP (MD5_I , b, c, d, a, w3_t[1], MD5C3b, MD5S33);
276 MD5_STEP (MD5_I , a, b, c, d, w1_t[0], MD5C3c, MD5S30);
277 MD5_STEP (MD5_I , d, a, b, c, w2_t[3], MD5C3d, MD5S31);
278 MD5_STEP (MD5_I , c, d, a, b, w0_t[2], MD5C3e, MD5S32);
279 MD5_STEP (MD5_I , b, c, d, a, w2_t[1], MD5C3f, MD5S33);
287 #include VECT_COMPARE_M
291 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m00030_m08 (__global pw_t *pws, __global gpu_rule_t *rules_buf, __global comb_t *combs_buf, __global bf_t *bfs_buf, __global void *tmps, __global void *hooks, __global u32 *bitmaps_buf_s1_a, __global u32 *bitmaps_buf_s1_b, __global u32 *bitmaps_buf_s1_c, __global u32 *bitmaps_buf_s1_d, __global u32 *bitmaps_buf_s2_a, __global u32 *bitmaps_buf_s2_b, __global u32 *bitmaps_buf_s2_c, __global u32 *bitmaps_buf_s2_d, __global plain_t *plains_buf, __global digest_t *digests_buf, __global u32 *hashes_shown, __global salt_t *salt_bufs, __global void *esalt_bufs, __global u32 *d_return_buf, __global 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)
295 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m00030_m16 (__global pw_t *pws, __global gpu_rule_t *rules_buf, __global comb_t *combs_buf, __global bf_t *bfs_buf, __global void *tmps, __global void *hooks, __global u32 *bitmaps_buf_s1_a, __global u32 *bitmaps_buf_s1_b, __global u32 *bitmaps_buf_s1_c, __global u32 *bitmaps_buf_s1_d, __global u32 *bitmaps_buf_s2_a, __global u32 *bitmaps_buf_s2_b, __global u32 *bitmaps_buf_s2_c, __global u32 *bitmaps_buf_s2_d, __global plain_t *plains_buf, __global digest_t *digests_buf, __global u32 *hashes_shown, __global salt_t *salt_bufs, __global void *esalt_bufs, __global u32 *d_return_buf, __global 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)
299 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m00030_s04 (__global pw_t *pws, __global gpu_rule_t *rules_buf, __global comb_t *combs_buf, __global bf_t *bfs_buf, __global void *tmps, __global void *hooks, __global u32 *bitmaps_buf_s1_a, __global u32 *bitmaps_buf_s1_b, __global u32 *bitmaps_buf_s1_c, __global u32 *bitmaps_buf_s1_d, __global u32 *bitmaps_buf_s2_a, __global u32 *bitmaps_buf_s2_b, __global u32 *bitmaps_buf_s2_c, __global u32 *bitmaps_buf_s2_d, __global plain_t *plains_buf, __global digest_t *digests_buf, __global u32 *hashes_shown, __global salt_t *salt_bufs, __global void *esalt_bufs, __global u32 *d_return_buf, __global 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)
305 const u32 lid = get_local_id (0);
311 const u32 gid = get_global_id (0);
313 if (gid >= gid_max) return;
317 pw_buf0[0] = pws[gid].i[ 0];
318 pw_buf0[1] = pws[gid].i[ 1];
319 pw_buf0[2] = pws[gid].i[ 2];
320 pw_buf0[3] = pws[gid].i[ 3];
324 pw_buf1[0] = pws[gid].i[ 4];
325 pw_buf1[1] = pws[gid].i[ 5];
326 pw_buf1[2] = pws[gid].i[ 6];
327 pw_buf1[3] = pws[gid].i[ 7];
329 const u32 pw_len = pws[gid].pw_len;
337 salt_buf0[0] = salt_bufs[salt_pos].salt_buf[0];
338 salt_buf0[1] = salt_bufs[salt_pos].salt_buf[1];
339 salt_buf0[2] = salt_bufs[salt_pos].salt_buf[2];
340 salt_buf0[3] = salt_bufs[salt_pos].salt_buf[3];
344 salt_buf1[0] = salt_bufs[salt_pos].salt_buf[4];
345 salt_buf1[1] = salt_bufs[salt_pos].salt_buf[5];
346 salt_buf1[2] = salt_bufs[salt_pos].salt_buf[6];
347 salt_buf1[3] = salt_bufs[salt_pos].salt_buf[7];
349 const u32 salt_len = salt_bufs[salt_pos].salt_len;
355 const u32 search[4] =
357 digests_buf[digests_offset].digest_buf[DGST_R0],
358 digests_buf[digests_offset].digest_buf[DGST_R1],
359 digests_buf[digests_offset].digest_buf[DGST_R2],
360 digests_buf[digests_offset].digest_buf[DGST_R3]
367 for (u32 il_pos = 0; il_pos < rules_cnt; il_pos++)
397 const u32 out_len = apply_rules (rules_buf[il_pos].cmds, w0, w1, pw_len);
405 s0[0] = salt_buf0[0];
406 s0[1] = salt_buf0[1];
407 s0[2] = salt_buf0[2];
408 s0[3] = salt_buf0[3];
412 s1[0] = salt_buf1[0];
413 s1[1] = salt_buf1[1];
414 s1[2] = salt_buf1[2];
415 s1[3] = salt_buf1[3];
431 switch_buffer_by_offset (s0, s1, s2, s3, (out_len * 2));
433 const u32 out_salt_len = (out_len * 2) + salt_len;
440 make_unicode (w0, w0_t, w1_t);
441 make_unicode (w1, w2_t, w3_t);
460 append_0x80_4 (w0_t, w1_t, w2_t, w3_t, out_salt_len);
462 w3_t[2] = out_salt_len * 8;
473 MD5_STEP (MD5_Fo, a, b, c, d, w0_t[0], MD5C00, MD5S00);
474 MD5_STEP (MD5_Fo, d, a, b, c, w0_t[1], MD5C01, MD5S01);
475 MD5_STEP (MD5_Fo, c, d, a, b, w0_t[2], MD5C02, MD5S02);
476 MD5_STEP (MD5_Fo, b, c, d, a, w0_t[3], MD5C03, MD5S03);
477 MD5_STEP (MD5_Fo, a, b, c, d, w1_t[0], MD5C04, MD5S00);
478 MD5_STEP (MD5_Fo, d, a, b, c, w1_t[1], MD5C05, MD5S01);
479 MD5_STEP (MD5_Fo, c, d, a, b, w1_t[2], MD5C06, MD5S02);
480 MD5_STEP (MD5_Fo, b, c, d, a, w1_t[3], MD5C07, MD5S03);
481 MD5_STEP (MD5_Fo, a, b, c, d, w2_t[0], MD5C08, MD5S00);
482 MD5_STEP (MD5_Fo, d, a, b, c, w2_t[1], MD5C09, MD5S01);
483 MD5_STEP (MD5_Fo, c, d, a, b, w2_t[2], MD5C0a, MD5S02);
484 MD5_STEP (MD5_Fo, b, c, d, a, w2_t[3], MD5C0b, MD5S03);
485 MD5_STEP (MD5_Fo, a, b, c, d, w3_t[0], MD5C0c, MD5S00);
486 MD5_STEP (MD5_Fo, d, a, b, c, w3_t[1], MD5C0d, MD5S01);
487 MD5_STEP (MD5_Fo, c, d, a, b, w3_t[2], MD5C0e, MD5S02);
488 MD5_STEP (MD5_Fo, b, c, d, a, w3_t[3], MD5C0f, MD5S03);
490 MD5_STEP (MD5_Go, a, b, c, d, w0_t[1], MD5C10, MD5S10);
491 MD5_STEP (MD5_Go, d, a, b, c, w1_t[2], MD5C11, MD5S11);
492 MD5_STEP (MD5_Go, c, d, a, b, w2_t[3], MD5C12, MD5S12);
493 MD5_STEP (MD5_Go, b, c, d, a, w0_t[0], MD5C13, MD5S13);
494 MD5_STEP (MD5_Go, a, b, c, d, w1_t[1], MD5C14, MD5S10);
495 MD5_STEP (MD5_Go, d, a, b, c, w2_t[2], MD5C15, MD5S11);
496 MD5_STEP (MD5_Go, c, d, a, b, w3_t[3], MD5C16, MD5S12);
497 MD5_STEP (MD5_Go, b, c, d, a, w1_t[0], MD5C17, MD5S13);
498 MD5_STEP (MD5_Go, a, b, c, d, w2_t[1], MD5C18, MD5S10);
499 MD5_STEP (MD5_Go, d, a, b, c, w3_t[2], MD5C19, MD5S11);
500 MD5_STEP (MD5_Go, c, d, a, b, w0_t[3], MD5C1a, MD5S12);
501 MD5_STEP (MD5_Go, b, c, d, a, w2_t[0], MD5C1b, MD5S13);
502 MD5_STEP (MD5_Go, a, b, c, d, w3_t[1], MD5C1c, MD5S10);
503 MD5_STEP (MD5_Go, d, a, b, c, w0_t[2], MD5C1d, MD5S11);
504 MD5_STEP (MD5_Go, c, d, a, b, w1_t[3], MD5C1e, MD5S12);
505 MD5_STEP (MD5_Go, b, c, d, a, w3_t[0], MD5C1f, MD5S13);
507 MD5_STEP (MD5_H , a, b, c, d, w1_t[1], MD5C20, MD5S20);
508 MD5_STEP (MD5_H , d, a, b, c, w2_t[0], MD5C21, MD5S21);
509 MD5_STEP (MD5_H , c, d, a, b, w2_t[3], MD5C22, MD5S22);
510 MD5_STEP (MD5_H , b, c, d, a, w3_t[2], MD5C23, MD5S23);
511 MD5_STEP (MD5_H , a, b, c, d, w0_t[1], MD5C24, MD5S20);
512 MD5_STEP (MD5_H , d, a, b, c, w1_t[0], MD5C25, MD5S21);
513 MD5_STEP (MD5_H , c, d, a, b, w1_t[3], MD5C26, MD5S22);
514 MD5_STEP (MD5_H , b, c, d, a, w2_t[2], MD5C27, MD5S23);
515 MD5_STEP (MD5_H , a, b, c, d, w3_t[1], MD5C28, MD5S20);
516 MD5_STEP (MD5_H , d, a, b, c, w0_t[0], MD5C29, MD5S21);
517 MD5_STEP (MD5_H , c, d, a, b, w0_t[3], MD5C2a, MD5S22);
518 MD5_STEP (MD5_H , b, c, d, a, w1_t[2], MD5C2b, MD5S23);
519 MD5_STEP (MD5_H , a, b, c, d, w2_t[1], MD5C2c, MD5S20);
520 MD5_STEP (MD5_H , d, a, b, c, w3_t[0], MD5C2d, MD5S21);
521 MD5_STEP (MD5_H , c, d, a, b, w3_t[3], MD5C2e, MD5S22);
522 MD5_STEP (MD5_H , b, c, d, a, w0_t[2], MD5C2f, MD5S23);
524 MD5_STEP (MD5_I , a, b, c, d, w0_t[0], MD5C30, MD5S30);
525 MD5_STEP (MD5_I , d, a, b, c, w1_t[3], MD5C31, MD5S31);
526 MD5_STEP (MD5_I , c, d, a, b, w3_t[2], MD5C32, MD5S32);
527 MD5_STEP (MD5_I , b, c, d, a, w1_t[1], MD5C33, MD5S33);
528 MD5_STEP (MD5_I , a, b, c, d, w3_t[0], MD5C34, MD5S30);
529 MD5_STEP (MD5_I , d, a, b, c, w0_t[3], MD5C35, MD5S31);
530 MD5_STEP (MD5_I , c, d, a, b, w2_t[2], MD5C36, MD5S32);
531 MD5_STEP (MD5_I , b, c, d, a, w0_t[1], MD5C37, MD5S33);
532 MD5_STEP (MD5_I , a, b, c, d, w2_t[0], MD5C38, MD5S30);
533 MD5_STEP (MD5_I , d, a, b, c, w3_t[3], MD5C39, MD5S31);
534 MD5_STEP (MD5_I , c, d, a, b, w1_t[2], MD5C3a, MD5S32);
535 MD5_STEP (MD5_I , b, c, d, a, w3_t[1], MD5C3b, MD5S33);
536 MD5_STEP (MD5_I , a, b, c, d, w1_t[0], MD5C3c, MD5S30);
538 bool q_cond = allx (search[0] != a);
540 if (q_cond) continue;
542 MD5_STEP (MD5_I , d, a, b, c, w2_t[3], MD5C3d, MD5S31);
543 MD5_STEP (MD5_I , c, d, a, b, w0_t[2], MD5C3e, MD5S32);
544 MD5_STEP (MD5_I , b, c, d, a, w2_t[1], MD5C3f, MD5S33);
552 #include VECT_COMPARE_S
556 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m00030_s08 (__global pw_t *pws, __global gpu_rule_t *rules_buf, __global comb_t *combs_buf, __global bf_t *bfs_buf, __global void *tmps, __global void *hooks, __global u32 *bitmaps_buf_s1_a, __global u32 *bitmaps_buf_s1_b, __global u32 *bitmaps_buf_s1_c, __global u32 *bitmaps_buf_s1_d, __global u32 *bitmaps_buf_s2_a, __global u32 *bitmaps_buf_s2_b, __global u32 *bitmaps_buf_s2_c, __global u32 *bitmaps_buf_s2_d, __global plain_t *plains_buf, __global digest_t *digests_buf, __global u32 *hashes_shown, __global salt_t *salt_bufs, __global void *esalt_bufs, __global u32 *d_return_buf, __global 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)
560 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m00030_s16 (__global pw_t *pws, __global gpu_rule_t *rules_buf, __global comb_t *combs_buf, __global bf_t *bfs_buf, __global void *tmps, __global void *hooks, __global u32 *bitmaps_buf_s1_a, __global u32 *bitmaps_buf_s1_b, __global u32 *bitmaps_buf_s1_c, __global u32 *bitmaps_buf_s1_d, __global u32 *bitmaps_buf_s2_a, __global u32 *bitmaps_buf_s2_b, __global u32 *bitmaps_buf_s2_c, __global u32 *bitmaps_buf_s2_d, __global plain_t *plains_buf, __global digest_t *digests_buf, __global u32 *hashes_shown, __global salt_t *salt_bufs, __global void *esalt_bufs, __global u32 *d_return_buf, __global 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)