2 * Author......: Jens Steube <jens.steube@gmail.com>
8 #include "include/constants.h"
9 #include "include/kernel_vendor.h"
16 #include "include/kernel_functions.c"
17 #include "OpenCL/types_ocl.c"
18 #include "OpenCL/common.c"
19 #include "include/rp_kernel.h"
20 #include "OpenCL/rp.c"
22 #define COMPARE_S "OpenCL/check_single_comp4.c"
23 #define COMPARE_M "OpenCL/check_multi_comp4.c"
27 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m00030_m04 (__global pw_t *pws, __global kernel_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)
33 const u32 lid = get_local_id (0);
39 const u32 gid = get_global_id (0);
41 if (gid >= gid_max) return;
45 pw_buf0[0] = pws[gid].i[ 0];
46 pw_buf0[1] = pws[gid].i[ 1];
47 pw_buf0[2] = pws[gid].i[ 2];
48 pw_buf0[3] = pws[gid].i[ 3];
52 pw_buf1[0] = pws[gid].i[ 4];
53 pw_buf1[1] = pws[gid].i[ 5];
54 pw_buf1[2] = pws[gid].i[ 6];
55 pw_buf1[3] = pws[gid].i[ 7];
57 const u32 pw_len = pws[gid].pw_len;
65 salt_buf0[0] = salt_bufs[salt_pos].salt_buf[0];
66 salt_buf0[1] = salt_bufs[salt_pos].salt_buf[1];
67 salt_buf0[2] = salt_bufs[salt_pos].salt_buf[2];
68 salt_buf0[3] = salt_bufs[salt_pos].salt_buf[3];
72 salt_buf1[0] = salt_bufs[salt_pos].salt_buf[4];
73 salt_buf1[1] = salt_bufs[salt_pos].salt_buf[5];
74 salt_buf1[2] = salt_bufs[salt_pos].salt_buf[6];
75 salt_buf1[3] = salt_bufs[salt_pos].salt_buf[7];
77 const u32 salt_len = salt_bufs[salt_pos].salt_len;
83 for (u32 il_pos = 0; il_pos < rules_cnt; il_pos++)
113 const u32 out_len = apply_rules (rules_buf[il_pos].cmds, w0, w1, pw_len);
121 s0[0] = salt_buf0[0];
122 s0[1] = salt_buf0[1];
123 s0[2] = salt_buf0[2];
124 s0[3] = salt_buf0[3];
128 s1[0] = salt_buf1[0];
129 s1[1] = salt_buf1[1];
130 s1[2] = salt_buf1[2];
131 s1[3] = salt_buf1[3];
147 switch_buffer_by_offset (s0, s1, s2, s3, (out_len * 2));
149 const u32 out_salt_len = (out_len * 2) + salt_len;
156 make_unicode (w0, w0_t, w1_t);
157 make_unicode (w1, w2_t, w3_t);
176 append_0x80_4x4 (w0_t, w1_t, w2_t, w3_t, out_salt_len);
178 w3_t[2] = out_salt_len * 8;
189 MD5_STEP (MD5_Fo, a, b, c, d, w0_t[0], MD5C00, MD5S00);
190 MD5_STEP (MD5_Fo, d, a, b, c, w0_t[1], MD5C01, MD5S01);
191 MD5_STEP (MD5_Fo, c, d, a, b, w0_t[2], MD5C02, MD5S02);
192 MD5_STEP (MD5_Fo, b, c, d, a, w0_t[3], MD5C03, MD5S03);
193 MD5_STEP (MD5_Fo, a, b, c, d, w1_t[0], MD5C04, MD5S00);
194 MD5_STEP (MD5_Fo, d, a, b, c, w1_t[1], MD5C05, MD5S01);
195 MD5_STEP (MD5_Fo, c, d, a, b, w1_t[2], MD5C06, MD5S02);
196 MD5_STEP (MD5_Fo, b, c, d, a, w1_t[3], MD5C07, MD5S03);
197 MD5_STEP (MD5_Fo, a, b, c, d, w2_t[0], MD5C08, MD5S00);
198 MD5_STEP (MD5_Fo, d, a, b, c, w2_t[1], MD5C09, MD5S01);
199 MD5_STEP (MD5_Fo, c, d, a, b, w2_t[2], MD5C0a, MD5S02);
200 MD5_STEP (MD5_Fo, b, c, d, a, w2_t[3], MD5C0b, MD5S03);
201 MD5_STEP (MD5_Fo, a, b, c, d, w3_t[0], MD5C0c, MD5S00);
202 MD5_STEP (MD5_Fo, d, a, b, c, w3_t[1], MD5C0d, MD5S01);
203 MD5_STEP (MD5_Fo, c, d, a, b, w3_t[2], MD5C0e, MD5S02);
204 MD5_STEP (MD5_Fo, b, c, d, a, w3_t[3], MD5C0f, MD5S03);
206 MD5_STEP (MD5_Go, a, b, c, d, w0_t[1], MD5C10, MD5S10);
207 MD5_STEP (MD5_Go, d, a, b, c, w1_t[2], MD5C11, MD5S11);
208 MD5_STEP (MD5_Go, c, d, a, b, w2_t[3], MD5C12, MD5S12);
209 MD5_STEP (MD5_Go, b, c, d, a, w0_t[0], MD5C13, MD5S13);
210 MD5_STEP (MD5_Go, a, b, c, d, w1_t[1], MD5C14, MD5S10);
211 MD5_STEP (MD5_Go, d, a, b, c, w2_t[2], MD5C15, MD5S11);
212 MD5_STEP (MD5_Go, c, d, a, b, w3_t[3], MD5C16, MD5S12);
213 MD5_STEP (MD5_Go, b, c, d, a, w1_t[0], MD5C17, MD5S13);
214 MD5_STEP (MD5_Go, a, b, c, d, w2_t[1], MD5C18, MD5S10);
215 MD5_STEP (MD5_Go, d, a, b, c, w3_t[2], MD5C19, MD5S11);
216 MD5_STEP (MD5_Go, c, d, a, b, w0_t[3], MD5C1a, MD5S12);
217 MD5_STEP (MD5_Go, b, c, d, a, w2_t[0], MD5C1b, MD5S13);
218 MD5_STEP (MD5_Go, a, b, c, d, w3_t[1], MD5C1c, MD5S10);
219 MD5_STEP (MD5_Go, d, a, b, c, w0_t[2], MD5C1d, MD5S11);
220 MD5_STEP (MD5_Go, c, d, a, b, w1_t[3], MD5C1e, MD5S12);
221 MD5_STEP (MD5_Go, b, c, d, a, w3_t[0], MD5C1f, MD5S13);
223 MD5_STEP (MD5_H , a, b, c, d, w1_t[1], MD5C20, MD5S20);
224 MD5_STEP (MD5_H , d, a, b, c, w2_t[0], MD5C21, MD5S21);
225 MD5_STEP (MD5_H , c, d, a, b, w2_t[3], MD5C22, MD5S22);
226 MD5_STEP (MD5_H , b, c, d, a, w3_t[2], MD5C23, MD5S23);
227 MD5_STEP (MD5_H , a, b, c, d, w0_t[1], MD5C24, MD5S20);
228 MD5_STEP (MD5_H , d, a, b, c, w1_t[0], MD5C25, MD5S21);
229 MD5_STEP (MD5_H , c, d, a, b, w1_t[3], MD5C26, MD5S22);
230 MD5_STEP (MD5_H , b, c, d, a, w2_t[2], MD5C27, MD5S23);
231 MD5_STEP (MD5_H , a, b, c, d, w3_t[1], MD5C28, MD5S20);
232 MD5_STEP (MD5_H , d, a, b, c, w0_t[0], MD5C29, MD5S21);
233 MD5_STEP (MD5_H , c, d, a, b, w0_t[3], MD5C2a, MD5S22);
234 MD5_STEP (MD5_H , b, c, d, a, w1_t[2], MD5C2b, MD5S23);
235 MD5_STEP (MD5_H , a, b, c, d, w2_t[1], MD5C2c, MD5S20);
236 MD5_STEP (MD5_H , d, a, b, c, w3_t[0], MD5C2d, MD5S21);
237 MD5_STEP (MD5_H , c, d, a, b, w3_t[3], MD5C2e, MD5S22);
238 MD5_STEP (MD5_H , b, c, d, a, w0_t[2], MD5C2f, MD5S23);
240 MD5_STEP (MD5_I , a, b, c, d, w0_t[0], MD5C30, MD5S30);
241 MD5_STEP (MD5_I , d, a, b, c, w1_t[3], MD5C31, MD5S31);
242 MD5_STEP (MD5_I , c, d, a, b, w3_t[2], MD5C32, MD5S32);
243 MD5_STEP (MD5_I , b, c, d, a, w1_t[1], MD5C33, MD5S33);
244 MD5_STEP (MD5_I , a, b, c, d, w3_t[0], MD5C34, MD5S30);
245 MD5_STEP (MD5_I , d, a, b, c, w0_t[3], MD5C35, MD5S31);
246 MD5_STEP (MD5_I , c, d, a, b, w2_t[2], MD5C36, MD5S32);
247 MD5_STEP (MD5_I , b, c, d, a, w0_t[1], MD5C37, MD5S33);
248 MD5_STEP (MD5_I , a, b, c, d, w2_t[0], MD5C38, MD5S30);
249 MD5_STEP (MD5_I , d, a, b, c, w3_t[3], MD5C39, MD5S31);
250 MD5_STEP (MD5_I , c, d, a, b, w1_t[2], MD5C3a, MD5S32);
251 MD5_STEP (MD5_I , b, c, d, a, w3_t[1], MD5C3b, MD5S33);
252 MD5_STEP (MD5_I , a, b, c, d, w1_t[0], MD5C3c, MD5S30);
253 MD5_STEP (MD5_I , d, a, b, c, w2_t[3], MD5C3d, MD5S31);
254 MD5_STEP (MD5_I , c, d, a, b, w0_t[2], MD5C3e, MD5S32);
255 MD5_STEP (MD5_I , b, c, d, a, w2_t[1], MD5C3f, MD5S33);
267 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m00030_m08 (__global pw_t *pws, __global kernel_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)
271 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m00030_m16 (__global pw_t *pws, __global kernel_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)
275 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m00030_s04 (__global pw_t *pws, __global kernel_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)
281 const u32 lid = get_local_id (0);
287 const u32 gid = get_global_id (0);
289 if (gid >= gid_max) return;
293 pw_buf0[0] = pws[gid].i[ 0];
294 pw_buf0[1] = pws[gid].i[ 1];
295 pw_buf0[2] = pws[gid].i[ 2];
296 pw_buf0[3] = pws[gid].i[ 3];
300 pw_buf1[0] = pws[gid].i[ 4];
301 pw_buf1[1] = pws[gid].i[ 5];
302 pw_buf1[2] = pws[gid].i[ 6];
303 pw_buf1[3] = pws[gid].i[ 7];
305 const u32 pw_len = pws[gid].pw_len;
313 salt_buf0[0] = salt_bufs[salt_pos].salt_buf[0];
314 salt_buf0[1] = salt_bufs[salt_pos].salt_buf[1];
315 salt_buf0[2] = salt_bufs[salt_pos].salt_buf[2];
316 salt_buf0[3] = salt_bufs[salt_pos].salt_buf[3];
320 salt_buf1[0] = salt_bufs[salt_pos].salt_buf[4];
321 salt_buf1[1] = salt_bufs[salt_pos].salt_buf[5];
322 salt_buf1[2] = salt_bufs[salt_pos].salt_buf[6];
323 salt_buf1[3] = salt_bufs[salt_pos].salt_buf[7];
325 const u32 salt_len = salt_bufs[salt_pos].salt_len;
331 const u32 search[4] =
333 digests_buf[digests_offset].digest_buf[DGST_R0],
334 digests_buf[digests_offset].digest_buf[DGST_R1],
335 digests_buf[digests_offset].digest_buf[DGST_R2],
336 digests_buf[digests_offset].digest_buf[DGST_R3]
343 for (u32 il_pos = 0; il_pos < rules_cnt; il_pos++)
373 const u32 out_len = apply_rules (rules_buf[il_pos].cmds, w0, w1, pw_len);
381 s0[0] = salt_buf0[0];
382 s0[1] = salt_buf0[1];
383 s0[2] = salt_buf0[2];
384 s0[3] = salt_buf0[3];
388 s1[0] = salt_buf1[0];
389 s1[1] = salt_buf1[1];
390 s1[2] = salt_buf1[2];
391 s1[3] = salt_buf1[3];
407 switch_buffer_by_offset (s0, s1, s2, s3, (out_len * 2));
409 const u32 out_salt_len = (out_len * 2) + salt_len;
416 make_unicode (w0, w0_t, w1_t);
417 make_unicode (w1, w2_t, w3_t);
436 append_0x80_4x4 (w0_t, w1_t, w2_t, w3_t, out_salt_len);
438 w3_t[2] = out_salt_len * 8;
449 MD5_STEP (MD5_Fo, a, b, c, d, w0_t[0], MD5C00, MD5S00);
450 MD5_STEP (MD5_Fo, d, a, b, c, w0_t[1], MD5C01, MD5S01);
451 MD5_STEP (MD5_Fo, c, d, a, b, w0_t[2], MD5C02, MD5S02);
452 MD5_STEP (MD5_Fo, b, c, d, a, w0_t[3], MD5C03, MD5S03);
453 MD5_STEP (MD5_Fo, a, b, c, d, w1_t[0], MD5C04, MD5S00);
454 MD5_STEP (MD5_Fo, d, a, b, c, w1_t[1], MD5C05, MD5S01);
455 MD5_STEP (MD5_Fo, c, d, a, b, w1_t[2], MD5C06, MD5S02);
456 MD5_STEP (MD5_Fo, b, c, d, a, w1_t[3], MD5C07, MD5S03);
457 MD5_STEP (MD5_Fo, a, b, c, d, w2_t[0], MD5C08, MD5S00);
458 MD5_STEP (MD5_Fo, d, a, b, c, w2_t[1], MD5C09, MD5S01);
459 MD5_STEP (MD5_Fo, c, d, a, b, w2_t[2], MD5C0a, MD5S02);
460 MD5_STEP (MD5_Fo, b, c, d, a, w2_t[3], MD5C0b, MD5S03);
461 MD5_STEP (MD5_Fo, a, b, c, d, w3_t[0], MD5C0c, MD5S00);
462 MD5_STEP (MD5_Fo, d, a, b, c, w3_t[1], MD5C0d, MD5S01);
463 MD5_STEP (MD5_Fo, c, d, a, b, w3_t[2], MD5C0e, MD5S02);
464 MD5_STEP (MD5_Fo, b, c, d, a, w3_t[3], MD5C0f, MD5S03);
466 MD5_STEP (MD5_Go, a, b, c, d, w0_t[1], MD5C10, MD5S10);
467 MD5_STEP (MD5_Go, d, a, b, c, w1_t[2], MD5C11, MD5S11);
468 MD5_STEP (MD5_Go, c, d, a, b, w2_t[3], MD5C12, MD5S12);
469 MD5_STEP (MD5_Go, b, c, d, a, w0_t[0], MD5C13, MD5S13);
470 MD5_STEP (MD5_Go, a, b, c, d, w1_t[1], MD5C14, MD5S10);
471 MD5_STEP (MD5_Go, d, a, b, c, w2_t[2], MD5C15, MD5S11);
472 MD5_STEP (MD5_Go, c, d, a, b, w3_t[3], MD5C16, MD5S12);
473 MD5_STEP (MD5_Go, b, c, d, a, w1_t[0], MD5C17, MD5S13);
474 MD5_STEP (MD5_Go, a, b, c, d, w2_t[1], MD5C18, MD5S10);
475 MD5_STEP (MD5_Go, d, a, b, c, w3_t[2], MD5C19, MD5S11);
476 MD5_STEP (MD5_Go, c, d, a, b, w0_t[3], MD5C1a, MD5S12);
477 MD5_STEP (MD5_Go, b, c, d, a, w2_t[0], MD5C1b, MD5S13);
478 MD5_STEP (MD5_Go, a, b, c, d, w3_t[1], MD5C1c, MD5S10);
479 MD5_STEP (MD5_Go, d, a, b, c, w0_t[2], MD5C1d, MD5S11);
480 MD5_STEP (MD5_Go, c, d, a, b, w1_t[3], MD5C1e, MD5S12);
481 MD5_STEP (MD5_Go, b, c, d, a, w3_t[0], MD5C1f, MD5S13);
483 MD5_STEP (MD5_H , a, b, c, d, w1_t[1], MD5C20, MD5S20);
484 MD5_STEP (MD5_H , d, a, b, c, w2_t[0], MD5C21, MD5S21);
485 MD5_STEP (MD5_H , c, d, a, b, w2_t[3], MD5C22, MD5S22);
486 MD5_STEP (MD5_H , b, c, d, a, w3_t[2], MD5C23, MD5S23);
487 MD5_STEP (MD5_H , a, b, c, d, w0_t[1], MD5C24, MD5S20);
488 MD5_STEP (MD5_H , d, a, b, c, w1_t[0], MD5C25, MD5S21);
489 MD5_STEP (MD5_H , c, d, a, b, w1_t[3], MD5C26, MD5S22);
490 MD5_STEP (MD5_H , b, c, d, a, w2_t[2], MD5C27, MD5S23);
491 MD5_STEP (MD5_H , a, b, c, d, w3_t[1], MD5C28, MD5S20);
492 MD5_STEP (MD5_H , d, a, b, c, w0_t[0], MD5C29, MD5S21);
493 MD5_STEP (MD5_H , c, d, a, b, w0_t[3], MD5C2a, MD5S22);
494 MD5_STEP (MD5_H , b, c, d, a, w1_t[2], MD5C2b, MD5S23);
495 MD5_STEP (MD5_H , a, b, c, d, w2_t[1], MD5C2c, MD5S20);
496 MD5_STEP (MD5_H , d, a, b, c, w3_t[0], MD5C2d, MD5S21);
497 MD5_STEP (MD5_H , c, d, a, b, w3_t[3], MD5C2e, MD5S22);
498 MD5_STEP (MD5_H , b, c, d, a, w0_t[2], MD5C2f, MD5S23);
500 MD5_STEP (MD5_I , a, b, c, d, w0_t[0], MD5C30, MD5S30);
501 MD5_STEP (MD5_I , d, a, b, c, w1_t[3], MD5C31, MD5S31);
502 MD5_STEP (MD5_I , c, d, a, b, w3_t[2], MD5C32, MD5S32);
503 MD5_STEP (MD5_I , b, c, d, a, w1_t[1], MD5C33, MD5S33);
504 MD5_STEP (MD5_I , a, b, c, d, w3_t[0], MD5C34, MD5S30);
505 MD5_STEP (MD5_I , d, a, b, c, w0_t[3], MD5C35, MD5S31);
506 MD5_STEP (MD5_I , c, d, a, b, w2_t[2], MD5C36, MD5S32);
507 MD5_STEP (MD5_I , b, c, d, a, w0_t[1], MD5C37, MD5S33);
508 MD5_STEP (MD5_I , a, b, c, d, w2_t[0], MD5C38, MD5S30);
509 MD5_STEP (MD5_I , d, a, b, c, w3_t[3], MD5C39, MD5S31);
510 MD5_STEP (MD5_I , c, d, a, b, w1_t[2], MD5C3a, MD5S32);
511 MD5_STEP (MD5_I , b, c, d, a, w3_t[1], MD5C3b, MD5S33);
512 MD5_STEP (MD5_I , a, b, c, d, w1_t[0], MD5C3c, MD5S30);
514 bool q_cond = allx (search[0] != a);
516 if (q_cond) continue;
518 MD5_STEP (MD5_I , d, a, b, c, w2_t[3], MD5C3d, MD5S31);
519 MD5_STEP (MD5_I , c, d, a, b, w0_t[2], MD5C3e, MD5S32);
520 MD5_STEP (MD5_I , b, c, d, a, w2_t[1], MD5C3f, MD5S33);
532 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m00030_s08 (__global pw_t *pws, __global kernel_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)
536 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m00030_s16 (__global pw_t *pws, __global kernel_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)