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"
20 #define COMPARE_S "OpenCL/check_single_comp4.c"
21 #define COMPARE_M "OpenCL/check_multi_comp4.c"
23 static void m09900m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global kernel_rule_t *rules_buf, __global comb_t *combs_buf, __constant u32 * words_buf_r, __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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset)
29 const u32 gid = get_global_id (0);
30 const u32 lid = get_local_id (0);
36 const u32 F_w0c00 = 0 + MD5C00;
37 const u32 F_w1c01 = w[ 1] + MD5C01;
38 const u32 F_w2c02 = w[ 2] + MD5C02;
39 const u32 F_w3c03 = w[ 3] + MD5C03;
40 const u32 F_w4c04 = w[ 4] + MD5C04;
41 const u32 F_w5c05 = w[ 5] + MD5C05;
42 const u32 F_w6c06 = w[ 6] + MD5C06;
43 const u32 F_w7c07 = w[ 7] + MD5C07;
44 const u32 F_w8c08 = w[ 8] + MD5C08;
45 const u32 F_w9c09 = w[ 9] + MD5C09;
46 const u32 F_wac0a = w[10] + MD5C0a;
47 const u32 F_wbc0b = w[11] + MD5C0b;
48 const u32 F_wcc0c = w[12] + MD5C0c;
49 const u32 F_wdc0d = w[13] + MD5C0d;
50 const u32 F_wec0e = w[14] + MD5C0e;
51 const u32 F_wfc0f = w[15] + MD5C0f;
53 const u32 G_w1c10 = w[ 1] + MD5C10;
54 const u32 G_w6c11 = w[ 6] + MD5C11;
55 const u32 G_wbc12 = w[11] + MD5C12;
56 const u32 G_w0c13 = 0 + MD5C13;
57 const u32 G_w5c14 = w[ 5] + MD5C14;
58 const u32 G_wac15 = w[10] + MD5C15;
59 const u32 G_wfc16 = w[15] + MD5C16;
60 const u32 G_w4c17 = w[ 4] + MD5C17;
61 const u32 G_w9c18 = w[ 9] + MD5C18;
62 const u32 G_wec19 = w[14] + MD5C19;
63 const u32 G_w3c1a = w[ 3] + MD5C1a;
64 const u32 G_w8c1b = w[ 8] + MD5C1b;
65 const u32 G_wdc1c = w[13] + MD5C1c;
66 const u32 G_w2c1d = w[ 2] + MD5C1d;
67 const u32 G_w7c1e = w[ 7] + MD5C1e;
68 const u32 G_wcc1f = w[12] + MD5C1f;
70 const u32 H_w5c20 = w[ 5] + MD5C20;
71 const u32 H_w8c21 = w[ 8] + MD5C21;
72 const u32 H_wbc22 = w[11] + MD5C22;
73 const u32 H_wec23 = w[14] + MD5C23;
74 const u32 H_w1c24 = w[ 1] + MD5C24;
75 const u32 H_w4c25 = w[ 4] + MD5C25;
76 const u32 H_w7c26 = w[ 7] + MD5C26;
77 const u32 H_wac27 = w[10] + MD5C27;
78 const u32 H_wdc28 = w[13] + MD5C28;
79 const u32 H_w0c29 = 0 + MD5C29;
80 const u32 H_w3c2a = w[ 3] + MD5C2a;
81 const u32 H_w6c2b = w[ 6] + MD5C2b;
82 const u32 H_w9c2c = w[ 9] + MD5C2c;
83 const u32 H_wcc2d = w[12] + MD5C2d;
84 const u32 H_wfc2e = w[15] + MD5C2e;
85 const u32 H_w2c2f = w[ 2] + MD5C2f;
87 const u32 I_w0c30 = 0 + MD5C30;
88 const u32 I_w7c31 = w[ 7] + MD5C31;
89 const u32 I_wec32 = w[14] + MD5C32;
90 const u32 I_w5c33 = w[ 5] + MD5C33;
91 const u32 I_wcc34 = w[12] + MD5C34;
92 const u32 I_w3c35 = w[ 3] + MD5C35;
93 const u32 I_wac36 = w[10] + MD5C36;
94 const u32 I_w1c37 = w[ 1] + MD5C37;
95 const u32 I_w8c38 = w[ 8] + MD5C38;
96 const u32 I_wfc39 = w[15] + MD5C39;
97 const u32 I_w6c3a = w[ 6] + MD5C3a;
98 const u32 I_wdc3b = w[13] + MD5C3b;
99 const u32 I_w4c3c = w[ 4] + MD5C3c;
100 const u32 I_wbc3d = w[11] + MD5C3d;
101 const u32 I_w2c3e = w[ 2] + MD5C3e;
102 const u32 I_w9c3f = w[ 9] + MD5C3f;
110 for (u32 il_pos = 0; il_pos < bfs_cnt; il_pos++)
112 const u32 w0r = words_buf_r[il_pos];
114 const u32 w0 = w0l | w0r;
121 MD5_STEP (MD5_Fo, a, b, c, d, w0, F_w0c00, MD5S00);
122 MD5_STEP0(MD5_Fo, d, a, b, c, F_w1c01, MD5S01);
123 MD5_STEP0(MD5_Fo, c, d, a, b, F_w2c02, MD5S02);
124 MD5_STEP0(MD5_Fo, b, c, d, a, F_w3c03, MD5S03);
125 MD5_STEP0(MD5_Fo, a, b, c, d, F_w4c04, MD5S00);
126 MD5_STEP0(MD5_Fo, d, a, b, c, F_w5c05, MD5S01);
127 MD5_STEP0(MD5_Fo, c, d, a, b, F_w6c06, MD5S02);
128 MD5_STEP0(MD5_Fo, b, c, d, a, F_w7c07, MD5S03);
129 MD5_STEP0(MD5_Fo, a, b, c, d, F_w8c08, MD5S00);
130 MD5_STEP0(MD5_Fo, d, a, b, c, F_w9c09, MD5S01);
131 MD5_STEP0(MD5_Fo, c, d, a, b, F_wac0a, MD5S02);
132 MD5_STEP0(MD5_Fo, b, c, d, a, F_wbc0b, MD5S03);
133 MD5_STEP0(MD5_Fo, a, b, c, d, F_wcc0c, MD5S00);
134 MD5_STEP0(MD5_Fo, d, a, b, c, F_wdc0d, MD5S01);
135 MD5_STEP0(MD5_Fo, c, d, a, b, F_wec0e, MD5S02);
136 MD5_STEP0(MD5_Fo, b, c, d, a, F_wfc0f, MD5S03);
138 MD5_STEP0(MD5_Go, a, b, c, d, G_w1c10, MD5S10);
139 MD5_STEP0(MD5_Go, d, a, b, c, G_w6c11, MD5S11);
140 MD5_STEP0(MD5_Go, c, d, a, b, G_wbc12, MD5S12);
141 MD5_STEP (MD5_Go, b, c, d, a, w0, G_w0c13, MD5S13);
142 MD5_STEP0(MD5_Go, a, b, c, d, G_w5c14, MD5S10);
143 MD5_STEP0(MD5_Go, d, a, b, c, G_wac15, MD5S11);
144 MD5_STEP0(MD5_Go, c, d, a, b, G_wfc16, MD5S12);
145 MD5_STEP0(MD5_Go, b, c, d, a, G_w4c17, MD5S13);
146 MD5_STEP0(MD5_Go, a, b, c, d, G_w9c18, MD5S10);
147 MD5_STEP0(MD5_Go, d, a, b, c, G_wec19, MD5S11);
148 MD5_STEP0(MD5_Go, c, d, a, b, G_w3c1a, MD5S12);
149 MD5_STEP0(MD5_Go, b, c, d, a, G_w8c1b, MD5S13);
150 MD5_STEP0(MD5_Go, a, b, c, d, G_wdc1c, MD5S10);
151 MD5_STEP0(MD5_Go, d, a, b, c, G_w2c1d, MD5S11);
152 MD5_STEP0(MD5_Go, c, d, a, b, G_w7c1e, MD5S12);
153 MD5_STEP0(MD5_Go, b, c, d, a, G_wcc1f, MD5S13);
155 MD5_STEP0(MD5_H , a, b, c, d, H_w5c20, MD5S20);
156 MD5_STEP0(MD5_H , d, a, b, c, H_w8c21, MD5S21);
157 MD5_STEP0(MD5_H , c, d, a, b, H_wbc22, MD5S22);
158 MD5_STEP0(MD5_H , b, c, d, a, H_wec23, MD5S23);
159 MD5_STEP0(MD5_H , a, b, c, d, H_w1c24, MD5S20);
160 MD5_STEP0(MD5_H , d, a, b, c, H_w4c25, MD5S21);
161 MD5_STEP0(MD5_H , c, d, a, b, H_w7c26, MD5S22);
162 MD5_STEP0(MD5_H , b, c, d, a, H_wac27, MD5S23);
163 MD5_STEP0(MD5_H , a, b, c, d, H_wdc28, MD5S20);
164 MD5_STEP (MD5_H , d, a, b, c, w0, H_w0c29, MD5S21);
165 MD5_STEP0(MD5_H , c, d, a, b, H_w3c2a, MD5S22);
166 MD5_STEP0(MD5_H , b, c, d, a, H_w6c2b, MD5S23);
167 MD5_STEP0(MD5_H , a, b, c, d, H_w9c2c, MD5S20);
168 MD5_STEP0(MD5_H , d, a, b, c, H_wcc2d, MD5S21);
169 MD5_STEP0(MD5_H , c, d, a, b, H_wfc2e, MD5S22);
170 MD5_STEP0(MD5_H , b, c, d, a, H_w2c2f, MD5S23);
172 MD5_STEP (MD5_I , a, b, c, d, w0, I_w0c30, MD5S30);
173 MD5_STEP0(MD5_I , d, a, b, c, I_w7c31, MD5S31);
174 MD5_STEP0(MD5_I , c, d, a, b, I_wec32, MD5S32);
175 MD5_STEP0(MD5_I , b, c, d, a, I_w5c33, MD5S33);
176 MD5_STEP0(MD5_I , a, b, c, d, I_wcc34, MD5S30);
177 MD5_STEP0(MD5_I , d, a, b, c, I_w3c35, MD5S31);
178 MD5_STEP0(MD5_I , c, d, a, b, I_wac36, MD5S32);
179 MD5_STEP0(MD5_I , b, c, d, a, I_w1c37, MD5S33);
180 MD5_STEP0(MD5_I , a, b, c, d, I_w8c38, MD5S30);
181 MD5_STEP0(MD5_I , d, a, b, c, I_wfc39, MD5S31);
182 MD5_STEP0(MD5_I , c, d, a, b, I_w6c3a, MD5S32);
183 MD5_STEP0(MD5_I , b, c, d, a, I_wdc3b, MD5S33);
184 MD5_STEP0(MD5_I , a, b, c, d, I_w4c3c, MD5S30);
185 MD5_STEP0(MD5_I , d, a, b, c, I_wbc3d, MD5S31);
186 MD5_STEP0(MD5_I , c, d, a, b, I_w2c3e, MD5S32);
187 MD5_STEP0(MD5_I , b, c, d, a, I_w9c3f, MD5S33);
221 MD5_STEP (MD5_Fo, a, b, c, d, t0[0], MD5C00, MD5S00);
222 MD5_STEP (MD5_Fo, d, a, b, c, t0[1], MD5C01, MD5S01);
223 MD5_STEP (MD5_Fo, c, d, a, b, t0[2], MD5C02, MD5S02);
224 MD5_STEP (MD5_Fo, b, c, d, a, t0[3], MD5C03, MD5S03);
225 MD5_STEP (MD5_Fo, a, b, c, d, t1[0], MD5C04, MD5S00);
226 MD5_STEP (MD5_Fo, d, a, b, c, t1[1], MD5C05, MD5S01);
227 MD5_STEP (MD5_Fo, c, d, a, b, t1[2], MD5C06, MD5S02);
228 MD5_STEP (MD5_Fo, b, c, d, a, t1[3], MD5C07, MD5S03);
229 MD5_STEP (MD5_Fo, a, b, c, d, t2[0], MD5C08, MD5S00);
230 MD5_STEP (MD5_Fo, d, a, b, c, t2[1], MD5C09, MD5S01);
231 MD5_STEP (MD5_Fo, c, d, a, b, t2[2], MD5C0a, MD5S02);
232 MD5_STEP (MD5_Fo, b, c, d, a, t2[3], MD5C0b, MD5S03);
233 MD5_STEP (MD5_Fo, a, b, c, d, t3[0], MD5C0c, MD5S00);
234 MD5_STEP (MD5_Fo, d, a, b, c, t3[1], MD5C0d, MD5S01);
235 MD5_STEP (MD5_Fo, c, d, a, b, t3[2], MD5C0e, MD5S02);
236 MD5_STEP (MD5_Fo, b, c, d, a, t3[3], MD5C0f, MD5S03);
238 MD5_STEP (MD5_Go, a, b, c, d, t0[1], MD5C10, MD5S10);
239 MD5_STEP (MD5_Go, d, a, b, c, t1[2], MD5C11, MD5S11);
240 MD5_STEP (MD5_Go, c, d, a, b, t2[3], MD5C12, MD5S12);
241 MD5_STEP (MD5_Go, b, c, d, a, t0[0], MD5C13, MD5S13);
242 MD5_STEP (MD5_Go, a, b, c, d, t1[1], MD5C14, MD5S10);
243 MD5_STEP (MD5_Go, d, a, b, c, t2[2], MD5C15, MD5S11);
244 MD5_STEP (MD5_Go, c, d, a, b, t3[3], MD5C16, MD5S12);
245 MD5_STEP (MD5_Go, b, c, d, a, t1[0], MD5C17, MD5S13);
246 MD5_STEP (MD5_Go, a, b, c, d, t2[1], MD5C18, MD5S10);
247 MD5_STEP (MD5_Go, d, a, b, c, t3[2], MD5C19, MD5S11);
248 MD5_STEP (MD5_Go, c, d, a, b, t0[3], MD5C1a, MD5S12);
249 MD5_STEP (MD5_Go, b, c, d, a, t2[0], MD5C1b, MD5S13);
250 MD5_STEP (MD5_Go, a, b, c, d, t3[1], MD5C1c, MD5S10);
251 MD5_STEP (MD5_Go, d, a, b, c, t0[2], MD5C1d, MD5S11);
252 MD5_STEP (MD5_Go, c, d, a, b, t1[3], MD5C1e, MD5S12);
253 MD5_STEP (MD5_Go, b, c, d, a, t3[0], MD5C1f, MD5S13);
255 MD5_STEP (MD5_H , a, b, c, d, t1[1], MD5C20, MD5S20);
256 MD5_STEP (MD5_H , d, a, b, c, t2[0], MD5C21, MD5S21);
257 MD5_STEP (MD5_H , c, d, a, b, t2[3], MD5C22, MD5S22);
258 MD5_STEP (MD5_H , b, c, d, a, t3[2], MD5C23, MD5S23);
259 MD5_STEP (MD5_H , a, b, c, d, t0[1], MD5C24, MD5S20);
260 MD5_STEP (MD5_H , d, a, b, c, t1[0], MD5C25, MD5S21);
261 MD5_STEP (MD5_H , c, d, a, b, t1[3], MD5C26, MD5S22);
262 MD5_STEP (MD5_H , b, c, d, a, t2[2], MD5C27, MD5S23);
263 MD5_STEP (MD5_H , a, b, c, d, t3[1], MD5C28, MD5S20);
264 MD5_STEP (MD5_H , d, a, b, c, t0[0], MD5C29, MD5S21);
265 MD5_STEP (MD5_H , c, d, a, b, t0[3], MD5C2a, MD5S22);
266 MD5_STEP (MD5_H , b, c, d, a, t1[2], MD5C2b, MD5S23);
267 MD5_STEP (MD5_H , a, b, c, d, t2[1], MD5C2c, MD5S20);
268 MD5_STEP (MD5_H , d, a, b, c, t3[0], MD5C2d, MD5S21);
269 MD5_STEP (MD5_H , c, d, a, b, t3[3], MD5C2e, MD5S22);
270 MD5_STEP (MD5_H , b, c, d, a, t0[2], MD5C2f, MD5S23);
272 MD5_STEP (MD5_I , a, b, c, d, t0[0], MD5C30, MD5S30);
273 MD5_STEP (MD5_I , d, a, b, c, t1[3], MD5C31, MD5S31);
274 MD5_STEP (MD5_I , c, d, a, b, t3[2], MD5C32, MD5S32);
275 MD5_STEP (MD5_I , b, c, d, a, t1[1], MD5C33, MD5S33);
276 MD5_STEP (MD5_I , a, b, c, d, t3[0], MD5C34, MD5S30);
277 MD5_STEP (MD5_I , d, a, b, c, t0[3], MD5C35, MD5S31);
278 MD5_STEP (MD5_I , c, d, a, b, t2[2], MD5C36, MD5S32);
279 MD5_STEP (MD5_I , b, c, d, a, t0[1], MD5C37, MD5S33);
280 MD5_STEP (MD5_I , a, b, c, d, t2[0], MD5C38, MD5S30);
281 MD5_STEP (MD5_I , d, a, b, c, t3[3], MD5C39, MD5S31);
282 MD5_STEP (MD5_I , c, d, a, b, t1[2], MD5C3a, MD5S32);
283 MD5_STEP (MD5_I , b, c, d, a, t3[1], MD5C3b, MD5S33);
284 MD5_STEP (MD5_I , a, b, c, d, t1[0], MD5C3c, MD5S30);
285 MD5_STEP (MD5_I , d, a, b, c, t2[3], MD5C3d, MD5S31);
286 MD5_STEP (MD5_I , c, d, a, b, t0[2], MD5C3e, MD5S32);
287 MD5_STEP (MD5_I , b, c, d, a, t2[1], MD5C3f, MD5S33);
303 static void m09900s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global kernel_rule_t *rules_buf, __global comb_t *combs_buf, __constant u32 * words_buf_r, __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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset)
309 const u32 gid = get_global_id (0);
310 const u32 lid = get_local_id (0);
316 const u32 F_w0c00 = 0 + MD5C00;
317 const u32 F_w1c01 = w[ 1] + MD5C01;
318 const u32 F_w2c02 = w[ 2] + MD5C02;
319 const u32 F_w3c03 = w[ 3] + MD5C03;
320 const u32 F_w4c04 = w[ 4] + MD5C04;
321 const u32 F_w5c05 = w[ 5] + MD5C05;
322 const u32 F_w6c06 = w[ 6] + MD5C06;
323 const u32 F_w7c07 = w[ 7] + MD5C07;
324 const u32 F_w8c08 = w[ 8] + MD5C08;
325 const u32 F_w9c09 = w[ 9] + MD5C09;
326 const u32 F_wac0a = w[10] + MD5C0a;
327 const u32 F_wbc0b = w[11] + MD5C0b;
328 const u32 F_wcc0c = w[12] + MD5C0c;
329 const u32 F_wdc0d = w[13] + MD5C0d;
330 const u32 F_wec0e = w[14] + MD5C0e;
331 const u32 F_wfc0f = w[15] + MD5C0f;
333 const u32 G_w1c10 = w[ 1] + MD5C10;
334 const u32 G_w6c11 = w[ 6] + MD5C11;
335 const u32 G_wbc12 = w[11] + MD5C12;
336 const u32 G_w0c13 = 0 + MD5C13;
337 const u32 G_w5c14 = w[ 5] + MD5C14;
338 const u32 G_wac15 = w[10] + MD5C15;
339 const u32 G_wfc16 = w[15] + MD5C16;
340 const u32 G_w4c17 = w[ 4] + MD5C17;
341 const u32 G_w9c18 = w[ 9] + MD5C18;
342 const u32 G_wec19 = w[14] + MD5C19;
343 const u32 G_w3c1a = w[ 3] + MD5C1a;
344 const u32 G_w8c1b = w[ 8] + MD5C1b;
345 const u32 G_wdc1c = w[13] + MD5C1c;
346 const u32 G_w2c1d = w[ 2] + MD5C1d;
347 const u32 G_w7c1e = w[ 7] + MD5C1e;
348 const u32 G_wcc1f = w[12] + MD5C1f;
350 const u32 H_w5c20 = w[ 5] + MD5C20;
351 const u32 H_w8c21 = w[ 8] + MD5C21;
352 const u32 H_wbc22 = w[11] + MD5C22;
353 const u32 H_wec23 = w[14] + MD5C23;
354 const u32 H_w1c24 = w[ 1] + MD5C24;
355 const u32 H_w4c25 = w[ 4] + MD5C25;
356 const u32 H_w7c26 = w[ 7] + MD5C26;
357 const u32 H_wac27 = w[10] + MD5C27;
358 const u32 H_wdc28 = w[13] + MD5C28;
359 const u32 H_w0c29 = 0 + MD5C29;
360 const u32 H_w3c2a = w[ 3] + MD5C2a;
361 const u32 H_w6c2b = w[ 6] + MD5C2b;
362 const u32 H_w9c2c = w[ 9] + MD5C2c;
363 const u32 H_wcc2d = w[12] + MD5C2d;
364 const u32 H_wfc2e = w[15] + MD5C2e;
365 const u32 H_w2c2f = w[ 2] + MD5C2f;
367 const u32 I_w0c30 = 0 + MD5C30;
368 const u32 I_w7c31 = w[ 7] + MD5C31;
369 const u32 I_wec32 = w[14] + MD5C32;
370 const u32 I_w5c33 = w[ 5] + MD5C33;
371 const u32 I_wcc34 = w[12] + MD5C34;
372 const u32 I_w3c35 = w[ 3] + MD5C35;
373 const u32 I_wac36 = w[10] + MD5C36;
374 const u32 I_w1c37 = w[ 1] + MD5C37;
375 const u32 I_w8c38 = w[ 8] + MD5C38;
376 const u32 I_wfc39 = w[15] + MD5C39;
377 const u32 I_w6c3a = w[ 6] + MD5C3a;
378 const u32 I_wdc3b = w[13] + MD5C3b;
379 const u32 I_w4c3c = w[ 4] + MD5C3c;
380 const u32 I_wbc3d = w[11] + MD5C3d;
381 const u32 I_w2c3e = w[ 2] + MD5C3e;
382 const u32 I_w9c3f = w[ 9] + MD5C3f;
388 const u32 search[4] =
390 digests_buf[digests_offset].digest_buf[DGST_R0],
391 digests_buf[digests_offset].digest_buf[DGST_R1],
392 digests_buf[digests_offset].digest_buf[DGST_R2],
393 digests_buf[digests_offset].digest_buf[DGST_R3]
402 for (u32 il_pos = 0; il_pos < bfs_cnt; il_pos++)
404 const u32 w0r = words_buf_r[il_pos];
406 const u32 w0 = w0l | w0r;
413 MD5_STEP (MD5_Fo, a, b, c, d, w0, F_w0c00, MD5S00);
414 MD5_STEP0(MD5_Fo, d, a, b, c, F_w1c01, MD5S01);
415 MD5_STEP0(MD5_Fo, c, d, a, b, F_w2c02, MD5S02);
416 MD5_STEP0(MD5_Fo, b, c, d, a, F_w3c03, MD5S03);
417 MD5_STEP0(MD5_Fo, a, b, c, d, F_w4c04, MD5S00);
418 MD5_STEP0(MD5_Fo, d, a, b, c, F_w5c05, MD5S01);
419 MD5_STEP0(MD5_Fo, c, d, a, b, F_w6c06, MD5S02);
420 MD5_STEP0(MD5_Fo, b, c, d, a, F_w7c07, MD5S03);
421 MD5_STEP0(MD5_Fo, a, b, c, d, F_w8c08, MD5S00);
422 MD5_STEP0(MD5_Fo, d, a, b, c, F_w9c09, MD5S01);
423 MD5_STEP0(MD5_Fo, c, d, a, b, F_wac0a, MD5S02);
424 MD5_STEP0(MD5_Fo, b, c, d, a, F_wbc0b, MD5S03);
425 MD5_STEP0(MD5_Fo, a, b, c, d, F_wcc0c, MD5S00);
426 MD5_STEP0(MD5_Fo, d, a, b, c, F_wdc0d, MD5S01);
427 MD5_STEP0(MD5_Fo, c, d, a, b, F_wec0e, MD5S02);
428 MD5_STEP0(MD5_Fo, b, c, d, a, F_wfc0f, MD5S03);
430 MD5_STEP0(MD5_Go, a, b, c, d, G_w1c10, MD5S10);
431 MD5_STEP0(MD5_Go, d, a, b, c, G_w6c11, MD5S11);
432 MD5_STEP0(MD5_Go, c, d, a, b, G_wbc12, MD5S12);
433 MD5_STEP (MD5_Go, b, c, d, a, w0, G_w0c13, MD5S13);
434 MD5_STEP0(MD5_Go, a, b, c, d, G_w5c14, MD5S10);
435 MD5_STEP0(MD5_Go, d, a, b, c, G_wac15, MD5S11);
436 MD5_STEP0(MD5_Go, c, d, a, b, G_wfc16, MD5S12);
437 MD5_STEP0(MD5_Go, b, c, d, a, G_w4c17, MD5S13);
438 MD5_STEP0(MD5_Go, a, b, c, d, G_w9c18, MD5S10);
439 MD5_STEP0(MD5_Go, d, a, b, c, G_wec19, MD5S11);
440 MD5_STEP0(MD5_Go, c, d, a, b, G_w3c1a, MD5S12);
441 MD5_STEP0(MD5_Go, b, c, d, a, G_w8c1b, MD5S13);
442 MD5_STEP0(MD5_Go, a, b, c, d, G_wdc1c, MD5S10);
443 MD5_STEP0(MD5_Go, d, a, b, c, G_w2c1d, MD5S11);
444 MD5_STEP0(MD5_Go, c, d, a, b, G_w7c1e, MD5S12);
445 MD5_STEP0(MD5_Go, b, c, d, a, G_wcc1f, MD5S13);
447 MD5_STEP0(MD5_H , a, b, c, d, H_w5c20, MD5S20);
448 MD5_STEP0(MD5_H , d, a, b, c, H_w8c21, MD5S21);
449 MD5_STEP0(MD5_H , c, d, a, b, H_wbc22, MD5S22);
450 MD5_STEP0(MD5_H , b, c, d, a, H_wec23, MD5S23);
451 MD5_STEP0(MD5_H , a, b, c, d, H_w1c24, MD5S20);
452 MD5_STEP0(MD5_H , d, a, b, c, H_w4c25, MD5S21);
453 MD5_STEP0(MD5_H , c, d, a, b, H_w7c26, MD5S22);
454 MD5_STEP0(MD5_H , b, c, d, a, H_wac27, MD5S23);
455 MD5_STEP0(MD5_H , a, b, c, d, H_wdc28, MD5S20);
456 MD5_STEP (MD5_H , d, a, b, c, w0, H_w0c29, MD5S21);
457 MD5_STEP0(MD5_H , c, d, a, b, H_w3c2a, MD5S22);
458 MD5_STEP0(MD5_H , b, c, d, a, H_w6c2b, MD5S23);
459 MD5_STEP0(MD5_H , a, b, c, d, H_w9c2c, MD5S20);
460 MD5_STEP0(MD5_H , d, a, b, c, H_wcc2d, MD5S21);
461 MD5_STEP0(MD5_H , c, d, a, b, H_wfc2e, MD5S22);
462 MD5_STEP0(MD5_H , b, c, d, a, H_w2c2f, MD5S23);
464 MD5_STEP (MD5_I , a, b, c, d, w0, I_w0c30, MD5S30);
465 MD5_STEP0(MD5_I , d, a, b, c, I_w7c31, MD5S31);
466 MD5_STEP0(MD5_I , c, d, a, b, I_wec32, MD5S32);
467 MD5_STEP0(MD5_I , b, c, d, a, I_w5c33, MD5S33);
468 MD5_STEP0(MD5_I , a, b, c, d, I_wcc34, MD5S30);
469 MD5_STEP0(MD5_I , d, a, b, c, I_w3c35, MD5S31);
470 MD5_STEP0(MD5_I , c, d, a, b, I_wac36, MD5S32);
471 MD5_STEP0(MD5_I , b, c, d, a, I_w1c37, MD5S33);
472 MD5_STEP0(MD5_I , a, b, c, d, I_w8c38, MD5S30);
473 MD5_STEP0(MD5_I , d, a, b, c, I_wfc39, MD5S31);
474 MD5_STEP0(MD5_I , c, d, a, b, I_w6c3a, MD5S32);
475 MD5_STEP0(MD5_I , b, c, d, a, I_wdc3b, MD5S33);
476 MD5_STEP0(MD5_I , a, b, c, d, I_w4c3c, MD5S30);
477 MD5_STEP0(MD5_I , d, a, b, c, I_wbc3d, MD5S31);
478 MD5_STEP0(MD5_I , c, d, a, b, I_w2c3e, MD5S32);
479 MD5_STEP0(MD5_I , b, c, d, a, I_w9c3f, MD5S33);
513 MD5_STEP (MD5_Fo, a, b, c, d, t0[0], MD5C00, MD5S00);
514 MD5_STEP (MD5_Fo, d, a, b, c, t0[1], MD5C01, MD5S01);
515 MD5_STEP (MD5_Fo, c, d, a, b, t0[2], MD5C02, MD5S02);
516 MD5_STEP (MD5_Fo, b, c, d, a, t0[3], MD5C03, MD5S03);
517 MD5_STEP (MD5_Fo, a, b, c, d, t1[0], MD5C04, MD5S00);
518 MD5_STEP (MD5_Fo, d, a, b, c, t1[1], MD5C05, MD5S01);
519 MD5_STEP (MD5_Fo, c, d, a, b, t1[2], MD5C06, MD5S02);
520 MD5_STEP (MD5_Fo, b, c, d, a, t1[3], MD5C07, MD5S03);
521 MD5_STEP (MD5_Fo, a, b, c, d, t2[0], MD5C08, MD5S00);
522 MD5_STEP (MD5_Fo, d, a, b, c, t2[1], MD5C09, MD5S01);
523 MD5_STEP (MD5_Fo, c, d, a, b, t2[2], MD5C0a, MD5S02);
524 MD5_STEP (MD5_Fo, b, c, d, a, t2[3], MD5C0b, MD5S03);
525 MD5_STEP (MD5_Fo, a, b, c, d, t3[0], MD5C0c, MD5S00);
526 MD5_STEP (MD5_Fo, d, a, b, c, t3[1], MD5C0d, MD5S01);
527 MD5_STEP (MD5_Fo, c, d, a, b, t3[2], MD5C0e, MD5S02);
528 MD5_STEP (MD5_Fo, b, c, d, a, t3[3], MD5C0f, MD5S03);
530 MD5_STEP (MD5_Go, a, b, c, d, t0[1], MD5C10, MD5S10);
531 MD5_STEP (MD5_Go, d, a, b, c, t1[2], MD5C11, MD5S11);
532 MD5_STEP (MD5_Go, c, d, a, b, t2[3], MD5C12, MD5S12);
533 MD5_STEP (MD5_Go, b, c, d, a, t0[0], MD5C13, MD5S13);
534 MD5_STEP (MD5_Go, a, b, c, d, t1[1], MD5C14, MD5S10);
535 MD5_STEP (MD5_Go, d, a, b, c, t2[2], MD5C15, MD5S11);
536 MD5_STEP (MD5_Go, c, d, a, b, t3[3], MD5C16, MD5S12);
537 MD5_STEP (MD5_Go, b, c, d, a, t1[0], MD5C17, MD5S13);
538 MD5_STEP (MD5_Go, a, b, c, d, t2[1], MD5C18, MD5S10);
539 MD5_STEP (MD5_Go, d, a, b, c, t3[2], MD5C19, MD5S11);
540 MD5_STEP (MD5_Go, c, d, a, b, t0[3], MD5C1a, MD5S12);
541 MD5_STEP (MD5_Go, b, c, d, a, t2[0], MD5C1b, MD5S13);
542 MD5_STEP (MD5_Go, a, b, c, d, t3[1], MD5C1c, MD5S10);
543 MD5_STEP (MD5_Go, d, a, b, c, t0[2], MD5C1d, MD5S11);
544 MD5_STEP (MD5_Go, c, d, a, b, t1[3], MD5C1e, MD5S12);
545 MD5_STEP (MD5_Go, b, c, d, a, t3[0], MD5C1f, MD5S13);
547 MD5_STEP (MD5_H , a, b, c, d, t1[1], MD5C20, MD5S20);
548 MD5_STEP (MD5_H , d, a, b, c, t2[0], MD5C21, MD5S21);
549 MD5_STEP (MD5_H , c, d, a, b, t2[3], MD5C22, MD5S22);
550 MD5_STEP (MD5_H , b, c, d, a, t3[2], MD5C23, MD5S23);
551 MD5_STEP (MD5_H , a, b, c, d, t0[1], MD5C24, MD5S20);
552 MD5_STEP (MD5_H , d, a, b, c, t1[0], MD5C25, MD5S21);
553 MD5_STEP (MD5_H , c, d, a, b, t1[3], MD5C26, MD5S22);
554 MD5_STEP (MD5_H , b, c, d, a, t2[2], MD5C27, MD5S23);
555 MD5_STEP (MD5_H , a, b, c, d, t3[1], MD5C28, MD5S20);
556 MD5_STEP (MD5_H , d, a, b, c, t0[0], MD5C29, MD5S21);
557 MD5_STEP (MD5_H , c, d, a, b, t0[3], MD5C2a, MD5S22);
558 MD5_STEP (MD5_H , b, c, d, a, t1[2], MD5C2b, MD5S23);
559 MD5_STEP (MD5_H , a, b, c, d, t2[1], MD5C2c, MD5S20);
560 MD5_STEP (MD5_H , d, a, b, c, t3[0], MD5C2d, MD5S21);
561 MD5_STEP (MD5_H , c, d, a, b, t3[3], MD5C2e, MD5S22);
562 MD5_STEP (MD5_H , b, c, d, a, t0[2], MD5C2f, MD5S23);
564 MD5_STEP (MD5_I , a, b, c, d, t0[0], MD5C30, MD5S30);
565 MD5_STEP (MD5_I , d, a, b, c, t1[3], MD5C31, MD5S31);
566 MD5_STEP (MD5_I , c, d, a, b, t3[2], MD5C32, MD5S32);
567 MD5_STEP (MD5_I , b, c, d, a, t1[1], MD5C33, MD5S33);
568 MD5_STEP (MD5_I , a, b, c, d, t3[0], MD5C34, MD5S30);
569 MD5_STEP (MD5_I , d, a, b, c, t0[3], MD5C35, MD5S31);
570 MD5_STEP (MD5_I , c, d, a, b, t2[2], MD5C36, MD5S32);
571 MD5_STEP (MD5_I , b, c, d, a, t0[1], MD5C37, MD5S33);
572 MD5_STEP (MD5_I , a, b, c, d, t2[0], MD5C38, MD5S30);
573 MD5_STEP (MD5_I , d, a, b, c, t3[3], MD5C39, MD5S31);
574 MD5_STEP (MD5_I , c, d, a, b, t1[2], MD5C3a, MD5S32);
575 MD5_STEP (MD5_I , b, c, d, a, t3[1], MD5C3b, MD5S33);
576 MD5_STEP (MD5_I , a, b, c, d, t1[0], MD5C3c, MD5S30);
578 if (allx ((a + r_a) != search[0])) continue;
580 MD5_STEP (MD5_I , d, a, b, c, t2[3], MD5C3d, MD5S31);
581 MD5_STEP (MD5_I , c, d, a, b, t0[2], MD5C3e, MD5S32);
582 MD5_STEP (MD5_I , b, c, d, a, t2[1], MD5C3f, MD5S33);
598 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m09900_m04 (__global pw_t *pws, __global kernel_rule_t *rules_buf, __global comb_t *combs_buf, __constant u32 * words_buf_r, __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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
604 const u32 gid = get_global_id (0);
606 if (gid >= gid_max) return;
610 w[ 0] = pws[gid].i[ 0];
611 w[ 1] = pws[gid].i[ 1];
612 w[ 2] = pws[gid].i[ 2];
613 w[ 3] = pws[gid].i[ 3];
627 const u32 pw_len = pws[gid].pw_len;
633 m09900m (w, pw_len, pws, rules_buf, combs_buf, words_buf_r, tmps, hooks, bitmaps_buf_s1_a, bitmaps_buf_s1_b, bitmaps_buf_s1_c, bitmaps_buf_s1_d, bitmaps_buf_s2_a, bitmaps_buf_s2_b, bitmaps_buf_s2_c, bitmaps_buf_s2_d, plains_buf, digests_buf, hashes_shown, salt_bufs, esalt_bufs, d_return_buf, d_scryptV_buf, bitmap_mask, bitmap_shift1, bitmap_shift2, salt_pos, loop_pos, loop_cnt, bfs_cnt, digests_cnt, digests_offset);
636 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m09900_m08 (__global pw_t *pws, __global kernel_rule_t *rules_buf, __global comb_t *combs_buf, __constant u32 * words_buf_r, __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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
642 const u32 gid = get_global_id (0);
644 if (gid >= gid_max) return;
648 w[ 0] = pws[gid].i[ 0];
649 w[ 1] = pws[gid].i[ 1];
650 w[ 2] = pws[gid].i[ 2];
651 w[ 3] = pws[gid].i[ 3];
652 w[ 4] = pws[gid].i[ 4];
653 w[ 5] = pws[gid].i[ 5];
654 w[ 6] = pws[gid].i[ 6];
655 w[ 7] = pws[gid].i[ 7];
665 const u32 pw_len = pws[gid].pw_len;
671 m09900m (w, pw_len, pws, rules_buf, combs_buf, words_buf_r, tmps, hooks, bitmaps_buf_s1_a, bitmaps_buf_s1_b, bitmaps_buf_s1_c, bitmaps_buf_s1_d, bitmaps_buf_s2_a, bitmaps_buf_s2_b, bitmaps_buf_s2_c, bitmaps_buf_s2_d, plains_buf, digests_buf, hashes_shown, salt_bufs, esalt_bufs, d_return_buf, d_scryptV_buf, bitmap_mask, bitmap_shift1, bitmap_shift2, salt_pos, loop_pos, loop_cnt, bfs_cnt, digests_cnt, digests_offset);
674 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m09900_m16 (__global pw_t *pws, __global kernel_rule_t *rules_buf, __global comb_t *combs_buf, __constant u32 * words_buf_r, __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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
680 const u32 gid = get_global_id (0);
682 if (gid >= gid_max) return;
686 w[ 0] = pws[gid].i[ 0];
687 w[ 1] = pws[gid].i[ 1];
688 w[ 2] = pws[gid].i[ 2];
689 w[ 3] = pws[gid].i[ 3];
690 w[ 4] = pws[gid].i[ 4];
691 w[ 5] = pws[gid].i[ 5];
692 w[ 6] = pws[gid].i[ 6];
693 w[ 7] = pws[gid].i[ 7];
694 w[ 8] = pws[gid].i[ 8];
695 w[ 9] = pws[gid].i[ 9];
696 w[10] = pws[gid].i[10];
697 w[11] = pws[gid].i[11];
698 w[12] = pws[gid].i[12];
699 w[13] = pws[gid].i[13];
700 w[14] = pws[gid].i[14];
701 w[15] = pws[gid].i[15];
703 const u32 pw_len = pws[gid].pw_len;
709 m09900m (w, pw_len, pws, rules_buf, combs_buf, words_buf_r, tmps, hooks, bitmaps_buf_s1_a, bitmaps_buf_s1_b, bitmaps_buf_s1_c, bitmaps_buf_s1_d, bitmaps_buf_s2_a, bitmaps_buf_s2_b, bitmaps_buf_s2_c, bitmaps_buf_s2_d, plains_buf, digests_buf, hashes_shown, salt_bufs, esalt_bufs, d_return_buf, d_scryptV_buf, bitmap_mask, bitmap_shift1, bitmap_shift2, salt_pos, loop_pos, loop_cnt, bfs_cnt, digests_cnt, digests_offset);
712 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m09900_s04 (__global pw_t *pws, __global kernel_rule_t *rules_buf, __global comb_t *combs_buf, __constant u32 * words_buf_r, __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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
718 const u32 gid = get_global_id (0);
720 if (gid >= gid_max) return;
724 w[ 0] = pws[gid].i[ 0];
725 w[ 1] = pws[gid].i[ 1];
726 w[ 2] = pws[gid].i[ 2];
727 w[ 3] = pws[gid].i[ 3];
741 const u32 pw_len = pws[gid].pw_len;
747 m09900s (w, pw_len, pws, rules_buf, combs_buf, words_buf_r, tmps, hooks, bitmaps_buf_s1_a, bitmaps_buf_s1_b, bitmaps_buf_s1_c, bitmaps_buf_s1_d, bitmaps_buf_s2_a, bitmaps_buf_s2_b, bitmaps_buf_s2_c, bitmaps_buf_s2_d, plains_buf, digests_buf, hashes_shown, salt_bufs, esalt_bufs, d_return_buf, d_scryptV_buf, bitmap_mask, bitmap_shift1, bitmap_shift2, salt_pos, loop_pos, loop_cnt, bfs_cnt, digests_cnt, digests_offset);
750 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m09900_s08 (__global pw_t *pws, __global kernel_rule_t *rules_buf, __global comb_t *combs_buf, __constant u32 * words_buf_r, __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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
756 const u32 gid = get_global_id (0);
758 if (gid >= gid_max) return;
762 w[ 0] = pws[gid].i[ 0];
763 w[ 1] = pws[gid].i[ 1];
764 w[ 2] = pws[gid].i[ 2];
765 w[ 3] = pws[gid].i[ 3];
766 w[ 4] = pws[gid].i[ 4];
767 w[ 5] = pws[gid].i[ 5];
768 w[ 6] = pws[gid].i[ 6];
769 w[ 7] = pws[gid].i[ 7];
779 const u32 pw_len = pws[gid].pw_len;
785 m09900s (w, pw_len, pws, rules_buf, combs_buf, words_buf_r, tmps, hooks, bitmaps_buf_s1_a, bitmaps_buf_s1_b, bitmaps_buf_s1_c, bitmaps_buf_s1_d, bitmaps_buf_s2_a, bitmaps_buf_s2_b, bitmaps_buf_s2_c, bitmaps_buf_s2_d, plains_buf, digests_buf, hashes_shown, salt_bufs, esalt_bufs, d_return_buf, d_scryptV_buf, bitmap_mask, bitmap_shift1, bitmap_shift2, salt_pos, loop_pos, loop_cnt, bfs_cnt, digests_cnt, digests_offset);
788 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m09900_s16 (__global pw_t *pws, __global kernel_rule_t *rules_buf, __global comb_t *combs_buf, __constant u32 * words_buf_r, __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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
794 const u32 gid = get_global_id (0);
796 if (gid >= gid_max) return;
800 w[ 0] = pws[gid].i[ 0];
801 w[ 1] = pws[gid].i[ 1];
802 w[ 2] = pws[gid].i[ 2];
803 w[ 3] = pws[gid].i[ 3];
804 w[ 4] = pws[gid].i[ 4];
805 w[ 5] = pws[gid].i[ 5];
806 w[ 6] = pws[gid].i[ 6];
807 w[ 7] = pws[gid].i[ 7];
808 w[ 8] = pws[gid].i[ 8];
809 w[ 9] = pws[gid].i[ 9];
810 w[10] = pws[gid].i[10];
811 w[11] = pws[gid].i[11];
812 w[12] = pws[gid].i[12];
813 w[13] = pws[gid].i[13];
814 w[14] = pws[gid].i[14];
815 w[15] = pws[gid].i[15];
817 const u32 pw_len = pws[gid].pw_len;
823 m09900s (w, pw_len, pws, rules_buf, combs_buf, words_buf_r, tmps, hooks, bitmaps_buf_s1_a, bitmaps_buf_s1_b, bitmaps_buf_s1_c, bitmaps_buf_s1_d, bitmaps_buf_s2_a, bitmaps_buf_s2_b, bitmaps_buf_s2_c, bitmaps_buf_s2_d, plains_buf, digests_buf, hashes_shown, salt_bufs, esalt_bufs, d_return_buf, d_scryptV_buf, bitmap_mask, bitmap_shift1, bitmap_shift2, salt_pos, loop_pos, loop_cnt, bfs_cnt, digests_cnt, digests_offset);