Add mangling code
[hashcat.git] / OpenCL / m00000_a0_m.cl
1 /**
2  * Author......: Jens Steube <jens.steube@gmail.com>
3  * License.....: MIT
4  */
5
6 #define _MD5_
7
8 #define NEW_SIMD_CODE
9
10 #include "inc_vendor.cl"
11 #include "inc_hash_constants.h"
12 #include "inc_hash_functions.cl"
13 #include "inc_types.cl"
14 #include "inc_common.cl"
15 #include "inc_rp.h"
16 #include "inc_rp.cl"
17 #include "inc_simd.cl"
18 #include "mangle.cl"
19
20 __kernel void m00000_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_scryptV0_buf, __global u32 *d_scryptV1_buf, __global u32 *d_scryptV2_buf, __global u32 *d_scryptV3_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 il_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
21 {
22   /**
23    * modifier
24    */
25
26   const u32 lid = get_local_id (0);
27
28   /**
29    * base
30    */
31
32   const u32 gid = get_global_id (0);
33
34   if (gid >= gid_max) return;
35
36   u32 pw_buf0[4];
37   u32 pw_buf1[4];
38
39   pw_buf0[0] = pws[gid].i[0];
40   pw_buf0[1] = pws[gid].i[1];
41   pw_buf0[2] = pws[gid].i[2];
42   pw_buf0[3] = pws[gid].i[3];
43   pw_buf1[0] = pws[gid].i[4];
44   pw_buf1[1] = pws[gid].i[5];
45   pw_buf1[2] = pws[gid].i[6];
46   pw_buf1[3] = pws[gid].i[7];
47
48   const u32 pw_len = pws[gid].pw_len;
49
50   /**
51    * loop
52    */
53
54   for (u32 il_pos = 0; il_pos < il_cnt; il_pos += VECT_SIZE)
55   {
56     u32x w0[4] = { 0 };
57     u32x w1[4] = { 0 };
58     u32x w2[4] = { 0 };
59     u32x w3[4] = { 0 };
60
61     u32x out_len = apply_rules_vect (pw_buf0, pw_buf1, pw_len, rules_buf, il_pos, w0, w1);
62
63     out_len = mangle(w0, w1, out_len);
64
65     append_0x80_2x4_VV (w0, w1, out_len);
66
67     w3[2] = out_len * 8;
68     w3[3] = 0;
69
70     u32x a = MD5M_A;
71     u32x b = MD5M_B;
72     u32x c = MD5M_C;
73     u32x d = MD5M_D;
74
75     MD5_STEP (MD5_Fo, a, b, c, d, w0[0], MD5C00, MD5S00);
76     MD5_STEP (MD5_Fo, d, a, b, c, w0[1], MD5C01, MD5S01);
77     MD5_STEP (MD5_Fo, c, d, a, b, w0[2], MD5C02, MD5S02);
78     MD5_STEP (MD5_Fo, b, c, d, a, w0[3], MD5C03, MD5S03);
79     MD5_STEP (MD5_Fo, a, b, c, d, w1[0], MD5C04, MD5S00);
80     MD5_STEP (MD5_Fo, d, a, b, c, w1[1], MD5C05, MD5S01);
81     MD5_STEP (MD5_Fo, c, d, a, b, w1[2], MD5C06, MD5S02);
82     MD5_STEP (MD5_Fo, b, c, d, a, w1[3], MD5C07, MD5S03);
83     MD5_STEP (MD5_Fo, a, b, c, d, w2[0], MD5C08, MD5S00);
84     MD5_STEP (MD5_Fo, d, a, b, c, w2[1], MD5C09, MD5S01);
85     MD5_STEP (MD5_Fo, c, d, a, b, w2[2], MD5C0a, MD5S02);
86     MD5_STEP (MD5_Fo, b, c, d, a, w2[3], MD5C0b, MD5S03);
87     MD5_STEP (MD5_Fo, a, b, c, d, w3[0], MD5C0c, MD5S00);
88     MD5_STEP (MD5_Fo, d, a, b, c, w3[1], MD5C0d, MD5S01);
89     MD5_STEP (MD5_Fo, c, d, a, b, w3[2], MD5C0e, MD5S02);
90     MD5_STEP (MD5_Fo, b, c, d, a, w3[3], MD5C0f, MD5S03);
91
92     MD5_STEP (MD5_Go, a, b, c, d, w0[1], MD5C10, MD5S10);
93     MD5_STEP (MD5_Go, d, a, b, c, w1[2], MD5C11, MD5S11);
94     MD5_STEP (MD5_Go, c, d, a, b, w2[3], MD5C12, MD5S12);
95     MD5_STEP (MD5_Go, b, c, d, a, w0[0], MD5C13, MD5S13);
96     MD5_STEP (MD5_Go, a, b, c, d, w1[1], MD5C14, MD5S10);
97     MD5_STEP (MD5_Go, d, a, b, c, w2[2], MD5C15, MD5S11);
98     MD5_STEP (MD5_Go, c, d, a, b, w3[3], MD5C16, MD5S12);
99     MD5_STEP (MD5_Go, b, c, d, a, w1[0], MD5C17, MD5S13);
100     MD5_STEP (MD5_Go, a, b, c, d, w2[1], MD5C18, MD5S10);
101     MD5_STEP (MD5_Go, d, a, b, c, w3[2], MD5C19, MD5S11);
102     MD5_STEP (MD5_Go, c, d, a, b, w0[3], MD5C1a, MD5S12);
103     MD5_STEP (MD5_Go, b, c, d, a, w2[0], MD5C1b, MD5S13);
104     MD5_STEP (MD5_Go, a, b, c, d, w3[1], MD5C1c, MD5S10);
105     MD5_STEP (MD5_Go, d, a, b, c, w0[2], MD5C1d, MD5S11);
106     MD5_STEP (MD5_Go, c, d, a, b, w1[3], MD5C1e, MD5S12);
107     MD5_STEP (MD5_Go, b, c, d, a, w3[0], MD5C1f, MD5S13);
108
109     MD5_STEP (MD5_H , a, b, c, d, w1[1], MD5C20, MD5S20);
110     MD5_STEP (MD5_H , d, a, b, c, w2[0], MD5C21, MD5S21);
111     MD5_STEP (MD5_H , c, d, a, b, w2[3], MD5C22, MD5S22);
112     MD5_STEP (MD5_H , b, c, d, a, w3[2], MD5C23, MD5S23);
113     MD5_STEP (MD5_H , a, b, c, d, w0[1], MD5C24, MD5S20);
114     MD5_STEP (MD5_H , d, a, b, c, w1[0], MD5C25, MD5S21);
115     MD5_STEP (MD5_H , c, d, a, b, w1[3], MD5C26, MD5S22);
116     MD5_STEP (MD5_H , b, c, d, a, w2[2], MD5C27, MD5S23);
117     MD5_STEP (MD5_H , a, b, c, d, w3[1], MD5C28, MD5S20);
118     MD5_STEP (MD5_H , d, a, b, c, w0[0], MD5C29, MD5S21);
119     MD5_STEP (MD5_H , c, d, a, b, w0[3], MD5C2a, MD5S22);
120     MD5_STEP (MD5_H , b, c, d, a, w1[2], MD5C2b, MD5S23);
121     MD5_STEP (MD5_H , a, b, c, d, w2[1], MD5C2c, MD5S20);
122     MD5_STEP (MD5_H , d, a, b, c, w3[0], MD5C2d, MD5S21);
123     MD5_STEP (MD5_H , c, d, a, b, w3[3], MD5C2e, MD5S22);
124     MD5_STEP (MD5_H , b, c, d, a, w0[2], MD5C2f, MD5S23);
125
126     MD5_STEP (MD5_I , a, b, c, d, w0[0], MD5C30, MD5S30);
127     MD5_STEP (MD5_I , d, a, b, c, w1[3], MD5C31, MD5S31);
128     MD5_STEP (MD5_I , c, d, a, b, w3[2], MD5C32, MD5S32);
129     MD5_STEP (MD5_I , b, c, d, a, w1[1], MD5C33, MD5S33);
130     MD5_STEP (MD5_I , a, b, c, d, w3[0], MD5C34, MD5S30);
131     MD5_STEP (MD5_I , d, a, b, c, w0[3], MD5C35, MD5S31);
132     MD5_STEP (MD5_I , c, d, a, b, w2[2], MD5C36, MD5S32);
133     MD5_STEP (MD5_I , b, c, d, a, w0[1], MD5C37, MD5S33);
134     MD5_STEP (MD5_I , a, b, c, d, w2[0], MD5C38, MD5S30);
135     MD5_STEP (MD5_I , d, a, b, c, w3[3], MD5C39, MD5S31);
136     MD5_STEP (MD5_I , c, d, a, b, w1[2], MD5C3a, MD5S32);
137     MD5_STEP (MD5_I , b, c, d, a, w3[1], MD5C3b, MD5S33);
138     MD5_STEP (MD5_I , a, b, c, d, w1[0], MD5C3c, MD5S30);
139     MD5_STEP (MD5_I , d, a, b, c, w2[3], MD5C3d, MD5S31);
140     MD5_STEP (MD5_I , c, d, a, b, w0[2], MD5C3e, MD5S32);
141     MD5_STEP (MD5_I , b, c, d, a, w2[1], MD5C3f, MD5S33);
142
143     COMPARE_M_SIMD (a, d, c, b);
144   }
145 }
146
147 __kernel void m00000_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_scryptV0_buf, __global u32 *d_scryptV1_buf, __global u32 *d_scryptV2_buf, __global u32 *d_scryptV3_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 il_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
148 {
149 }
150
151 __kernel void m00000_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_scryptV0_buf, __global u32 *d_scryptV1_buf, __global u32 *d_scryptV2_buf, __global u32 *d_scryptV3_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 il_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
152 {
153 }
154
155 __kernel void m00000_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_scryptV0_buf, __global u32 *d_scryptV1_buf, __global u32 *d_scryptV2_buf, __global u32 *d_scryptV3_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 il_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
156 {
157   /**
158    * modifier
159    */
160
161   const u32 lid = get_local_id (0);
162
163   /**
164    * base
165    */
166
167   const u32 gid = get_global_id (0);
168
169   if (gid >= gid_max) return;
170
171   u32 pw_buf0[4];
172   u32 pw_buf1[4];
173
174   pw_buf0[0] = pws[gid].i[0];
175   pw_buf0[1] = pws[gid].i[1];
176   pw_buf0[2] = pws[gid].i[2];
177   pw_buf0[3] = pws[gid].i[3];
178   pw_buf1[0] = pws[gid].i[4];
179   pw_buf1[1] = pws[gid].i[5];
180   pw_buf1[2] = pws[gid].i[6];
181   pw_buf1[3] = pws[gid].i[7];
182
183   const u32 pw_len = pws[gid].pw_len;
184
185   /**
186    * digest
187    */
188
189   const u32 search[4] =
190   {
191     digests_buf[digests_offset].digest_buf[DGST_R0],
192     digests_buf[digests_offset].digest_buf[DGST_R1],
193     digests_buf[digests_offset].digest_buf[DGST_R2],
194     digests_buf[digests_offset].digest_buf[DGST_R3]
195   };
196
197   /**
198    * loop
199    */
200
201   for (u32 il_pos = 0; il_pos < il_cnt; il_pos += VECT_SIZE)
202   {
203     u32x w0[4] = { 0 };
204     u32x w1[4] = { 0 };
205     u32x w2[4] = { 0 };
206     u32x w3[4] = { 0 };
207
208     u32x out_len = apply_rules_vect (pw_buf0, pw_buf1, pw_len, rules_buf, il_pos, w0, w1);
209
210     out_len = mangle(w0, w1, out_len);
211
212     append_0x80_2x4_VV (w0, w1, out_len);
213
214     w3[2] = out_len * 8;
215     w3[3] = 0;
216
217     u32x a = MD5M_A;
218     u32x b = MD5M_B;
219     u32x c = MD5M_C;
220     u32x d = MD5M_D;
221
222     MD5_STEP (MD5_Fo, a, b, c, d, w0[0], MD5C00, MD5S00);
223     MD5_STEP (MD5_Fo, d, a, b, c, w0[1], MD5C01, MD5S01);
224     MD5_STEP (MD5_Fo, c, d, a, b, w0[2], MD5C02, MD5S02);
225     MD5_STEP (MD5_Fo, b, c, d, a, w0[3], MD5C03, MD5S03);
226     MD5_STEP (MD5_Fo, a, b, c, d, w1[0], MD5C04, MD5S00);
227     MD5_STEP (MD5_Fo, d, a, b, c, w1[1], MD5C05, MD5S01);
228     MD5_STEP (MD5_Fo, c, d, a, b, w1[2], MD5C06, MD5S02);
229     MD5_STEP (MD5_Fo, b, c, d, a, w1[3], MD5C07, MD5S03);
230     MD5_STEP (MD5_Fo, a, b, c, d, w2[0], MD5C08, MD5S00);
231     MD5_STEP (MD5_Fo, d, a, b, c, w2[1], MD5C09, MD5S01);
232     MD5_STEP (MD5_Fo, c, d, a, b, w2[2], MD5C0a, MD5S02);
233     MD5_STEP (MD5_Fo, b, c, d, a, w2[3], MD5C0b, MD5S03);
234     MD5_STEP (MD5_Fo, a, b, c, d, w3[0], MD5C0c, MD5S00);
235     MD5_STEP (MD5_Fo, d, a, b, c, w3[1], MD5C0d, MD5S01);
236     MD5_STEP (MD5_Fo, c, d, a, b, w3[2], MD5C0e, MD5S02);
237     MD5_STEP (MD5_Fo, b, c, d, a, w3[3], MD5C0f, MD5S03);
238
239     MD5_STEP (MD5_Go, a, b, c, d, w0[1], MD5C10, MD5S10);
240     MD5_STEP (MD5_Go, d, a, b, c, w1[2], MD5C11, MD5S11);
241     MD5_STEP (MD5_Go, c, d, a, b, w2[3], MD5C12, MD5S12);
242     MD5_STEP (MD5_Go, b, c, d, a, w0[0], MD5C13, MD5S13);
243     MD5_STEP (MD5_Go, a, b, c, d, w1[1], MD5C14, MD5S10);
244     MD5_STEP (MD5_Go, d, a, b, c, w2[2], MD5C15, MD5S11);
245     MD5_STEP (MD5_Go, c, d, a, b, w3[3], MD5C16, MD5S12);
246     MD5_STEP (MD5_Go, b, c, d, a, w1[0], MD5C17, MD5S13);
247     MD5_STEP (MD5_Go, a, b, c, d, w2[1], MD5C18, MD5S10);
248     MD5_STEP (MD5_Go, d, a, b, c, w3[2], MD5C19, MD5S11);
249     MD5_STEP (MD5_Go, c, d, a, b, w0[3], MD5C1a, MD5S12);
250     MD5_STEP (MD5_Go, b, c, d, a, w2[0], MD5C1b, MD5S13);
251     MD5_STEP (MD5_Go, a, b, c, d, w3[1], MD5C1c, MD5S10);
252     MD5_STEP (MD5_Go, d, a, b, c, w0[2], MD5C1d, MD5S11);
253     MD5_STEP (MD5_Go, c, d, a, b, w1[3], MD5C1e, MD5S12);
254     MD5_STEP (MD5_Go, b, c, d, a, w3[0], MD5C1f, MD5S13);
255
256     MD5_STEP (MD5_H , a, b, c, d, w1[1], MD5C20, MD5S20);
257     MD5_STEP (MD5_H , d, a, b, c, w2[0], MD5C21, MD5S21);
258     MD5_STEP (MD5_H , c, d, a, b, w2[3], MD5C22, MD5S22);
259     MD5_STEP (MD5_H , b, c, d, a, w3[2], MD5C23, MD5S23);
260     MD5_STEP (MD5_H , a, b, c, d, w0[1], MD5C24, MD5S20);
261     MD5_STEP (MD5_H , d, a, b, c, w1[0], MD5C25, MD5S21);
262     MD5_STEP (MD5_H , c, d, a, b, w1[3], MD5C26, MD5S22);
263     MD5_STEP (MD5_H , b, c, d, a, w2[2], MD5C27, MD5S23);
264     MD5_STEP (MD5_H , a, b, c, d, w3[1], MD5C28, MD5S20);
265     MD5_STEP (MD5_H , d, a, b, c, w0[0], MD5C29, MD5S21);
266     MD5_STEP (MD5_H , c, d, a, b, w0[3], MD5C2a, MD5S22);
267     MD5_STEP (MD5_H , b, c, d, a, w1[2], MD5C2b, MD5S23);
268     MD5_STEP (MD5_H , a, b, c, d, w2[1], MD5C2c, MD5S20);
269     MD5_STEP (MD5_H , d, a, b, c, w3[0], MD5C2d, MD5S21);
270     MD5_STEP (MD5_H , c, d, a, b, w3[3], MD5C2e, MD5S22);
271     MD5_STEP (MD5_H , b, c, d, a, w0[2], MD5C2f, MD5S23);
272
273     MD5_STEP (MD5_I , a, b, c, d, w0[0], MD5C30, MD5S30);
274     MD5_STEP (MD5_I , d, a, b, c, w1[3], MD5C31, MD5S31);
275     MD5_STEP (MD5_I , c, d, a, b, w3[2], MD5C32, MD5S32);
276     MD5_STEP (MD5_I , b, c, d, a, w1[1], MD5C33, MD5S33);
277     MD5_STEP (MD5_I , a, b, c, d, w3[0], MD5C34, MD5S30);
278     MD5_STEP (MD5_I , d, a, b, c, w0[3], MD5C35, MD5S31);
279     MD5_STEP (MD5_I , c, d, a, b, w2[2], MD5C36, MD5S32);
280     MD5_STEP (MD5_I , b, c, d, a, w0[1], MD5C37, MD5S33);
281     MD5_STEP (MD5_I , a, b, c, d, w2[0], MD5C38, MD5S30);
282     MD5_STEP (MD5_I , d, a, b, c, w3[3], MD5C39, MD5S31);
283     MD5_STEP (MD5_I , c, d, a, b, w1[2], MD5C3a, MD5S32);
284     MD5_STEP (MD5_I , b, c, d, a, w3[1], MD5C3b, MD5S33);
285     MD5_STEP (MD5_I , a, b, c, d, w1[0], MD5C3c, MD5S30);
286
287     if (MATCHES_NONE_VS (a, search[0])) continue;
288
289     MD5_STEP (MD5_I , d, a, b, c, w2[3], MD5C3d, MD5S31);
290     MD5_STEP (MD5_I , c, d, a, b, w0[2], MD5C3e, MD5S32);
291     MD5_STEP (MD5_I , b, c, d, a, w2[1], MD5C3f, MD5S33);
292
293     COMPARE_S_SIMD (a, d, c, b);
294   }
295 }
296
297 __kernel void m00000_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_scryptV0_buf, __global u32 *d_scryptV1_buf, __global u32 *d_scryptV2_buf, __global u32 *d_scryptV3_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 il_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
298 {
299 }
300
301 __kernel void m00000_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_scryptV0_buf, __global u32 *d_scryptV1_buf, __global u32 *d_scryptV2_buf, __global u32 *d_scryptV3_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 il_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
302 {
303 }