2 * Author......: Jens Steube <jens.steube@gmail.com>
10 #include "include/constants.h"
11 #include "include/kernel_vendor.h"
18 #include "include/kernel_functions.c"
19 #include "OpenCL/types_ocl.c"
20 #include "OpenCL/common.c"
21 #include "include/rp_kernel.h"
22 #include "OpenCL/rp.c"
23 #include "OpenCL/simd.c"
25 __kernel void m00020_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)
31 const u32 lid = get_local_id (0);
37 const u32 gid = get_global_id (0);
39 if (gid >= gid_max) return;
43 pw_buf0[0] = pws[gid].i[ 0];
44 pw_buf0[1] = pws[gid].i[ 1];
45 pw_buf0[2] = pws[gid].i[ 2];
46 pw_buf0[3] = pws[gid].i[ 3];
50 pw_buf1[0] = pws[gid].i[ 4];
51 pw_buf1[1] = pws[gid].i[ 5];
52 pw_buf1[2] = pws[gid].i[ 6];
53 pw_buf1[3] = pws[gid].i[ 7];
55 const u32 pw_len = pws[gid].pw_len;
63 salt_buf0[0] = salt_bufs[salt_pos].salt_buf[0];
64 salt_buf0[1] = salt_bufs[salt_pos].salt_buf[1];
65 salt_buf0[2] = salt_bufs[salt_pos].salt_buf[2];
66 salt_buf0[3] = salt_bufs[salt_pos].salt_buf[3];
70 salt_buf1[0] = salt_bufs[salt_pos].salt_buf[4];
71 salt_buf1[1] = salt_bufs[salt_pos].salt_buf[5];
72 salt_buf1[2] = salt_bufs[salt_pos].salt_buf[6];
73 salt_buf1[3] = salt_bufs[salt_pos].salt_buf[7];
75 const u32 salt_len = salt_bufs[salt_pos].salt_len;
81 for (u32 il_pos = 0; il_pos < rules_cnt; il_pos += VECT_SIZE)
88 const u32 out_len = apply_rules_vect (pw_buf0, pw_buf1, pw_len, rules_buf, il_pos, w0, w1);
94 const u32 out_salt_len = out_len + salt_len;
118 switch_buffer_by_offset_le (w0_t, w1_t, w2_t, w3_t, salt_len);
120 w0_t[0] |= salt_buf0[0];
121 w0_t[1] |= salt_buf0[1];
122 w0_t[2] |= salt_buf0[2];
123 w0_t[3] |= salt_buf0[3];
124 w1_t[0] |= salt_buf1[0];
125 w1_t[1] |= salt_buf1[1];
126 w1_t[2] |= salt_buf1[2];
127 w1_t[3] |= salt_buf1[3];
129 append_0x80_4x4 (w0_t, w1_t, w2_t, w3_t, out_salt_len);
131 w3_t[2] = out_salt_len * 8;
142 MD5_STEP (MD5_Fo, a, b, c, d, w0_t[0], MD5C00, MD5S00);
143 MD5_STEP (MD5_Fo, d, a, b, c, w0_t[1], MD5C01, MD5S01);
144 MD5_STEP (MD5_Fo, c, d, a, b, w0_t[2], MD5C02, MD5S02);
145 MD5_STEP (MD5_Fo, b, c, d, a, w0_t[3], MD5C03, MD5S03);
146 MD5_STEP (MD5_Fo, a, b, c, d, w1_t[0], MD5C04, MD5S00);
147 MD5_STEP (MD5_Fo, d, a, b, c, w1_t[1], MD5C05, MD5S01);
148 MD5_STEP (MD5_Fo, c, d, a, b, w1_t[2], MD5C06, MD5S02);
149 MD5_STEP (MD5_Fo, b, c, d, a, w1_t[3], MD5C07, MD5S03);
150 MD5_STEP (MD5_Fo, a, b, c, d, w2_t[0], MD5C08, MD5S00);
151 MD5_STEP (MD5_Fo, d, a, b, c, w2_t[1], MD5C09, MD5S01);
152 MD5_STEP (MD5_Fo, c, d, a, b, w2_t[2], MD5C0a, MD5S02);
153 MD5_STEP (MD5_Fo, b, c, d, a, w2_t[3], MD5C0b, MD5S03);
154 MD5_STEP (MD5_Fo, a, b, c, d, w3_t[0], MD5C0c, MD5S00);
155 MD5_STEP (MD5_Fo, d, a, b, c, w3_t[1], MD5C0d, MD5S01);
156 MD5_STEP (MD5_Fo, c, d, a, b, w3_t[2], MD5C0e, MD5S02);
157 MD5_STEP (MD5_Fo, b, c, d, a, w3_t[3], MD5C0f, MD5S03);
159 MD5_STEP (MD5_Go, a, b, c, d, w0_t[1], MD5C10, MD5S10);
160 MD5_STEP (MD5_Go, d, a, b, c, w1_t[2], MD5C11, MD5S11);
161 MD5_STEP (MD5_Go, c, d, a, b, w2_t[3], MD5C12, MD5S12);
162 MD5_STEP (MD5_Go, b, c, d, a, w0_t[0], MD5C13, MD5S13);
163 MD5_STEP (MD5_Go, a, b, c, d, w1_t[1], MD5C14, MD5S10);
164 MD5_STEP (MD5_Go, d, a, b, c, w2_t[2], MD5C15, MD5S11);
165 MD5_STEP (MD5_Go, c, d, a, b, w3_t[3], MD5C16, MD5S12);
166 MD5_STEP (MD5_Go, b, c, d, a, w1_t[0], MD5C17, MD5S13);
167 MD5_STEP (MD5_Go, a, b, c, d, w2_t[1], MD5C18, MD5S10);
168 MD5_STEP (MD5_Go, d, a, b, c, w3_t[2], MD5C19, MD5S11);
169 MD5_STEP (MD5_Go, c, d, a, b, w0_t[3], MD5C1a, MD5S12);
170 MD5_STEP (MD5_Go, b, c, d, a, w2_t[0], MD5C1b, MD5S13);
171 MD5_STEP (MD5_Go, a, b, c, d, w3_t[1], MD5C1c, MD5S10);
172 MD5_STEP (MD5_Go, d, a, b, c, w0_t[2], MD5C1d, MD5S11);
173 MD5_STEP (MD5_Go, c, d, a, b, w1_t[3], MD5C1e, MD5S12);
174 MD5_STEP (MD5_Go, b, c, d, a, w3_t[0], MD5C1f, MD5S13);
176 MD5_STEP (MD5_H , a, b, c, d, w1_t[1], MD5C20, MD5S20);
177 MD5_STEP (MD5_H , d, a, b, c, w2_t[0], MD5C21, MD5S21);
178 MD5_STEP (MD5_H , c, d, a, b, w2_t[3], MD5C22, MD5S22);
179 MD5_STEP (MD5_H , b, c, d, a, w3_t[2], MD5C23, MD5S23);
180 MD5_STEP (MD5_H , a, b, c, d, w0_t[1], MD5C24, MD5S20);
181 MD5_STEP (MD5_H , d, a, b, c, w1_t[0], MD5C25, MD5S21);
182 MD5_STEP (MD5_H , c, d, a, b, w1_t[3], MD5C26, MD5S22);
183 MD5_STEP (MD5_H , b, c, d, a, w2_t[2], MD5C27, MD5S23);
184 MD5_STEP (MD5_H , a, b, c, d, w3_t[1], MD5C28, MD5S20);
185 MD5_STEP (MD5_H , d, a, b, c, w0_t[0], MD5C29, MD5S21);
186 MD5_STEP (MD5_H , c, d, a, b, w0_t[3], MD5C2a, MD5S22);
187 MD5_STEP (MD5_H , b, c, d, a, w1_t[2], MD5C2b, MD5S23);
188 MD5_STEP (MD5_H , a, b, c, d, w2_t[1], MD5C2c, MD5S20);
189 MD5_STEP (MD5_H , d, a, b, c, w3_t[0], MD5C2d, MD5S21);
190 MD5_STEP (MD5_H , c, d, a, b, w3_t[3], MD5C2e, MD5S22);
191 MD5_STEP (MD5_H , b, c, d, a, w0_t[2], MD5C2f, MD5S23);
193 MD5_STEP (MD5_I , a, b, c, d, w0_t[0], MD5C30, MD5S30);
194 MD5_STEP (MD5_I , d, a, b, c, w1_t[3], MD5C31, MD5S31);
195 MD5_STEP (MD5_I , c, d, a, b, w3_t[2], MD5C32, MD5S32);
196 MD5_STEP (MD5_I , b, c, d, a, w1_t[1], MD5C33, MD5S33);
197 MD5_STEP (MD5_I , a, b, c, d, w3_t[0], MD5C34, MD5S30);
198 MD5_STEP (MD5_I , d, a, b, c, w0_t[3], MD5C35, MD5S31);
199 MD5_STEP (MD5_I , c, d, a, b, w2_t[2], MD5C36, MD5S32);
200 MD5_STEP (MD5_I , b, c, d, a, w0_t[1], MD5C37, MD5S33);
201 MD5_STEP (MD5_I , a, b, c, d, w2_t[0], MD5C38, MD5S30);
202 MD5_STEP (MD5_I , d, a, b, c, w3_t[3], MD5C39, MD5S31);
203 MD5_STEP (MD5_I , c, d, a, b, w1_t[2], MD5C3a, MD5S32);
204 MD5_STEP (MD5_I , b, c, d, a, w3_t[1], MD5C3b, MD5S33);
205 MD5_STEP (MD5_I , a, b, c, d, w1_t[0], MD5C3c, MD5S30);
206 MD5_STEP (MD5_I , d, a, b, c, w2_t[3], MD5C3d, MD5S31);
207 MD5_STEP (MD5_I , c, d, a, b, w0_t[2], MD5C3e, MD5S32);
208 MD5_STEP (MD5_I , b, c, d, a, w2_t[1], MD5C3f, MD5S33);
210 COMPARE_M_SIMD (a, d, c, b);
214 __kernel void m00020_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)
218 __kernel void m00020_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)
222 __kernel void m00020_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)
228 const u32 lid = get_local_id (0);
234 const u32 gid = get_global_id (0);
236 if (gid >= gid_max) return;
240 pw_buf0[0] = pws[gid].i[ 0];
241 pw_buf0[1] = pws[gid].i[ 1];
242 pw_buf0[2] = pws[gid].i[ 2];
243 pw_buf0[3] = pws[gid].i[ 3];
247 pw_buf1[0] = pws[gid].i[ 4];
248 pw_buf1[1] = pws[gid].i[ 5];
249 pw_buf1[2] = pws[gid].i[ 6];
250 pw_buf1[3] = pws[gid].i[ 7];
252 const u32 pw_len = pws[gid].pw_len;
260 salt_buf0[0] = salt_bufs[salt_pos].salt_buf[0];
261 salt_buf0[1] = salt_bufs[salt_pos].salt_buf[1];
262 salt_buf0[2] = salt_bufs[salt_pos].salt_buf[2];
263 salt_buf0[3] = salt_bufs[salt_pos].salt_buf[3];
267 salt_buf1[0] = salt_bufs[salt_pos].salt_buf[4];
268 salt_buf1[1] = salt_bufs[salt_pos].salt_buf[5];
269 salt_buf1[2] = salt_bufs[salt_pos].salt_buf[6];
270 salt_buf1[3] = salt_bufs[salt_pos].salt_buf[7];
272 const u32 salt_len = salt_bufs[salt_pos].salt_len;
278 const u32 search[4] =
280 digests_buf[digests_offset].digest_buf[DGST_R0],
281 digests_buf[digests_offset].digest_buf[DGST_R1],
282 digests_buf[digests_offset].digest_buf[DGST_R2],
283 digests_buf[digests_offset].digest_buf[DGST_R3]
290 for (u32 il_pos = 0; il_pos < rules_cnt; il_pos += VECT_SIZE)
297 const u32 out_len = apply_rules_vect (pw_buf0, pw_buf1, pw_len, rules_buf, il_pos, w0, w1);
303 const u32 out_salt_len = out_len + salt_len;
327 switch_buffer_by_offset_le (w0_t, w1_t, w2_t, w3_t, salt_len);
329 w0_t[0] |= salt_buf0[0];
330 w0_t[1] |= salt_buf0[1];
331 w0_t[2] |= salt_buf0[2];
332 w0_t[3] |= salt_buf0[3];
333 w1_t[0] |= salt_buf1[0];
334 w1_t[1] |= salt_buf1[1];
335 w1_t[2] |= salt_buf1[2];
336 w1_t[3] |= salt_buf1[3];
338 append_0x80_4x4 (w0_t, w1_t, w2_t, w3_t, out_salt_len);
340 w3_t[2] = out_salt_len * 8;
351 MD5_STEP (MD5_Fo, a, b, c, d, w0_t[0], MD5C00, MD5S00);
352 MD5_STEP (MD5_Fo, d, a, b, c, w0_t[1], MD5C01, MD5S01);
353 MD5_STEP (MD5_Fo, c, d, a, b, w0_t[2], MD5C02, MD5S02);
354 MD5_STEP (MD5_Fo, b, c, d, a, w0_t[3], MD5C03, MD5S03);
355 MD5_STEP (MD5_Fo, a, b, c, d, w1_t[0], MD5C04, MD5S00);
356 MD5_STEP (MD5_Fo, d, a, b, c, w1_t[1], MD5C05, MD5S01);
357 MD5_STEP (MD5_Fo, c, d, a, b, w1_t[2], MD5C06, MD5S02);
358 MD5_STEP (MD5_Fo, b, c, d, a, w1_t[3], MD5C07, MD5S03);
359 MD5_STEP (MD5_Fo, a, b, c, d, w2_t[0], MD5C08, MD5S00);
360 MD5_STEP (MD5_Fo, d, a, b, c, w2_t[1], MD5C09, MD5S01);
361 MD5_STEP (MD5_Fo, c, d, a, b, w2_t[2], MD5C0a, MD5S02);
362 MD5_STEP (MD5_Fo, b, c, d, a, w2_t[3], MD5C0b, MD5S03);
363 MD5_STEP (MD5_Fo, a, b, c, d, w3_t[0], MD5C0c, MD5S00);
364 MD5_STEP (MD5_Fo, d, a, b, c, w3_t[1], MD5C0d, MD5S01);
365 MD5_STEP (MD5_Fo, c, d, a, b, w3_t[2], MD5C0e, MD5S02);
366 MD5_STEP (MD5_Fo, b, c, d, a, w3_t[3], MD5C0f, MD5S03);
368 MD5_STEP (MD5_Go, a, b, c, d, w0_t[1], MD5C10, MD5S10);
369 MD5_STEP (MD5_Go, d, a, b, c, w1_t[2], MD5C11, MD5S11);
370 MD5_STEP (MD5_Go, c, d, a, b, w2_t[3], MD5C12, MD5S12);
371 MD5_STEP (MD5_Go, b, c, d, a, w0_t[0], MD5C13, MD5S13);
372 MD5_STEP (MD5_Go, a, b, c, d, w1_t[1], MD5C14, MD5S10);
373 MD5_STEP (MD5_Go, d, a, b, c, w2_t[2], MD5C15, MD5S11);
374 MD5_STEP (MD5_Go, c, d, a, b, w3_t[3], MD5C16, MD5S12);
375 MD5_STEP (MD5_Go, b, c, d, a, w1_t[0], MD5C17, MD5S13);
376 MD5_STEP (MD5_Go, a, b, c, d, w2_t[1], MD5C18, MD5S10);
377 MD5_STEP (MD5_Go, d, a, b, c, w3_t[2], MD5C19, MD5S11);
378 MD5_STEP (MD5_Go, c, d, a, b, w0_t[3], MD5C1a, MD5S12);
379 MD5_STEP (MD5_Go, b, c, d, a, w2_t[0], MD5C1b, MD5S13);
380 MD5_STEP (MD5_Go, a, b, c, d, w3_t[1], MD5C1c, MD5S10);
381 MD5_STEP (MD5_Go, d, a, b, c, w0_t[2], MD5C1d, MD5S11);
382 MD5_STEP (MD5_Go, c, d, a, b, w1_t[3], MD5C1e, MD5S12);
383 MD5_STEP (MD5_Go, b, c, d, a, w3_t[0], MD5C1f, MD5S13);
385 MD5_STEP (MD5_H , a, b, c, d, w1_t[1], MD5C20, MD5S20);
386 MD5_STEP (MD5_H , d, a, b, c, w2_t[0], MD5C21, MD5S21);
387 MD5_STEP (MD5_H , c, d, a, b, w2_t[3], MD5C22, MD5S22);
388 MD5_STEP (MD5_H , b, c, d, a, w3_t[2], MD5C23, MD5S23);
389 MD5_STEP (MD5_H , a, b, c, d, w0_t[1], MD5C24, MD5S20);
390 MD5_STEP (MD5_H , d, a, b, c, w1_t[0], MD5C25, MD5S21);
391 MD5_STEP (MD5_H , c, d, a, b, w1_t[3], MD5C26, MD5S22);
392 MD5_STEP (MD5_H , b, c, d, a, w2_t[2], MD5C27, MD5S23);
393 MD5_STEP (MD5_H , a, b, c, d, w3_t[1], MD5C28, MD5S20);
394 MD5_STEP (MD5_H , d, a, b, c, w0_t[0], MD5C29, MD5S21);
395 MD5_STEP (MD5_H , c, d, a, b, w0_t[3], MD5C2a, MD5S22);
396 MD5_STEP (MD5_H , b, c, d, a, w1_t[2], MD5C2b, MD5S23);
397 MD5_STEP (MD5_H , a, b, c, d, w2_t[1], MD5C2c, MD5S20);
398 MD5_STEP (MD5_H , d, a, b, c, w3_t[0], MD5C2d, MD5S21);
399 MD5_STEP (MD5_H , c, d, a, b, w3_t[3], MD5C2e, MD5S22);
400 MD5_STEP (MD5_H , b, c, d, a, w0_t[2], MD5C2f, MD5S23);
402 MD5_STEP (MD5_I , a, b, c, d, w0_t[0], MD5C30, MD5S30);
403 MD5_STEP (MD5_I , d, a, b, c, w1_t[3], MD5C31, MD5S31);
404 MD5_STEP (MD5_I , c, d, a, b, w3_t[2], MD5C32, MD5S32);
405 MD5_STEP (MD5_I , b, c, d, a, w1_t[1], MD5C33, MD5S33);
406 MD5_STEP (MD5_I , a, b, c, d, w3_t[0], MD5C34, MD5S30);
407 MD5_STEP (MD5_I , d, a, b, c, w0_t[3], MD5C35, MD5S31);
408 MD5_STEP (MD5_I , c, d, a, b, w2_t[2], MD5C36, MD5S32);
409 MD5_STEP (MD5_I , b, c, d, a, w0_t[1], MD5C37, MD5S33);
410 MD5_STEP (MD5_I , a, b, c, d, w2_t[0], MD5C38, MD5S30);
411 MD5_STEP (MD5_I , d, a, b, c, w3_t[3], MD5C39, MD5S31);
412 MD5_STEP (MD5_I , c, d, a, b, w1_t[2], MD5C3a, MD5S32);
413 MD5_STEP (MD5_I , b, c, d, a, w3_t[1], MD5C3b, MD5S33);
414 MD5_STEP (MD5_I , a, b, c, d, w1_t[0], MD5C3c, MD5S30);
416 if (MATCHES_NONE_VS (a, search[0])) continue;
418 MD5_STEP (MD5_I , d, a, b, c, w2_t[3], MD5C3d, MD5S31);
419 MD5_STEP (MD5_I , c, d, a, b, w0_t[2], MD5C3e, MD5S32);
420 MD5_STEP (MD5_I , b, c, d, a, w2_t[1], MD5C3f, MD5S33);
422 COMPARE_S_SIMD (a, d, c, b);
426 __kernel void m00020_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)
430 __kernel void m00020_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)