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"
33 #define VECT_COMPARE_S "check_single_vect1_comp4.c"
34 #define VECT_COMPARE_M "check_multi_vect1_comp4.c"
38 #define VECT_COMPARE_S "check_single_vect2_comp4.c"
39 #define VECT_COMPARE_M "check_multi_vect2_comp4.c"
43 #define VECT_COMPARE_S "check_single_vect4_comp4.c"
44 #define VECT_COMPARE_M "check_multi_vect4_comp4.c"
47 static void m11000m (u32x w0[4], u32x w1[4], u32x w2[4], u32x w3[4], const u32 pw_len, __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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset)
53 const u32 gid = get_global_id (0);
54 const u32 lid = get_local_id (0);
62 salt_buf0[0] = salt_bufs[salt_pos].salt_buf[ 0];
63 salt_buf0[1] = salt_bufs[salt_pos].salt_buf[ 1];
64 salt_buf0[2] = salt_bufs[salt_pos].salt_buf[ 2];
65 salt_buf0[3] = salt_bufs[salt_pos].salt_buf[ 3];
69 salt_buf1[0] = salt_bufs[salt_pos].salt_buf[ 4];
70 salt_buf1[1] = salt_bufs[salt_pos].salt_buf[ 5];
71 salt_buf1[2] = salt_bufs[salt_pos].salt_buf[ 6];
72 salt_buf1[3] = salt_bufs[salt_pos].salt_buf[ 7];
76 salt_buf2[0] = salt_bufs[salt_pos].salt_buf[ 8];
77 salt_buf2[1] = salt_bufs[salt_pos].salt_buf[ 9];
78 salt_buf2[2] = salt_bufs[salt_pos].salt_buf[10];
79 salt_buf2[3] = salt_bufs[salt_pos].salt_buf[11];
83 salt_buf3[0] = salt_bufs[salt_pos].salt_buf[12];
84 salt_buf3[1] = salt_bufs[salt_pos].salt_buf[13];
86 const u32 salt_len = salt_bufs[salt_pos].salt_len;
88 const u32 pw_salt_len = pw_len + salt_len;
96 for (u32 il_pos = 0; il_pos < bfs_cnt; il_pos++)
98 const u32 w0r = bfs_buf[il_pos].i;
106 // first step fixed 56 bytes of salt
113 w0_t[0] = salt_buf0[0];
114 w0_t[1] = salt_buf0[1];
115 w0_t[2] = salt_buf0[2];
116 w0_t[3] = salt_buf0[3];
117 w1_t[0] = salt_buf1[0];
118 w1_t[1] = salt_buf1[1];
119 w1_t[2] = salt_buf1[2];
120 w1_t[3] = salt_buf1[3];
121 w2_t[0] = salt_buf2[0];
122 w2_t[1] = salt_buf2[1];
123 w2_t[2] = salt_buf2[2];
124 w2_t[3] = salt_buf2[3];
125 w3_t[0] = salt_buf3[0];
126 w3_t[1] = salt_buf3[1];
128 // after 56 byte salt, we have beginning of the password
144 MD5_STEP (MD5_Fo, a, b, c, d, w0_t[0], MD5C00, MD5S00);
145 MD5_STEP (MD5_Fo, d, a, b, c, w0_t[1], MD5C01, MD5S01);
146 MD5_STEP (MD5_Fo, c, d, a, b, w0_t[2], MD5C02, MD5S02);
147 MD5_STEP (MD5_Fo, b, c, d, a, w0_t[3], MD5C03, MD5S03);
148 MD5_STEP (MD5_Fo, a, b, c, d, w1_t[0], MD5C04, MD5S00);
149 MD5_STEP (MD5_Fo, d, a, b, c, w1_t[1], MD5C05, MD5S01);
150 MD5_STEP (MD5_Fo, c, d, a, b, w1_t[2], MD5C06, MD5S02);
151 MD5_STEP (MD5_Fo, b, c, d, a, w1_t[3], MD5C07, MD5S03);
152 MD5_STEP (MD5_Fo, a, b, c, d, w2_t[0], MD5C08, MD5S00);
153 MD5_STEP (MD5_Fo, d, a, b, c, w2_t[1], MD5C09, MD5S01);
154 MD5_STEP (MD5_Fo, c, d, a, b, w2_t[2], MD5C0a, MD5S02);
155 MD5_STEP (MD5_Fo, b, c, d, a, w2_t[3], MD5C0b, MD5S03);
156 MD5_STEP (MD5_Fo, a, b, c, d, w3_t[0], MD5C0c, MD5S00);
157 MD5_STEP (MD5_Fo, d, a, b, c, w3_t[1], MD5C0d, MD5S01);
158 MD5_STEP (MD5_Fo, c, d, a, b, w3_t[2], MD5C0e, MD5S02);
159 MD5_STEP (MD5_Fo, b, c, d, a, w3_t[3], MD5C0f, MD5S03);
161 MD5_STEP (MD5_Go, a, b, c, d, w0_t[1], MD5C10, MD5S10);
162 MD5_STEP (MD5_Go, d, a, b, c, w1_t[2], MD5C11, MD5S11);
163 MD5_STEP (MD5_Go, c, d, a, b, w2_t[3], MD5C12, MD5S12);
164 MD5_STEP (MD5_Go, b, c, d, a, w0_t[0], MD5C13, MD5S13);
165 MD5_STEP (MD5_Go, a, b, c, d, w1_t[1], MD5C14, MD5S10);
166 MD5_STEP (MD5_Go, d, a, b, c, w2_t[2], MD5C15, MD5S11);
167 MD5_STEP (MD5_Go, c, d, a, b, w3_t[3], MD5C16, MD5S12);
168 MD5_STEP (MD5_Go, b, c, d, a, w1_t[0], MD5C17, MD5S13);
169 MD5_STEP (MD5_Go, a, b, c, d, w2_t[1], MD5C18, MD5S10);
170 MD5_STEP (MD5_Go, d, a, b, c, w3_t[2], MD5C19, MD5S11);
171 MD5_STEP (MD5_Go, c, d, a, b, w0_t[3], MD5C1a, MD5S12);
172 MD5_STEP (MD5_Go, b, c, d, a, w2_t[0], MD5C1b, MD5S13);
173 MD5_STEP (MD5_Go, a, b, c, d, w3_t[1], MD5C1c, MD5S10);
174 MD5_STEP (MD5_Go, d, a, b, c, w0_t[2], MD5C1d, MD5S11);
175 MD5_STEP (MD5_Go, c, d, a, b, w1_t[3], MD5C1e, MD5S12);
176 MD5_STEP (MD5_Go, b, c, d, a, w3_t[0], MD5C1f, MD5S13);
178 MD5_STEP (MD5_H , a, b, c, d, w1_t[1], MD5C20, MD5S20);
179 MD5_STEP (MD5_H , d, a, b, c, w2_t[0], MD5C21, MD5S21);
180 MD5_STEP (MD5_H , c, d, a, b, w2_t[3], MD5C22, MD5S22);
181 MD5_STEP (MD5_H , b, c, d, a, w3_t[2], MD5C23, MD5S23);
182 MD5_STEP (MD5_H , a, b, c, d, w0_t[1], MD5C24, MD5S20);
183 MD5_STEP (MD5_H , d, a, b, c, w1_t[0], MD5C25, MD5S21);
184 MD5_STEP (MD5_H , c, d, a, b, w1_t[3], MD5C26, MD5S22);
185 MD5_STEP (MD5_H , b, c, d, a, w2_t[2], MD5C27, MD5S23);
186 MD5_STEP (MD5_H , a, b, c, d, w3_t[1], MD5C28, MD5S20);
187 MD5_STEP (MD5_H , d, a, b, c, w0_t[0], MD5C29, MD5S21);
188 MD5_STEP (MD5_H , c, d, a, b, w0_t[3], MD5C2a, MD5S22);
189 MD5_STEP (MD5_H , b, c, d, a, w1_t[2], MD5C2b, MD5S23);
190 MD5_STEP (MD5_H , a, b, c, d, w2_t[1], MD5C2c, MD5S20);
191 MD5_STEP (MD5_H , d, a, b, c, w3_t[0], MD5C2d, MD5S21);
192 MD5_STEP (MD5_H , c, d, a, b, w3_t[3], MD5C2e, MD5S22);
193 MD5_STEP (MD5_H , b, c, d, a, w0_t[2], MD5C2f, MD5S23);
195 MD5_STEP (MD5_I , a, b, c, d, w0_t[0], MD5C30, MD5S30);
196 MD5_STEP (MD5_I , d, a, b, c, w1_t[3], MD5C31, MD5S31);
197 MD5_STEP (MD5_I , c, d, a, b, w3_t[2], MD5C32, MD5S32);
198 MD5_STEP (MD5_I , b, c, d, a, w1_t[1], MD5C33, MD5S33);
199 MD5_STEP (MD5_I , a, b, c, d, w3_t[0], MD5C34, MD5S30);
200 MD5_STEP (MD5_I , d, a, b, c, w0_t[3], MD5C35, MD5S31);
201 MD5_STEP (MD5_I , c, d, a, b, w2_t[2], MD5C36, MD5S32);
202 MD5_STEP (MD5_I , b, c, d, a, w0_t[1], MD5C37, MD5S33);
203 MD5_STEP (MD5_I , a, b, c, d, w2_t[0], MD5C38, MD5S30);
204 MD5_STEP (MD5_I , d, a, b, c, w3_t[3], MD5C39, MD5S31);
205 MD5_STEP (MD5_I , c, d, a, b, w1_t[2], MD5C3a, MD5S32);
206 MD5_STEP (MD5_I , b, c, d, a, w3_t[1], MD5C3b, MD5S33);
207 MD5_STEP (MD5_I , a, b, c, d, w1_t[0], MD5C3c, MD5S30);
208 MD5_STEP (MD5_I , d, a, b, c, w2_t[3], MD5C3d, MD5S31);
209 MD5_STEP (MD5_I , c, d, a, b, w0_t[2], MD5C3e, MD5S32);
210 MD5_STEP (MD5_I , b, c, d, a, w2_t[1], MD5C3f, MD5S33);
238 w3_t[2] = pw_salt_len * 8;
241 MD5_STEP (MD5_Fo, a, b, c, d, w0_t[0], MD5C00, MD5S00);
242 MD5_STEP (MD5_Fo, d, a, b, c, w0_t[1], MD5C01, MD5S01);
243 MD5_STEP (MD5_Fo, c, d, a, b, w0_t[2], MD5C02, MD5S02);
244 MD5_STEP (MD5_Fo, b, c, d, a, w0_t[3], MD5C03, MD5S03);
245 MD5_STEP (MD5_Fo, a, b, c, d, w1_t[0], MD5C04, MD5S00);
246 MD5_STEP (MD5_Fo, d, a, b, c, w1_t[1], MD5C05, MD5S01);
247 MD5_STEP (MD5_Fo, c, d, a, b, w1_t[2], MD5C06, MD5S02);
248 MD5_STEP (MD5_Fo, b, c, d, a, w1_t[3], MD5C07, MD5S03);
249 MD5_STEP (MD5_Fo, a, b, c, d, w2_t[0], MD5C08, MD5S00);
250 MD5_STEP (MD5_Fo, d, a, b, c, w2_t[1], MD5C09, MD5S01);
251 MD5_STEP (MD5_Fo, c, d, a, b, w2_t[2], MD5C0a, MD5S02);
252 MD5_STEP (MD5_Fo, b, c, d, a, w2_t[3], MD5C0b, MD5S03);
253 MD5_STEP (MD5_Fo, a, b, c, d, w3_t[0], MD5C0c, MD5S00);
254 MD5_STEP (MD5_Fo, d, a, b, c, w3_t[1], MD5C0d, MD5S01);
255 MD5_STEP (MD5_Fo, c, d, a, b, w3_t[2], MD5C0e, MD5S02);
256 MD5_STEP (MD5_Fo, b, c, d, a, w3_t[3], MD5C0f, MD5S03);
258 MD5_STEP (MD5_Go, a, b, c, d, w0_t[1], MD5C10, MD5S10);
259 MD5_STEP (MD5_Go, d, a, b, c, w1_t[2], MD5C11, MD5S11);
260 MD5_STEP (MD5_Go, c, d, a, b, w2_t[3], MD5C12, MD5S12);
261 MD5_STEP (MD5_Go, b, c, d, a, w0_t[0], MD5C13, MD5S13);
262 MD5_STEP (MD5_Go, a, b, c, d, w1_t[1], MD5C14, MD5S10);
263 MD5_STEP (MD5_Go, d, a, b, c, w2_t[2], MD5C15, MD5S11);
264 MD5_STEP (MD5_Go, c, d, a, b, w3_t[3], MD5C16, MD5S12);
265 MD5_STEP (MD5_Go, b, c, d, a, w1_t[0], MD5C17, MD5S13);
266 MD5_STEP (MD5_Go, a, b, c, d, w2_t[1], MD5C18, MD5S10);
267 MD5_STEP (MD5_Go, d, a, b, c, w3_t[2], MD5C19, MD5S11);
268 MD5_STEP (MD5_Go, c, d, a, b, w0_t[3], MD5C1a, MD5S12);
269 MD5_STEP (MD5_Go, b, c, d, a, w2_t[0], MD5C1b, MD5S13);
270 MD5_STEP (MD5_Go, a, b, c, d, w3_t[1], MD5C1c, MD5S10);
271 MD5_STEP (MD5_Go, d, a, b, c, w0_t[2], MD5C1d, MD5S11);
272 MD5_STEP (MD5_Go, c, d, a, b, w1_t[3], MD5C1e, MD5S12);
273 MD5_STEP (MD5_Go, b, c, d, a, w3_t[0], MD5C1f, MD5S13);
275 MD5_STEP (MD5_H , a, b, c, d, w1_t[1], MD5C20, MD5S20);
276 MD5_STEP (MD5_H , d, a, b, c, w2_t[0], MD5C21, MD5S21);
277 MD5_STEP (MD5_H , c, d, a, b, w2_t[3], MD5C22, MD5S22);
278 MD5_STEP (MD5_H , b, c, d, a, w3_t[2], MD5C23, MD5S23);
279 MD5_STEP (MD5_H , a, b, c, d, w0_t[1], MD5C24, MD5S20);
280 MD5_STEP (MD5_H , d, a, b, c, w1_t[0], MD5C25, MD5S21);
281 MD5_STEP (MD5_H , c, d, a, b, w1_t[3], MD5C26, MD5S22);
282 MD5_STEP (MD5_H , b, c, d, a, w2_t[2], MD5C27, MD5S23);
283 MD5_STEP (MD5_H , a, b, c, d, w3_t[1], MD5C28, MD5S20);
284 MD5_STEP (MD5_H , d, a, b, c, w0_t[0], MD5C29, MD5S21);
285 MD5_STEP (MD5_H , c, d, a, b, w0_t[3], MD5C2a, MD5S22);
286 MD5_STEP (MD5_H , b, c, d, a, w1_t[2], MD5C2b, MD5S23);
287 MD5_STEP (MD5_H , a, b, c, d, w2_t[1], MD5C2c, MD5S20);
288 MD5_STEP (MD5_H , d, a, b, c, w3_t[0], MD5C2d, MD5S21);
289 MD5_STEP (MD5_H , c, d, a, b, w3_t[3], MD5C2e, MD5S22);
290 MD5_STEP (MD5_H , b, c, d, a, w0_t[2], MD5C2f, MD5S23);
292 MD5_STEP (MD5_I , a, b, c, d, w0_t[0], MD5C30, MD5S30);
293 MD5_STEP (MD5_I , d, a, b, c, w1_t[3], MD5C31, MD5S31);
294 MD5_STEP (MD5_I , c, d, a, b, w3_t[2], MD5C32, MD5S32);
295 MD5_STEP (MD5_I , b, c, d, a, w1_t[1], MD5C33, MD5S33);
296 MD5_STEP (MD5_I , a, b, c, d, w3_t[0], MD5C34, MD5S30);
297 MD5_STEP (MD5_I , d, a, b, c, w0_t[3], MD5C35, MD5S31);
298 MD5_STEP (MD5_I , c, d, a, b, w2_t[2], MD5C36, MD5S32);
299 MD5_STEP (MD5_I , b, c, d, a, w0_t[1], MD5C37, MD5S33);
300 MD5_STEP (MD5_I , a, b, c, d, w2_t[0], MD5C38, MD5S30);
301 MD5_STEP (MD5_I , d, a, b, c, w3_t[3], MD5C39, MD5S31);
302 MD5_STEP (MD5_I , c, d, a, b, w1_t[2], MD5C3a, MD5S32);
303 MD5_STEP (MD5_I , b, c, d, a, w3_t[1], MD5C3b, MD5S33);
304 MD5_STEP (MD5_I , a, b, c, d, w1_t[0], MD5C3c, MD5S30);
305 MD5_STEP (MD5_I , d, a, b, c, w2_t[3], MD5C3d, MD5S31);
306 MD5_STEP (MD5_I , c, d, a, b, w0_t[2], MD5C3e, MD5S32);
307 MD5_STEP (MD5_I , b, c, d, a, w2_t[1], MD5C3f, MD5S33);
319 #include VECT_COMPARE_M
323 static void m11000s (u32x w0[4], u32x w1[4], u32x w2[4], u32x w3[4], const u32 pw_len, __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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset)
329 const u32 gid = get_global_id (0);
330 const u32 lid = get_local_id (0);
336 const u32 search[4] =
338 digests_buf[digests_offset].digest_buf[DGST_R0],
339 digests_buf[digests_offset].digest_buf[DGST_R1],
340 digests_buf[digests_offset].digest_buf[DGST_R2],
341 digests_buf[digests_offset].digest_buf[DGST_R3]
350 salt_buf0[0] = salt_bufs[salt_pos].salt_buf[ 0];
351 salt_buf0[1] = salt_bufs[salt_pos].salt_buf[ 1];
352 salt_buf0[2] = salt_bufs[salt_pos].salt_buf[ 2];
353 salt_buf0[3] = salt_bufs[salt_pos].salt_buf[ 3];
357 salt_buf1[0] = salt_bufs[salt_pos].salt_buf[ 4];
358 salt_buf1[1] = salt_bufs[salt_pos].salt_buf[ 5];
359 salt_buf1[2] = salt_bufs[salt_pos].salt_buf[ 6];
360 salt_buf1[3] = salt_bufs[salt_pos].salt_buf[ 7];
364 salt_buf2[0] = salt_bufs[salt_pos].salt_buf[ 8];
365 salt_buf2[1] = salt_bufs[salt_pos].salt_buf[ 9];
366 salt_buf2[2] = salt_bufs[salt_pos].salt_buf[10];
367 salt_buf2[3] = salt_bufs[salt_pos].salt_buf[11];
371 salt_buf3[0] = salt_bufs[salt_pos].salt_buf[12];
372 salt_buf3[1] = salt_bufs[salt_pos].salt_buf[13];
374 const u32 salt_len = salt_bufs[salt_pos].salt_len;
376 const u32 pw_salt_len = pw_len + salt_len;
384 for (u32 il_pos = 0; il_pos < bfs_cnt; il_pos++)
386 const u32 w0r = bfs_buf[il_pos].i;
394 // first step fixed 56 bytes of salt
401 w0_t[0] = salt_buf0[0];
402 w0_t[1] = salt_buf0[1];
403 w0_t[2] = salt_buf0[2];
404 w0_t[3] = salt_buf0[3];
405 w1_t[0] = salt_buf1[0];
406 w1_t[1] = salt_buf1[1];
407 w1_t[2] = salt_buf1[2];
408 w1_t[3] = salt_buf1[3];
409 w2_t[0] = salt_buf2[0];
410 w2_t[1] = salt_buf2[1];
411 w2_t[2] = salt_buf2[2];
412 w2_t[3] = salt_buf2[3];
413 w3_t[0] = salt_buf3[0];
414 w3_t[1] = salt_buf3[1];
416 // after 56 byte salt, we have beginning of the password
432 MD5_STEP (MD5_Fo, a, b, c, d, w0_t[0], MD5C00, MD5S00);
433 MD5_STEP (MD5_Fo, d, a, b, c, w0_t[1], MD5C01, MD5S01);
434 MD5_STEP (MD5_Fo, c, d, a, b, w0_t[2], MD5C02, MD5S02);
435 MD5_STEP (MD5_Fo, b, c, d, a, w0_t[3], MD5C03, MD5S03);
436 MD5_STEP (MD5_Fo, a, b, c, d, w1_t[0], MD5C04, MD5S00);
437 MD5_STEP (MD5_Fo, d, a, b, c, w1_t[1], MD5C05, MD5S01);
438 MD5_STEP (MD5_Fo, c, d, a, b, w1_t[2], MD5C06, MD5S02);
439 MD5_STEP (MD5_Fo, b, c, d, a, w1_t[3], MD5C07, MD5S03);
440 MD5_STEP (MD5_Fo, a, b, c, d, w2_t[0], MD5C08, MD5S00);
441 MD5_STEP (MD5_Fo, d, a, b, c, w2_t[1], MD5C09, MD5S01);
442 MD5_STEP (MD5_Fo, c, d, a, b, w2_t[2], MD5C0a, MD5S02);
443 MD5_STEP (MD5_Fo, b, c, d, a, w2_t[3], MD5C0b, MD5S03);
444 MD5_STEP (MD5_Fo, a, b, c, d, w3_t[0], MD5C0c, MD5S00);
445 MD5_STEP (MD5_Fo, d, a, b, c, w3_t[1], MD5C0d, MD5S01);
446 MD5_STEP (MD5_Fo, c, d, a, b, w3_t[2], MD5C0e, MD5S02);
447 MD5_STEP (MD5_Fo, b, c, d, a, w3_t[3], MD5C0f, MD5S03);
449 MD5_STEP (MD5_Go, a, b, c, d, w0_t[1], MD5C10, MD5S10);
450 MD5_STEP (MD5_Go, d, a, b, c, w1_t[2], MD5C11, MD5S11);
451 MD5_STEP (MD5_Go, c, d, a, b, w2_t[3], MD5C12, MD5S12);
452 MD5_STEP (MD5_Go, b, c, d, a, w0_t[0], MD5C13, MD5S13);
453 MD5_STEP (MD5_Go, a, b, c, d, w1_t[1], MD5C14, MD5S10);
454 MD5_STEP (MD5_Go, d, a, b, c, w2_t[2], MD5C15, MD5S11);
455 MD5_STEP (MD5_Go, c, d, a, b, w3_t[3], MD5C16, MD5S12);
456 MD5_STEP (MD5_Go, b, c, d, a, w1_t[0], MD5C17, MD5S13);
457 MD5_STEP (MD5_Go, a, b, c, d, w2_t[1], MD5C18, MD5S10);
458 MD5_STEP (MD5_Go, d, a, b, c, w3_t[2], MD5C19, MD5S11);
459 MD5_STEP (MD5_Go, c, d, a, b, w0_t[3], MD5C1a, MD5S12);
460 MD5_STEP (MD5_Go, b, c, d, a, w2_t[0], MD5C1b, MD5S13);
461 MD5_STEP (MD5_Go, a, b, c, d, w3_t[1], MD5C1c, MD5S10);
462 MD5_STEP (MD5_Go, d, a, b, c, w0_t[2], MD5C1d, MD5S11);
463 MD5_STEP (MD5_Go, c, d, a, b, w1_t[3], MD5C1e, MD5S12);
464 MD5_STEP (MD5_Go, b, c, d, a, w3_t[0], MD5C1f, MD5S13);
466 MD5_STEP (MD5_H , a, b, c, d, w1_t[1], MD5C20, MD5S20);
467 MD5_STEP (MD5_H , d, a, b, c, w2_t[0], MD5C21, MD5S21);
468 MD5_STEP (MD5_H , c, d, a, b, w2_t[3], MD5C22, MD5S22);
469 MD5_STEP (MD5_H , b, c, d, a, w3_t[2], MD5C23, MD5S23);
470 MD5_STEP (MD5_H , a, b, c, d, w0_t[1], MD5C24, MD5S20);
471 MD5_STEP (MD5_H , d, a, b, c, w1_t[0], MD5C25, MD5S21);
472 MD5_STEP (MD5_H , c, d, a, b, w1_t[3], MD5C26, MD5S22);
473 MD5_STEP (MD5_H , b, c, d, a, w2_t[2], MD5C27, MD5S23);
474 MD5_STEP (MD5_H , a, b, c, d, w3_t[1], MD5C28, MD5S20);
475 MD5_STEP (MD5_H , d, a, b, c, w0_t[0], MD5C29, MD5S21);
476 MD5_STEP (MD5_H , c, d, a, b, w0_t[3], MD5C2a, MD5S22);
477 MD5_STEP (MD5_H , b, c, d, a, w1_t[2], MD5C2b, MD5S23);
478 MD5_STEP (MD5_H , a, b, c, d, w2_t[1], MD5C2c, MD5S20);
479 MD5_STEP (MD5_H , d, a, b, c, w3_t[0], MD5C2d, MD5S21);
480 MD5_STEP (MD5_H , c, d, a, b, w3_t[3], MD5C2e, MD5S22);
481 MD5_STEP (MD5_H , b, c, d, a, w0_t[2], MD5C2f, MD5S23);
483 MD5_STEP (MD5_I , a, b, c, d, w0_t[0], MD5C30, MD5S30);
484 MD5_STEP (MD5_I , d, a, b, c, w1_t[3], MD5C31, MD5S31);
485 MD5_STEP (MD5_I , c, d, a, b, w3_t[2], MD5C32, MD5S32);
486 MD5_STEP (MD5_I , b, c, d, a, w1_t[1], MD5C33, MD5S33);
487 MD5_STEP (MD5_I , a, b, c, d, w3_t[0], MD5C34, MD5S30);
488 MD5_STEP (MD5_I , d, a, b, c, w0_t[3], MD5C35, MD5S31);
489 MD5_STEP (MD5_I , c, d, a, b, w2_t[2], MD5C36, MD5S32);
490 MD5_STEP (MD5_I , b, c, d, a, w0_t[1], MD5C37, MD5S33);
491 MD5_STEP (MD5_I , a, b, c, d, w2_t[0], MD5C38, MD5S30);
492 MD5_STEP (MD5_I , d, a, b, c, w3_t[3], MD5C39, MD5S31);
493 MD5_STEP (MD5_I , c, d, a, b, w1_t[2], MD5C3a, MD5S32);
494 MD5_STEP (MD5_I , b, c, d, a, w3_t[1], MD5C3b, MD5S33);
495 MD5_STEP (MD5_I , a, b, c, d, w1_t[0], MD5C3c, MD5S30);
496 MD5_STEP (MD5_I , d, a, b, c, w2_t[3], MD5C3d, MD5S31);
497 MD5_STEP (MD5_I , c, d, a, b, w0_t[2], MD5C3e, MD5S32);
498 MD5_STEP (MD5_I , b, c, d, a, w2_t[1], MD5C3f, MD5S33);
526 w3_t[2] = pw_salt_len * 8;
529 MD5_STEP (MD5_Fo, a, b, c, d, w0_t[0], MD5C00, MD5S00);
530 MD5_STEP (MD5_Fo, d, a, b, c, w0_t[1], MD5C01, MD5S01);
531 MD5_STEP (MD5_Fo, c, d, a, b, w0_t[2], MD5C02, MD5S02);
532 MD5_STEP (MD5_Fo, b, c, d, a, w0_t[3], MD5C03, MD5S03);
533 MD5_STEP (MD5_Fo, a, b, c, d, w1_t[0], MD5C04, MD5S00);
534 MD5_STEP (MD5_Fo, d, a, b, c, w1_t[1], MD5C05, MD5S01);
535 MD5_STEP (MD5_Fo, c, d, a, b, w1_t[2], MD5C06, MD5S02);
536 MD5_STEP (MD5_Fo, b, c, d, a, w1_t[3], MD5C07, MD5S03);
537 MD5_STEP (MD5_Fo, a, b, c, d, w2_t[0], MD5C08, MD5S00);
538 MD5_STEP (MD5_Fo, d, a, b, c, w2_t[1], MD5C09, MD5S01);
539 MD5_STEP (MD5_Fo, c, d, a, b, w2_t[2], MD5C0a, MD5S02);
540 MD5_STEP (MD5_Fo, b, c, d, a, w2_t[3], MD5C0b, MD5S03);
541 MD5_STEP (MD5_Fo, a, b, c, d, w3_t[0], MD5C0c, MD5S00);
542 MD5_STEP (MD5_Fo, d, a, b, c, w3_t[1], MD5C0d, MD5S01);
543 MD5_STEP (MD5_Fo, c, d, a, b, w3_t[2], MD5C0e, MD5S02);
544 MD5_STEP (MD5_Fo, b, c, d, a, w3_t[3], MD5C0f, MD5S03);
546 MD5_STEP (MD5_Go, a, b, c, d, w0_t[1], MD5C10, MD5S10);
547 MD5_STEP (MD5_Go, d, a, b, c, w1_t[2], MD5C11, MD5S11);
548 MD5_STEP (MD5_Go, c, d, a, b, w2_t[3], MD5C12, MD5S12);
549 MD5_STEP (MD5_Go, b, c, d, a, w0_t[0], MD5C13, MD5S13);
550 MD5_STEP (MD5_Go, a, b, c, d, w1_t[1], MD5C14, MD5S10);
551 MD5_STEP (MD5_Go, d, a, b, c, w2_t[2], MD5C15, MD5S11);
552 MD5_STEP (MD5_Go, c, d, a, b, w3_t[3], MD5C16, MD5S12);
553 MD5_STEP (MD5_Go, b, c, d, a, w1_t[0], MD5C17, MD5S13);
554 MD5_STEP (MD5_Go, a, b, c, d, w2_t[1], MD5C18, MD5S10);
555 MD5_STEP (MD5_Go, d, a, b, c, w3_t[2], MD5C19, MD5S11);
556 MD5_STEP (MD5_Go, c, d, a, b, w0_t[3], MD5C1a, MD5S12);
557 MD5_STEP (MD5_Go, b, c, d, a, w2_t[0], MD5C1b, MD5S13);
558 MD5_STEP (MD5_Go, a, b, c, d, w3_t[1], MD5C1c, MD5S10);
559 MD5_STEP (MD5_Go, d, a, b, c, w0_t[2], MD5C1d, MD5S11);
560 MD5_STEP (MD5_Go, c, d, a, b, w1_t[3], MD5C1e, MD5S12);
561 MD5_STEP (MD5_Go, b, c, d, a, w3_t[0], MD5C1f, MD5S13);
563 MD5_STEP (MD5_H , a, b, c, d, w1_t[1], MD5C20, MD5S20);
564 MD5_STEP (MD5_H , d, a, b, c, w2_t[0], MD5C21, MD5S21);
565 MD5_STEP (MD5_H , c, d, a, b, w2_t[3], MD5C22, MD5S22);
566 MD5_STEP (MD5_H , b, c, d, a, w3_t[2], MD5C23, MD5S23);
567 MD5_STEP (MD5_H , a, b, c, d, w0_t[1], MD5C24, MD5S20);
568 MD5_STEP (MD5_H , d, a, b, c, w1_t[0], MD5C25, MD5S21);
569 MD5_STEP (MD5_H , c, d, a, b, w1_t[3], MD5C26, MD5S22);
570 MD5_STEP (MD5_H , b, c, d, a, w2_t[2], MD5C27, MD5S23);
571 MD5_STEP (MD5_H , a, b, c, d, w3_t[1], MD5C28, MD5S20);
572 MD5_STEP (MD5_H , d, a, b, c, w0_t[0], MD5C29, MD5S21);
573 MD5_STEP (MD5_H , c, d, a, b, w0_t[3], MD5C2a, MD5S22);
574 MD5_STEP (MD5_H , b, c, d, a, w1_t[2], MD5C2b, MD5S23);
575 MD5_STEP (MD5_H , a, b, c, d, w2_t[1], MD5C2c, MD5S20);
576 MD5_STEP (MD5_H , d, a, b, c, w3_t[0], MD5C2d, MD5S21);
577 MD5_STEP (MD5_H , c, d, a, b, w3_t[3], MD5C2e, MD5S22);
578 MD5_STEP (MD5_H , b, c, d, a, w0_t[2], MD5C2f, MD5S23);
580 MD5_STEP (MD5_I , a, b, c, d, w0_t[0], MD5C30, MD5S30);
581 MD5_STEP (MD5_I , d, a, b, c, w1_t[3], MD5C31, MD5S31);
582 MD5_STEP (MD5_I , c, d, a, b, w3_t[2], MD5C32, MD5S32);
583 MD5_STEP (MD5_I , b, c, d, a, w1_t[1], MD5C33, MD5S33);
584 MD5_STEP (MD5_I , a, b, c, d, w3_t[0], MD5C34, MD5S30);
585 MD5_STEP (MD5_I , d, a, b, c, w0_t[3], MD5C35, MD5S31);
586 MD5_STEP (MD5_I , c, d, a, b, w2_t[2], MD5C36, MD5S32);
587 MD5_STEP (MD5_I , b, c, d, a, w0_t[1], MD5C37, MD5S33);
588 MD5_STEP (MD5_I , a, b, c, d, w2_t[0], MD5C38, MD5S30);
589 MD5_STEP (MD5_I , d, a, b, c, w3_t[3], MD5C39, MD5S31);
590 MD5_STEP (MD5_I , c, d, a, b, w1_t[2], MD5C3a, MD5S32);
591 MD5_STEP (MD5_I , b, c, d, a, w3_t[1], MD5C3b, MD5S33);
592 MD5_STEP (MD5_I , a, b, c, d, w1_t[0], MD5C3c, MD5S30);
593 MD5_STEP (MD5_I , d, a, b, c, w2_t[3], MD5C3d, MD5S31);
594 MD5_STEP (MD5_I , c, d, a, b, w0_t[2], MD5C3e, MD5S32);
595 MD5_STEP (MD5_I , b, c, d, a, w2_t[1], MD5C3f, MD5S33);
607 #include VECT_COMPARE_S
611 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m11000_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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
617 const u32 gid = get_global_id (0);
619 if (gid >= gid_max) return;
623 w0[0] = pws[gid].i[ 0];
624 w0[1] = pws[gid].i[ 1];
625 w0[2] = pws[gid].i[ 2];
626 w0[3] = pws[gid].i[ 3];
649 const u32 pw_len = pws[gid].pw_len;
655 m11000m (w0, w1, w2, w3, pw_len, pws, rules_buf, combs_buf, bfs_buf, 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);
658 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m11000_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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
664 const u32 gid = get_global_id (0);
666 if (gid >= gid_max) return;
670 w0[0] = pws[gid].i[ 0];
671 w0[1] = pws[gid].i[ 1];
672 w0[2] = pws[gid].i[ 2];
673 w0[3] = pws[gid].i[ 3];
677 w1[0] = pws[gid].i[ 4];
678 w1[1] = pws[gid].i[ 5];
679 w1[2] = pws[gid].i[ 6];
680 w1[3] = pws[gid].i[ 7];
696 const u32 pw_len = pws[gid].pw_len;
702 m11000m (w0, w1, w2, w3, pw_len, pws, rules_buf, combs_buf, bfs_buf, 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);
705 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m11000_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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
711 const u32 gid = get_global_id (0);
713 if (gid >= gid_max) return;
717 w0[0] = pws[gid].i[ 0];
718 w0[1] = pws[gid].i[ 1];
719 w0[2] = pws[gid].i[ 2];
720 w0[3] = pws[gid].i[ 3];
724 w1[0] = pws[gid].i[ 4];
725 w1[1] = pws[gid].i[ 5];
726 w1[2] = pws[gid].i[ 6];
727 w1[3] = pws[gid].i[ 7];
731 w2[0] = pws[gid].i[ 8];
732 w2[1] = pws[gid].i[ 9];
733 w2[2] = pws[gid].i[10];
734 w2[3] = pws[gid].i[11];
738 w3[0] = pws[gid].i[12];
739 w3[1] = pws[gid].i[13];
743 const u32 pw_len = pws[gid].pw_len;
749 m11000m (w0, w1, w2, w3, pw_len, pws, rules_buf, combs_buf, bfs_buf, 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);
752 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m11000_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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
758 const u32 gid = get_global_id (0);
760 if (gid >= gid_max) return;
764 w0[0] = pws[gid].i[ 0];
765 w0[1] = pws[gid].i[ 1];
766 w0[2] = pws[gid].i[ 2];
767 w0[3] = pws[gid].i[ 3];
790 const u32 pw_len = pws[gid].pw_len;
796 m11000s (w0, w1, w2, w3, pw_len, pws, rules_buf, combs_buf, bfs_buf, 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);
799 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m11000_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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
805 const u32 gid = get_global_id (0);
807 if (gid >= gid_max) return;
811 w0[0] = pws[gid].i[ 0];
812 w0[1] = pws[gid].i[ 1];
813 w0[2] = pws[gid].i[ 2];
814 w0[3] = pws[gid].i[ 3];
818 w1[0] = pws[gid].i[ 4];
819 w1[1] = pws[gid].i[ 5];
820 w1[2] = pws[gid].i[ 6];
821 w1[3] = pws[gid].i[ 7];
837 const u32 pw_len = pws[gid].pw_len;
843 m11000s (w0, w1, w2, w3, pw_len, pws, rules_buf, combs_buf, bfs_buf, 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);
846 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m11000_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 bfs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
852 const u32 gid = get_global_id (0);
854 if (gid >= gid_max) return;
858 w0[0] = pws[gid].i[ 0];
859 w0[1] = pws[gid].i[ 1];
860 w0[2] = pws[gid].i[ 2];
861 w0[3] = pws[gid].i[ 3];
865 w1[0] = pws[gid].i[ 4];
866 w1[1] = pws[gid].i[ 5];
867 w1[2] = pws[gid].i[ 6];
868 w1[3] = pws[gid].i[ 7];
872 w2[0] = pws[gid].i[ 8];
873 w2[1] = pws[gid].i[ 9];
874 w2[2] = pws[gid].i[10];
875 w2[3] = pws[gid].i[11];
879 w3[0] = pws[gid].i[12];
880 w3[1] = pws[gid].i[13];
884 const u32 pw_len = pws[gid].pw_len;
890 m11000s (w0, w1, w2, w3, pw_len, pws, rules_buf, combs_buf, bfs_buf, 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);