Initial commit
[hashcat.git] / amd / m08600_a0.cl
1 /**
2  * Author......: Jens Steube <jens.steube@gmail.com>
3  * License.....: MIT
4  */
5
6 #define _LOTUS5_
7
8 #include "include/constants.h"
9 #include "include/kernel_vendor.h"
10
11 #ifdef  VLIW1
12 #define VECT_SIZE1
13 #endif
14
15 #ifdef  VLIW4
16 #define VECT_SIZE4
17 #endif
18
19 #ifdef  VLIW5
20 #define VECT_SIZE4
21 #endif
22
23 #define DGST_R0 0
24 #define DGST_R1 1
25 #define DGST_R2 2
26 #define DGST_R3 3
27
28 #include "include/kernel_functions.c"
29 #include "types_amd.c"
30 #include "common_amd.c"
31 #include "include/rp_gpu.h"
32 #include "rp_amd.c"
33
34 #ifdef  VECT_SIZE1
35 #define VECT_COMPARE_S "check_single_vect1_comp4.c"
36 #define VECT_COMPARE_M "check_multi_vect1_comp4.c"
37 #endif
38
39 #ifdef  VECT_SIZE2
40 #define VECT_COMPARE_S "check_single_vect2_comp4.c"
41 #define VECT_COMPARE_M "check_multi_vect2_comp4.c"
42 #endif
43
44 #ifdef  VECT_SIZE4
45 #define VECT_COMPARE_S "check_single_vect4_comp4.c"
46 #define VECT_COMPARE_M "check_multi_vect4_comp4.c"
47 #endif
48
49 __constant u32 lotus_magic_table[256] =
50 {
51   0xbd, 0x56, 0xea, 0xf2, 0xa2, 0xf1, 0xac, 0x2a,
52   0xb0, 0x93, 0xd1, 0x9c, 0x1b, 0x33, 0xfd, 0xd0,
53   0x30, 0x04, 0xb6, 0xdc, 0x7d, 0xdf, 0x32, 0x4b,
54   0xf7, 0xcb, 0x45, 0x9b, 0x31, 0xbb, 0x21, 0x5a,
55   0x41, 0x9f, 0xe1, 0xd9, 0x4a, 0x4d, 0x9e, 0xda,
56   0xa0, 0x68, 0x2c, 0xc3, 0x27, 0x5f, 0x80, 0x36,
57   0x3e, 0xee, 0xfb, 0x95, 0x1a, 0xfe, 0xce, 0xa8,
58   0x34, 0xa9, 0x13, 0xf0, 0xa6, 0x3f, 0xd8, 0x0c,
59   0x78, 0x24, 0xaf, 0x23, 0x52, 0xc1, 0x67, 0x17,
60   0xf5, 0x66, 0x90, 0xe7, 0xe8, 0x07, 0xb8, 0x60,
61   0x48, 0xe6, 0x1e, 0x53, 0xf3, 0x92, 0xa4, 0x72,
62   0x8c, 0x08, 0x15, 0x6e, 0x86, 0x00, 0x84, 0xfa,
63   0xf4, 0x7f, 0x8a, 0x42, 0x19, 0xf6, 0xdb, 0xcd,
64   0x14, 0x8d, 0x50, 0x12, 0xba, 0x3c, 0x06, 0x4e,
65   0xec, 0xb3, 0x35, 0x11, 0xa1, 0x88, 0x8e, 0x2b,
66   0x94, 0x99, 0xb7, 0x71, 0x74, 0xd3, 0xe4, 0xbf,
67   0x3a, 0xde, 0x96, 0x0e, 0xbc, 0x0a, 0xed, 0x77,
68   0xfc, 0x37, 0x6b, 0x03, 0x79, 0x89, 0x62, 0xc6,
69   0xd7, 0xc0, 0xd2, 0x7c, 0x6a, 0x8b, 0x22, 0xa3,
70   0x5b, 0x05, 0x5d, 0x02, 0x75, 0xd5, 0x61, 0xe3,
71   0x18, 0x8f, 0x55, 0x51, 0xad, 0x1f, 0x0b, 0x5e,
72   0x85, 0xe5, 0xc2, 0x57, 0x63, 0xca, 0x3d, 0x6c,
73   0xb4, 0xc5, 0xcc, 0x70, 0xb2, 0x91, 0x59, 0x0d,
74   0x47, 0x20, 0xc8, 0x4f, 0x58, 0xe0, 0x01, 0xe2,
75   0x16, 0x38, 0xc4, 0x6f, 0x3b, 0x0f, 0x65, 0x46,
76   0xbe, 0x7e, 0x2d, 0x7b, 0x82, 0xf9, 0x40, 0xb5,
77   0x1d, 0x73, 0xf8, 0xeb, 0x26, 0xc7, 0x87, 0x97,
78   0x25, 0x54, 0xb1, 0x28, 0xaa, 0x98, 0x9d, 0xa5,
79   0x64, 0x6d, 0x7a, 0xd4, 0x10, 0x81, 0x44, 0xef,
80   0x49, 0xd6, 0xae, 0x2e, 0xdd, 0x76, 0x5c, 0x2f,
81   0xa7, 0x1c, 0xc9, 0x09, 0x69, 0x9a, 0x83, 0xcf,
82   0x29, 0x39, 0xb9, 0xe9, 0x4c, 0xff, 0x43, 0xab,
83 };
84
85 #ifdef VECT_SIZE1
86 #define BOX(S,i) u32x ((S)[(i)])
87 #endif
88
89 #ifdef VECT_SIZE2
90 #define BOX(S,i) u32x ((S)[(i).s0], (S)[(i).s1])
91 #endif
92
93 #ifdef VECT_SIZE4
94 #define BOX(S,i) u32x ((S)[(i).s0], (S)[(i).s1], (S)[(i).s2], (S)[(i).s3])
95 #endif
96
97 static void lotus_mix (u32x *in, __local u32 s_lotus_magic_table[256])
98 {
99   u32x p = 0;
100
101   for (int i = 0; i < 18; i++)
102   {
103     u32 s = 48;
104
105     #pragma unroll 12
106     for (int j = 0; j < 12; j++)
107     {
108       u32x tmp_in = in[j];
109       u32x tmp_out = 0;
110
111       p = (p + s--) & 0xff; p = ((tmp_in >>  0) & 0xff) ^ BOX (s_lotus_magic_table, p); tmp_out |= p <<  0;
112       p = (p + s--) & 0xff; p = ((tmp_in >>  8) & 0xff) ^ BOX (s_lotus_magic_table, p); tmp_out |= p <<  8;
113       p = (p + s--) & 0xff; p = ((tmp_in >> 16) & 0xff) ^ BOX (s_lotus_magic_table, p); tmp_out |= p << 16;
114       p = (p + s--) & 0xff; p = ((tmp_in >> 24) & 0xff) ^ BOX (s_lotus_magic_table, p); tmp_out |= p << 24;
115
116       in[j] = tmp_out;
117     }
118   }
119 }
120
121 static void lotus_transform_password (u32x *in, u32x *out, __local u32 s_lotus_magic_table[256])
122 {
123   u32x t = out[3] >> 24;
124
125   u32x c;
126
127   #pragma unroll 4
128   for (int i = 0; i < 4; i++)
129   {
130     t ^= (in[i] >>  0) & 0xff; c = BOX (s_lotus_magic_table, t); out[i] ^= c <<  0; t = ((out[i] >>  0) & 0xff);
131     t ^= (in[i] >>  8) & 0xff; c = BOX (s_lotus_magic_table, t); out[i] ^= c <<  8; t = ((out[i] >>  8) & 0xff);
132     t ^= (in[i] >> 16) & 0xff; c = BOX (s_lotus_magic_table, t); out[i] ^= c << 16; t = ((out[i] >> 16) & 0xff);
133     t ^= (in[i] >> 24) & 0xff; c = BOX (s_lotus_magic_table, t); out[i] ^= c << 24; t = ((out[i] >> 24) & 0xff);
134   }
135 }
136
137 static void pad (u32x w[4], const u32 len)
138 {
139   const u32 val = 16 - len;
140
141   const u32 mask1 = val << 24;
142
143   const u32 mask2 = val << 16
144                    | val << 24;
145
146   const u32 mask3 = val <<  8
147                    | val << 16
148                    | val << 24;
149
150   const u32 mask4 = val <<  0
151                    | val <<  8
152                    | val << 16
153                    | val << 24;
154
155   switch (len)
156   {
157     case  0:  w[0]  = mask4;
158               w[1]  = mask4;
159               w[2]  = mask4;
160               w[3]  = mask4;
161               break;
162     case  1:  w[0] |= mask3;
163               w[1]  = mask4;
164               w[2]  = mask4;
165               w[3]  = mask4;
166               break;
167     case  2:  w[0] |= mask2;
168               w[1]  = mask4;
169               w[2]  = mask4;
170               w[3]  = mask4;
171               break;
172     case  3:  w[0] |= mask1;
173               w[1]  = mask4;
174               w[2]  = mask4;
175               w[3]  = mask4;
176               break;
177     case  4:  w[1]  = mask4;
178               w[2]  = mask4;
179               w[3]  = mask4;
180               break;
181     case  5:  w[1] |= mask3;
182               w[2]  = mask4;
183               w[3]  = mask4;
184               break;
185     case  6:  w[1] |= mask2;
186               w[2]  = mask4;
187               w[3]  = mask4;
188               break;
189     case  7:  w[1] |= mask1;
190               w[2]  = mask4;
191               w[3]  = mask4;
192               break;
193     case  8:  w[2]  = mask4;
194               w[3]  = mask4;
195               break;
196     case  9:  w[2] |= mask3;
197               w[3]  = mask4;
198               break;
199     case 10:  w[2] |= mask2;
200               w[3]  = mask4;
201               break;
202     case 11:  w[2] |= mask1;
203               w[3]  = mask4;
204               break;
205     case 12:  w[3]  = mask4;
206               break;
207     case 13:  w[3] |= mask3;
208               break;
209     case 14:  w[3] |= mask2;
210               break;
211     case 15:  w[3] |= mask1;
212               break;
213   }
214 }
215
216 static void mdtransform_norecalc (u32x state[4], u32x block[4], __local u32 s_lotus_magic_table[256])
217 {
218         u32x x[12];
219
220   x[ 0] = state[0];
221   x[ 1] = state[1];
222   x[ 2] = state[2];
223   x[ 3] = state[3];
224   x[ 4] = block[0];
225   x[ 5] = block[1];
226   x[ 6] = block[2];
227   x[ 7] = block[3];
228   x[ 8] = state[0] ^ block[0];
229   x[ 9] = state[1] ^ block[1];
230   x[10] = state[2] ^ block[2];
231   x[11] = state[3] ^ block[3];
232
233   lotus_mix (x, s_lotus_magic_table);
234
235   state[0] = x[0];
236   state[1] = x[1];
237   state[2] = x[2];
238   state[3] = x[3];
239 }
240
241 static void mdtransform (u32x state[4], u32x checksum[4], u32x block[4], __local u32 s_lotus_magic_table[256])
242 {
243   mdtransform_norecalc (state, block, s_lotus_magic_table);
244
245   lotus_transform_password (block, checksum, s_lotus_magic_table);
246 }
247
248 static void domino_big_md (const u32x saved_key[16], const u32 size, u32x state[4], __local u32 s_lotus_magic_table[256])
249 {
250         u32x checksum[4];
251
252   checksum[0] = 0;
253   checksum[1] = 0;
254   checksum[2] = 0;
255   checksum[3] = 0;
256
257         u32x block[4];
258
259   block[0] = saved_key[0];
260   block[1] = saved_key[1];
261   block[2] = saved_key[2];
262   block[3] = saved_key[3];
263
264   mdtransform (state, checksum, block, s_lotus_magic_table);
265
266         mdtransform_norecalc (state, checksum, s_lotus_magic_table);
267 }
268
269 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m08600_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 rules_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
270 {
271   /**
272    * modifier
273    */
274
275   const u32 lid = get_local_id (0);
276
277   /**
278    * base
279    */
280
281   const u32 gid = get_global_id (0);
282
283   /**
284    * sbox
285    */
286
287   const u32 lid4 = lid * 4;
288
289   __local u32 s_lotus_magic_table[256];
290
291   s_lotus_magic_table[lid4 + 0] = lotus_magic_table[lid4 + 0];
292   s_lotus_magic_table[lid4 + 1] = lotus_magic_table[lid4 + 1];
293   s_lotus_magic_table[lid4 + 2] = lotus_magic_table[lid4 + 2];
294   s_lotus_magic_table[lid4 + 3] = lotus_magic_table[lid4 + 3];
295
296   barrier (CLK_LOCAL_MEM_FENCE);
297
298   if (gid >= gid_max) return;
299
300   u32x pw_buf0[4];
301
302   pw_buf0[0] = pws[gid].i[ 0];
303   pw_buf0[1] = pws[gid].i[ 1];
304   pw_buf0[2] = pws[gid].i[ 2];
305   pw_buf0[3] = pws[gid].i[ 3];
306
307   u32x pw_buf1[4];
308
309   pw_buf1[0] = pws[gid].i[ 4];
310   pw_buf1[1] = pws[gid].i[ 5];
311   pw_buf1[2] = pws[gid].i[ 6];
312   pw_buf1[3] = pws[gid].i[ 7];
313
314   const u32 pw_len = pws[gid].pw_len;
315
316   /**
317    * loop
318    */
319
320   for (u32 il_pos = 0; il_pos < rules_cnt; il_pos++)
321   {
322     u32x w0[4];
323
324     w0[0] = pw_buf0[0];
325     w0[1] = pw_buf0[1];
326     w0[2] = pw_buf0[2];
327     w0[3] = pw_buf0[3];
328
329     u32x w1[4];
330
331     w1[0] = pw_buf1[0];
332     w1[1] = pw_buf1[1];
333     w1[2] = pw_buf1[2];
334     w1[3] = pw_buf1[3];
335
336     u32x w2[4];
337
338     w2[0] = 0;
339     w2[1] = 0;
340     w2[2] = 0;
341     w2[3] = 0;
342
343     u32x w3[4];
344
345     w3[0] = 0;
346     w3[1] = 0;
347     w3[2] = 0;
348     w3[3] = 0;
349
350     const u32 out_len = apply_rules (rules_buf[il_pos].cmds, w0, w1, pw_len);
351
352     u32x w[16];
353
354     w[ 0] = w0[0];
355     w[ 1] = w0[1];
356     w[ 2] = w0[2];
357     w[ 3] = w0[3];
358     w[ 4] = w1[0];
359     w[ 5] = w1[1];
360     w[ 6] = w1[2];
361     w[ 7] = w1[3];
362     w[ 8] = 0;
363     w[ 9] = 0;
364     w[10] = 0;
365     w[11] = 0;
366     w[12] = 0;
367     w[13] = 0;
368     w[14] = 0;
369     w[15] = 0;
370
371     u32x state[4];
372
373     state[0] = 0;
374     state[1] = 0;
375     state[2] = 0;
376     state[3] = 0;
377
378     /**
379      * padding
380      */
381
382     if (pw_len < 16)
383     {
384       pad (&w[ 0], pw_len & 0xf);
385     }
386     else if (pw_len < 32)
387     {
388       pad (&w[ 4], pw_len & 0xf);
389     }
390     else if (pw_len < 48)
391     {
392       pad (&w[ 8], pw_len & 0xf);
393     }
394     else if (pw_len < 64)
395     {
396       pad (&w[12], pw_len & 0xf);
397     }
398
399     domino_big_md (w, pw_len, state, s_lotus_magic_table);
400
401     const u32x r0 = state[0];
402     const u32x r1 = state[1];
403     const u32x r2 = state[2];
404     const u32x r3 = state[3];
405
406     #include VECT_COMPARE_M
407   }
408 }
409
410 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m08600_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 combs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
411 {
412 }
413
414 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m08600_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 combs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
415 {
416 }
417
418 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m08600_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 rules_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
419 {
420   /**
421    * modifier
422    */
423
424   const u32 lid = get_local_id (0);
425
426   /**
427    * base
428    */
429
430   const u32 gid = get_global_id (0);
431
432   /**
433    * sbox
434    */
435
436   const u32 lid4 = lid * 4;
437
438   __local u32 s_lotus_magic_table[256];
439
440   s_lotus_magic_table[lid4 + 0] = lotus_magic_table[lid4 + 0];
441   s_lotus_magic_table[lid4 + 1] = lotus_magic_table[lid4 + 1];
442   s_lotus_magic_table[lid4 + 2] = lotus_magic_table[lid4 + 2];
443   s_lotus_magic_table[lid4 + 3] = lotus_magic_table[lid4 + 3];
444
445   barrier (CLK_LOCAL_MEM_FENCE);
446
447   if (gid >= gid_max) return;
448
449   u32x pw_buf0[4];
450
451   pw_buf0[0] = pws[gid].i[ 0];
452   pw_buf0[1] = pws[gid].i[ 1];
453   pw_buf0[2] = pws[gid].i[ 2];
454   pw_buf0[3] = pws[gid].i[ 3];
455
456   u32x pw_buf1[4];
457
458   pw_buf1[0] = pws[gid].i[ 4];
459   pw_buf1[1] = pws[gid].i[ 5];
460   pw_buf1[2] = pws[gid].i[ 6];
461   pw_buf1[3] = pws[gid].i[ 7];
462
463   const u32 pw_len = pws[gid].pw_len;
464
465   /**
466    * digest
467    */
468
469   const u32 search[4] =
470   {
471     digests_buf[digests_offset].digest_buf[DGST_R0],
472     digests_buf[digests_offset].digest_buf[DGST_R1],
473     digests_buf[digests_offset].digest_buf[DGST_R2],
474     digests_buf[digests_offset].digest_buf[DGST_R3]
475   };
476
477   /**
478    * loop
479    */
480
481   for (u32 il_pos = 0; il_pos < rules_cnt; il_pos++)
482   {
483     u32x w0[4];
484
485     w0[0] = pw_buf0[0];
486     w0[1] = pw_buf0[1];
487     w0[2] = pw_buf0[2];
488     w0[3] = pw_buf0[3];
489
490     u32x w1[4];
491
492     w1[0] = pw_buf1[0];
493     w1[1] = pw_buf1[1];
494     w1[2] = pw_buf1[2];
495     w1[3] = pw_buf1[3];
496
497     u32x w2[4];
498
499     w2[0] = 0;
500     w2[1] = 0;
501     w2[2] = 0;
502     w2[3] = 0;
503
504     u32x w3[4];
505
506     w3[0] = 0;
507     w3[1] = 0;
508     w3[2] = 0;
509     w3[3] = 0;
510
511     const u32 out_len = apply_rules (rules_buf[il_pos].cmds, w0, w1, pw_len);
512
513     u32x w[16];
514
515     w[ 0] = w0[0];
516     w[ 1] = w0[1];
517     w[ 2] = w0[2];
518     w[ 3] = w0[3];
519     w[ 4] = w1[0];
520     w[ 5] = w1[1];
521     w[ 6] = w1[2];
522     w[ 7] = w1[3];
523     w[ 8] = 0;
524     w[ 9] = 0;
525     w[10] = 0;
526     w[11] = 0;
527     w[12] = 0;
528     w[13] = 0;
529     w[14] = 0;
530     w[15] = 0;
531
532     u32x state[4];
533
534     state[0] = 0;
535     state[1] = 0;
536     state[2] = 0;
537     state[3] = 0;
538
539     /**
540      * padding
541      */
542
543     if (pw_len < 16)
544     {
545       pad (&w[ 0], pw_len & 0xf);
546     }
547     else if (pw_len < 32)
548     {
549       pad (&w[ 4], pw_len & 0xf);
550     }
551     else if (pw_len < 48)
552     {
553       pad (&w[ 8], pw_len & 0xf);
554     }
555     else if (pw_len < 64)
556     {
557       pad (&w[12], pw_len & 0xf);
558     }
559
560     domino_big_md (w, pw_len, state, s_lotus_magic_table);
561
562     const u32x r0 = state[0];
563     const u32x r1 = state[1];
564     const u32x r2 = state[2];
565     const u32x r3 = state[3];
566
567     #include VECT_COMPARE_S
568   }
569 }
570
571 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m08600_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 combs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
572 {
573 }
574
575 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m08600_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 combs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
576 {
577 }