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