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 "OpenCL/simd.c"
23 __kernel void m02400_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 combs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
29 const u32 lid = get_local_id (0);
35 const u32 gid = get_global_id (0);
37 if (gid >= gid_max) return;
42 pws0[0] = pws[gid].i[0];
43 pws0[1] = pws[gid].i[1];
44 pws0[2] = pws[gid].i[2];
45 pws0[3] = pws[gid].i[3];
46 pws1[0] = pws[gid].i[4];
47 pws1[1] = pws[gid].i[5];
48 pws1[2] = pws[gid].i[6];
49 pws1[3] = pws[gid].i[7];
51 const u32 pw_l_len = pws[gid].pw_len;
57 for (u32 il_pos = 0; il_pos < combs_cnt; il_pos += VECT_SIZE)
59 const u32x pw_r_len = pwlenx_create_combt (combs_buf, il_pos);
61 const u32x pw_len = pw_l_len + pw_r_len;
63 u32x wordr0[4] = { 0 };
64 u32x wordr1[4] = { 0 };
65 u32x wordr2[4] = { 0 };
66 u32x wordr3[4] = { 0 };
68 wordr0[0] = ix_create_combt (combs_buf, il_pos, 0);
69 wordr0[1] = ix_create_combt (combs_buf, il_pos, 1);
70 wordr0[2] = ix_create_combt (combs_buf, il_pos, 2);
71 wordr0[3] = ix_create_combt (combs_buf, il_pos, 3);
72 wordr1[0] = ix_create_combt (combs_buf, il_pos, 4);
73 wordr1[1] = ix_create_combt (combs_buf, il_pos, 5);
74 wordr1[2] = ix_create_combt (combs_buf, il_pos, 6);
75 wordr1[3] = ix_create_combt (combs_buf, il_pos, 7);
77 if (combs_mode == COMBINATOR_MODE_BASE_LEFT)
79 switch_buffer_by_offset_le (wordr0, wordr1, wordr2, wordr3, pw_l_len);
84 w0[0] = wordl0[0] | wordr0[0];
85 w0[1] = wordl0[1] | wordr0[1];
86 w0[2] = wordl0[2] | wordr0[2];
87 w0[3] = wordl0[3] | wordr0[3];
91 w1[0] = wordl1[0] | wordr1[0];
92 w1[1] = wordl1[1] | wordr1[1];
93 w1[2] = wordl1[2] | wordr1[2];
94 w1[3] = wordl1[3] | wordr1[3];
98 w2[0] = wordl2[0] | wordr2[0];
99 w2[1] = wordl2[1] | wordr2[1];
100 w2[2] = wordl2[2] | wordr2[2];
101 w2[3] = wordl2[3] | wordr2[3];
105 w3[0] = wordl3[0] | wordr3[0];
106 w3[1] = wordl3[1] | wordr3[1];
110 truncate_block (w0, pw_len);
120 MD5_STEP (MD5_Fo, a, b, c, d, w0[0], MD5C00, MD5S00);
121 MD5_STEP (MD5_Fo, d, a, b, c, w0[1], MD5C01, MD5S01);
122 MD5_STEP (MD5_Fo, c, d, a, b, w0[2], MD5C02, MD5S02);
123 MD5_STEP (MD5_Fo, b, c, d, a, w0[3], MD5C03, MD5S03);
124 MD5_STEP (MD5_Fo, a, b, c, d, w1[0], MD5C04, MD5S00);
125 MD5_STEP (MD5_Fo, d, a, b, c, w1[1], MD5C05, MD5S01);
126 MD5_STEP (MD5_Fo, c, d, a, b, w1[2], MD5C06, MD5S02);
127 MD5_STEP (MD5_Fo, b, c, d, a, w1[3], MD5C07, MD5S03);
128 MD5_STEP (MD5_Fo, a, b, c, d, w2[0], MD5C08, MD5S00);
129 MD5_STEP (MD5_Fo, d, a, b, c, w2[1], MD5C09, MD5S01);
130 MD5_STEP (MD5_Fo, c, d, a, b, w2[2], MD5C0a, MD5S02);
131 MD5_STEP (MD5_Fo, b, c, d, a, w2[3], MD5C0b, MD5S03);
132 MD5_STEP (MD5_Fo, a, b, c, d, w3[0], MD5C0c, MD5S00);
133 MD5_STEP (MD5_Fo, d, a, b, c, w3[1], MD5C0d, MD5S01);
134 MD5_STEP (MD5_Fo, c, d, a, b, w3[2], MD5C0e, MD5S02);
135 MD5_STEP (MD5_Fo, b, c, d, a, w3[3], MD5C0f, MD5S03);
137 MD5_STEP (MD5_Go, a, b, c, d, w0[1], MD5C10, MD5S10);
138 MD5_STEP (MD5_Go, d, a, b, c, w1[2], MD5C11, MD5S11);
139 MD5_STEP (MD5_Go, c, d, a, b, w2[3], MD5C12, MD5S12);
140 MD5_STEP (MD5_Go, b, c, d, a, w0[0], MD5C13, MD5S13);
141 MD5_STEP (MD5_Go, a, b, c, d, w1[1], MD5C14, MD5S10);
142 MD5_STEP (MD5_Go, d, a, b, c, w2[2], MD5C15, MD5S11);
143 MD5_STEP (MD5_Go, c, d, a, b, w3[3], MD5C16, MD5S12);
144 MD5_STEP (MD5_Go, b, c, d, a, w1[0], MD5C17, MD5S13);
145 MD5_STEP (MD5_Go, a, b, c, d, w2[1], MD5C18, MD5S10);
146 MD5_STEP (MD5_Go, d, a, b, c, w3[2], MD5C19, MD5S11);
147 MD5_STEP (MD5_Go, c, d, a, b, w0[3], MD5C1a, MD5S12);
148 MD5_STEP (MD5_Go, b, c, d, a, w2[0], MD5C1b, MD5S13);
149 MD5_STEP (MD5_Go, a, b, c, d, w3[1], MD5C1c, MD5S10);
150 MD5_STEP (MD5_Go, d, a, b, c, w0[2], MD5C1d, MD5S11);
151 MD5_STEP (MD5_Go, c, d, a, b, w1[3], MD5C1e, MD5S12);
152 MD5_STEP (MD5_Go, b, c, d, a, w3[0], MD5C1f, MD5S13);
154 MD5_STEP (MD5_H , a, b, c, d, w1[1], MD5C20, MD5S20);
155 MD5_STEP (MD5_H , d, a, b, c, w2[0], MD5C21, MD5S21);
156 MD5_STEP (MD5_H , c, d, a, b, w2[3], MD5C22, MD5S22);
157 MD5_STEP (MD5_H , b, c, d, a, w3[2], MD5C23, MD5S23);
158 MD5_STEP (MD5_H , a, b, c, d, w0[1], MD5C24, MD5S20);
159 MD5_STEP (MD5_H , d, a, b, c, w1[0], MD5C25, MD5S21);
160 MD5_STEP (MD5_H , c, d, a, b, w1[3], MD5C26, MD5S22);
161 MD5_STEP (MD5_H , b, c, d, a, w2[2], MD5C27, MD5S23);
162 MD5_STEP (MD5_H , a, b, c, d, w3[1], MD5C28, MD5S20);
163 MD5_STEP (MD5_H , d, a, b, c, w0[0], MD5C29, MD5S21);
164 MD5_STEP (MD5_H , c, d, a, b, w0[3], MD5C2a, MD5S22);
165 MD5_STEP (MD5_H , b, c, d, a, w1[2], MD5C2b, MD5S23);
166 MD5_STEP (MD5_H , a, b, c, d, w2[1], MD5C2c, MD5S20);
167 MD5_STEP (MD5_H , d, a, b, c, w3[0], MD5C2d, MD5S21);
168 MD5_STEP (MD5_H , c, d, a, b, w3[3], MD5C2e, MD5S22);
169 MD5_STEP (MD5_H , b, c, d, a, w0[2], MD5C2f, MD5S23);
171 MD5_STEP (MD5_I , a, b, c, d, w0[0], MD5C30, MD5S30);
172 MD5_STEP (MD5_I , d, a, b, c, w1[3], MD5C31, MD5S31);
173 MD5_STEP (MD5_I , c, d, a, b, w3[2], MD5C32, MD5S32);
174 MD5_STEP (MD5_I , b, c, d, a, w1[1], MD5C33, MD5S33);
175 MD5_STEP (MD5_I , a, b, c, d, w3[0], MD5C34, MD5S30);
176 MD5_STEP (MD5_I , d, a, b, c, w0[3], MD5C35, MD5S31);
177 MD5_STEP (MD5_I , c, d, a, b, w2[2], MD5C36, MD5S32);
178 MD5_STEP (MD5_I , b, c, d, a, w0[1], MD5C37, MD5S33);
179 MD5_STEP (MD5_I , a, b, c, d, w2[0], MD5C38, MD5S30);
180 MD5_STEP (MD5_I , d, a, b, c, w3[3], MD5C39, MD5S31);
181 MD5_STEP (MD5_I , c, d, a, b, w1[2], MD5C3a, MD5S32);
182 MD5_STEP (MD5_I , b, c, d, a, w3[1], MD5C3b, MD5S33);
183 MD5_STEP (MD5_I , a, b, c, d, w1[0], MD5C3c, MD5S30);
184 MD5_STEP (MD5_I , d, a, b, c, w2[3], MD5C3d, MD5S31);
185 MD5_STEP (MD5_I , c, d, a, b, w0[2], MD5C3e, MD5S32);
186 MD5_STEP (MD5_I , b, c, d, a, w2[1], MD5C3f, MD5S33);
192 COMPARE_M_SIMD (a, d, c, b);
196 __kernel void m02400_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 combs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
200 __kernel void m02400_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 combs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
204 __kernel void m02400_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 combs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
210 const u32 lid = get_local_id (0);
216 const u32 gid = get_global_id (0);
218 if (gid >= gid_max) return;
223 pws0[0] = pws[gid].i[0];
224 pws0[1] = pws[gid].i[1];
225 pws0[2] = pws[gid].i[2];
226 pws0[3] = pws[gid].i[3];
227 pws1[0] = pws[gid].i[4];
228 pws1[1] = pws[gid].i[5];
229 pws1[2] = pws[gid].i[6];
230 pws1[3] = pws[gid].i[7];
232 const u32 pw_l_len = pws[gid].pw_len;
238 const u32 search[4] =
240 digests_buf[digests_offset].digest_buf[DGST_R0],
241 digests_buf[digests_offset].digest_buf[DGST_R1],
242 digests_buf[digests_offset].digest_buf[DGST_R2],
243 digests_buf[digests_offset].digest_buf[DGST_R3]
250 for (u32 il_pos = 0; il_pos < combs_cnt; il_pos += VECT_SIZE)
252 const u32x pw_r_len = pwlenx_create_combt (combs_buf, il_pos);
254 const u32x pw_len = pw_l_len + pw_r_len;
256 u32x wordr0[4] = { 0 };
257 u32x wordr1[4] = { 0 };
258 u32x wordr2[4] = { 0 };
259 u32x wordr3[4] = { 0 };
261 wordr0[0] = ix_create_combt (combs_buf, il_pos, 0);
262 wordr0[1] = ix_create_combt (combs_buf, il_pos, 1);
263 wordr0[2] = ix_create_combt (combs_buf, il_pos, 2);
264 wordr0[3] = ix_create_combt (combs_buf, il_pos, 3);
265 wordr1[0] = ix_create_combt (combs_buf, il_pos, 4);
266 wordr1[1] = ix_create_combt (combs_buf, il_pos, 5);
267 wordr1[2] = ix_create_combt (combs_buf, il_pos, 6);
268 wordr1[3] = ix_create_combt (combs_buf, il_pos, 7);
270 if (combs_mode == COMBINATOR_MODE_BASE_LEFT)
272 switch_buffer_by_offset_le (wordr0, wordr1, wordr2, wordr3, pw_l_len);
277 w0[0] = wordl0[0] | wordr0[0];
278 w0[1] = wordl0[1] | wordr0[1];
279 w0[2] = wordl0[2] | wordr0[2];
280 w0[3] = wordl0[3] | wordr0[3];
284 w1[0] = wordl1[0] | wordr1[0];
285 w1[1] = wordl1[1] | wordr1[1];
286 w1[2] = wordl1[2] | wordr1[2];
287 w1[3] = wordl1[3] | wordr1[3];
291 w2[0] = wordl2[0] | wordr2[0];
292 w2[1] = wordl2[1] | wordr2[1];
293 w2[2] = wordl2[2] | wordr2[2];
294 w2[3] = wordl2[3] | wordr2[3];
298 w3[0] = wordl3[0] | wordr3[0];
299 w3[1] = wordl3[1] | wordr3[1];
303 truncate_block (w0, pw_len);
313 MD5_STEP (MD5_Fo, a, b, c, d, w0[0], MD5C00, MD5S00);
314 MD5_STEP (MD5_Fo, d, a, b, c, w0[1], MD5C01, MD5S01);
315 MD5_STEP (MD5_Fo, c, d, a, b, w0[2], MD5C02, MD5S02);
316 MD5_STEP (MD5_Fo, b, c, d, a, w0[3], MD5C03, MD5S03);
317 MD5_STEP (MD5_Fo, a, b, c, d, w1[0], MD5C04, MD5S00);
318 MD5_STEP (MD5_Fo, d, a, b, c, w1[1], MD5C05, MD5S01);
319 MD5_STEP (MD5_Fo, c, d, a, b, w1[2], MD5C06, MD5S02);
320 MD5_STEP (MD5_Fo, b, c, d, a, w1[3], MD5C07, MD5S03);
321 MD5_STEP (MD5_Fo, a, b, c, d, w2[0], MD5C08, MD5S00);
322 MD5_STEP (MD5_Fo, d, a, b, c, w2[1], MD5C09, MD5S01);
323 MD5_STEP (MD5_Fo, c, d, a, b, w2[2], MD5C0a, MD5S02);
324 MD5_STEP (MD5_Fo, b, c, d, a, w2[3], MD5C0b, MD5S03);
325 MD5_STEP (MD5_Fo, a, b, c, d, w3[0], MD5C0c, MD5S00);
326 MD5_STEP (MD5_Fo, d, a, b, c, w3[1], MD5C0d, MD5S01);
327 MD5_STEP (MD5_Fo, c, d, a, b, w3[2], MD5C0e, MD5S02);
328 MD5_STEP (MD5_Fo, b, c, d, a, w3[3], MD5C0f, MD5S03);
330 MD5_STEP (MD5_Go, a, b, c, d, w0[1], MD5C10, MD5S10);
331 MD5_STEP (MD5_Go, d, a, b, c, w1[2], MD5C11, MD5S11);
332 MD5_STEP (MD5_Go, c, d, a, b, w2[3], MD5C12, MD5S12);
333 MD5_STEP (MD5_Go, b, c, d, a, w0[0], MD5C13, MD5S13);
334 MD5_STEP (MD5_Go, a, b, c, d, w1[1], MD5C14, MD5S10);
335 MD5_STEP (MD5_Go, d, a, b, c, w2[2], MD5C15, MD5S11);
336 MD5_STEP (MD5_Go, c, d, a, b, w3[3], MD5C16, MD5S12);
337 MD5_STEP (MD5_Go, b, c, d, a, w1[0], MD5C17, MD5S13);
338 MD5_STEP (MD5_Go, a, b, c, d, w2[1], MD5C18, MD5S10);
339 MD5_STEP (MD5_Go, d, a, b, c, w3[2], MD5C19, MD5S11);
340 MD5_STEP (MD5_Go, c, d, a, b, w0[3], MD5C1a, MD5S12);
341 MD5_STEP (MD5_Go, b, c, d, a, w2[0], MD5C1b, MD5S13);
342 MD5_STEP (MD5_Go, a, b, c, d, w3[1], MD5C1c, MD5S10);
343 MD5_STEP (MD5_Go, d, a, b, c, w0[2], MD5C1d, MD5S11);
344 MD5_STEP (MD5_Go, c, d, a, b, w1[3], MD5C1e, MD5S12);
345 MD5_STEP (MD5_Go, b, c, d, a, w3[0], MD5C1f, MD5S13);
347 MD5_STEP (MD5_H , a, b, c, d, w1[1], MD5C20, MD5S20);
348 MD5_STEP (MD5_H , d, a, b, c, w2[0], MD5C21, MD5S21);
349 MD5_STEP (MD5_H , c, d, a, b, w2[3], MD5C22, MD5S22);
350 MD5_STEP (MD5_H , b, c, d, a, w3[2], MD5C23, MD5S23);
351 MD5_STEP (MD5_H , a, b, c, d, w0[1], MD5C24, MD5S20);
352 MD5_STEP (MD5_H , d, a, b, c, w1[0], MD5C25, MD5S21);
353 MD5_STEP (MD5_H , c, d, a, b, w1[3], MD5C26, MD5S22);
354 MD5_STEP (MD5_H , b, c, d, a, w2[2], MD5C27, MD5S23);
355 MD5_STEP (MD5_H , a, b, c, d, w3[1], MD5C28, MD5S20);
356 MD5_STEP (MD5_H , d, a, b, c, w0[0], MD5C29, MD5S21);
357 MD5_STEP (MD5_H , c, d, a, b, w0[3], MD5C2a, MD5S22);
358 MD5_STEP (MD5_H , b, c, d, a, w1[2], MD5C2b, MD5S23);
359 MD5_STEP (MD5_H , a, b, c, d, w2[1], MD5C2c, MD5S20);
360 MD5_STEP (MD5_H , d, a, b, c, w3[0], MD5C2d, MD5S21);
361 MD5_STEP (MD5_H , c, d, a, b, w3[3], MD5C2e, MD5S22);
362 MD5_STEP (MD5_H , b, c, d, a, w0[2], MD5C2f, MD5S23);
364 MD5_STEP (MD5_I , a, b, c, d, w0[0], MD5C30, MD5S30);
365 MD5_STEP (MD5_I , d, a, b, c, w1[3], MD5C31, MD5S31);
366 MD5_STEP (MD5_I , c, d, a, b, w3[2], MD5C32, MD5S32);
367 MD5_STEP (MD5_I , b, c, d, a, w1[1], MD5C33, MD5S33);
368 MD5_STEP (MD5_I , a, b, c, d, w3[0], MD5C34, MD5S30);
369 MD5_STEP (MD5_I , d, a, b, c, w0[3], MD5C35, MD5S31);
370 MD5_STEP (MD5_I , c, d, a, b, w2[2], MD5C36, MD5S32);
371 MD5_STEP (MD5_I , b, c, d, a, w0[1], MD5C37, MD5S33);
372 MD5_STEP (MD5_I , a, b, c, d, w2[0], MD5C38, MD5S30);
373 MD5_STEP (MD5_I , d, a, b, c, w3[3], MD5C39, MD5S31);
374 MD5_STEP (MD5_I , c, d, a, b, w1[2], MD5C3a, MD5S32);
375 MD5_STEP (MD5_I , b, c, d, a, w3[1], MD5C3b, MD5S33);
376 MD5_STEP (MD5_I , a, b, c, d, w1[0], MD5C3c, MD5S30);
378 bool q_cond = allx ((a & 0x00ffffff) != search[0]);
380 if (q_cond) continue;
382 MD5_STEP (MD5_I , d, a, b, c, w2[3], MD5C3d, MD5S31);
383 MD5_STEP (MD5_I , c, d, a, b, w0[2], MD5C3e, MD5S32);
384 MD5_STEP (MD5_I , b, c, d, a, w2[1], MD5C3f, MD5S33);
390 COMPARE_S_SIMD (a, d, c, b);
394 __kernel void m02400_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 combs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
398 __kernel void m02400_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 combs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)