More kernel fixes for function calls and vector datatypes
[hashcat.git] / OpenCL / m05000_a1.cl
1 /**
2  * Author......: Jens Steube <jens.steube@gmail.com>
3  * License.....: MIT
4  */
5
6 #define _KECCAK_
7
8 #include "include/constants.h"
9 #include "include/kernel_vendor.h"
10
11 #define DGST_R0 2
12 #define DGST_R1 3
13 #define DGST_R2 4
14 #define DGST_R3 5
15
16 #include "include/kernel_functions.c"
17 #include "types_ocl.c"
18 #include "common.c"
19
20 #define COMPARE_S "check_single_comp4.c"
21 #define COMPARE_M "check_multi_comp4.c"
22
23 __constant u64 keccakf_rndc[24] =
24 {
25   0x0000000000000001, 0x0000000000008082, 0x800000000000808a,
26   0x8000000080008000, 0x000000000000808b, 0x0000000080000001,
27   0x8000000080008081, 0x8000000000008009, 0x000000000000008a,
28   0x0000000000000088, 0x0000000080008009, 0x000000008000000a,
29   0x000000008000808b, 0x800000000000008b, 0x8000000000008089,
30   0x8000000000008003, 0x8000000000008002, 0x8000000000000080,
31   0x000000000000800a, 0x800000008000000a, 0x8000000080008081,
32   0x8000000000008080, 0x0000000080000001, 0x8000000080008008
33 };
34
35 __constant u32 keccakf_rotc[24] =
36 {
37    1,  3,  6, 10, 15, 21, 28, 36, 45, 55,  2, 14,
38   27, 41, 56,  8, 25, 43, 62, 18, 39, 61, 20, 44
39 };
40
41 __constant u32 keccakf_piln[24] =
42 {
43   10,  7, 11, 17, 18,  3,  5, 16,  8, 21, 24,  4,
44   15, 23, 19, 13, 12,  2, 20, 14, 22,  9,  6,  1
45 };
46
47 #ifndef KECCAK_ROUNDS
48 #define KECCAK_ROUNDS 24
49 #endif
50
51 #define Theta1(s) (st[0 + s] ^ st[5 + s] ^ st[10 + s] ^ st[15 + s] ^ st[20 + s])
52
53 #define Theta2(s)               \
54 {                               \
55   st[ 0 + s] ^= t;              \
56   st[ 5 + s] ^= t;              \
57   st[10 + s] ^= t;              \
58   st[15 + s] ^= t;              \
59   st[20 + s] ^= t;              \
60 }
61
62 #define Rho_Pi(s)               \
63 {                               \
64   u32 j = keccakf_piln[s];     \
65   u32 k = keccakf_rotc[s];     \
66   bc0 = st[j];                  \
67   st[j] = rotl64 (t, k);        \
68   t = bc0;                      \
69 }
70
71 #define Chi(s)                  \
72 {                               \
73   bc0 = st[0 + s];              \
74   bc1 = st[1 + s];              \
75   bc2 = st[2 + s];              \
76   bc3 = st[3 + s];              \
77   bc4 = st[4 + s];              \
78   st[0 + s] ^= ~bc1 & bc2;      \
79   st[1 + s] ^= ~bc2 & bc3;      \
80   st[2 + s] ^= ~bc3 & bc4;      \
81   st[3 + s] ^= ~bc4 & bc0;      \
82   st[4 + s] ^= ~bc0 & bc1;      \
83 }
84
85 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m05000_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 combs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
86 {
87   /**
88    * modifier
89    */
90
91   const u32 lid = get_local_id (0);
92
93   /**
94    * base
95    */
96
97   const u32 gid = get_global_id (0);
98
99   if (gid >= gid_max) return;
100
101   u32 wordl0[4];
102
103   wordl0[0] = pws[gid].i[ 0];
104   wordl0[1] = pws[gid].i[ 1];
105   wordl0[2] = pws[gid].i[ 2];
106   wordl0[3] = pws[gid].i[ 3];
107
108   u32 wordl1[4];
109
110   wordl1[0] = pws[gid].i[ 4];
111   wordl1[1] = pws[gid].i[ 5];
112   wordl1[2] = pws[gid].i[ 6];
113   wordl1[3] = pws[gid].i[ 7];
114
115   u32 wordl2[4];
116
117   wordl2[0] = 0;
118   wordl2[1] = 0;
119   wordl2[2] = 0;
120   wordl2[3] = 0;
121
122   u32 wordl3[4];
123
124   wordl3[0] = 0;
125   wordl3[1] = 0;
126   wordl3[2] = 0;
127   wordl3[3] = 0;
128
129   const u32 pw_l_len = pws[gid].pw_len;
130
131   if (combs_mode == COMBINATOR_MODE_BASE_RIGHT)
132   {
133     append_0x01_2x4 (wordl0, wordl1, pw_l_len);
134
135     switch_buffer_by_offset (wordl0, wordl1, wordl2, wordl3, combs_buf[0].pw_len);
136   }
137
138   /**
139    * 0x80 keccak, very special
140    */
141
142   const u32 mdlen = salt_bufs[salt_pos].keccak_mdlen;
143
144   const u32 rsiz = 200 - (2 * mdlen);
145
146   const u32 add80w = (rsiz - 1) / 8;
147
148   /**
149    * loop
150    */
151
152   for (u32 il_pos = 0; il_pos < combs_cnt; il_pos++)
153   {
154     const u32 pw_r_len = combs_buf[il_pos].pw_len;
155
156     const u32 pw_len = pw_l_len + pw_r_len;
157
158     u32 wordr0[4];
159
160     wordr0[0] = combs_buf[il_pos].i[0];
161     wordr0[1] = combs_buf[il_pos].i[1];
162     wordr0[2] = combs_buf[il_pos].i[2];
163     wordr0[3] = combs_buf[il_pos].i[3];
164
165     u32 wordr1[4];
166
167     wordr1[0] = combs_buf[il_pos].i[4];
168     wordr1[1] = combs_buf[il_pos].i[5];
169     wordr1[2] = combs_buf[il_pos].i[6];
170     wordr1[3] = combs_buf[il_pos].i[7];
171
172     u32 wordr2[4];
173
174     wordr2[0] = 0;
175     wordr2[1] = 0;
176     wordr2[2] = 0;
177     wordr2[3] = 0;
178
179     u32 wordr3[4];
180
181     wordr3[0] = 0;
182     wordr3[1] = 0;
183     wordr3[2] = 0;
184     wordr3[3] = 0;
185
186     if (combs_mode == COMBINATOR_MODE_BASE_LEFT)
187     {
188       append_0x01_2x4 (wordr0, wordr1, pw_r_len);
189
190       switch_buffer_by_offset (wordr0, wordr1, wordr2, wordr3, pw_l_len);
191     }
192
193     u32 w0[4];
194
195     w0[0] = wordl0[0] | wordr0[0];
196     w0[1] = wordl0[1] | wordr0[1];
197     w0[2] = wordl0[2] | wordr0[2];
198     w0[3] = wordl0[3] | wordr0[3];
199
200     u32 w1[4];
201
202     w1[0] = wordl1[0] | wordr1[0];
203     w1[1] = wordl1[1] | wordr1[1];
204     w1[2] = wordl1[2] | wordr1[2];
205     w1[3] = wordl1[3] | wordr1[3];
206
207     u32 w2[4];
208
209     w2[0] = wordl2[0] | wordr2[0];
210     w2[1] = wordl2[1] | wordr2[1];
211     w2[2] = wordl2[2] | wordr2[2];
212     w2[3] = wordl2[3] | wordr2[3];
213
214     u32 w3[4];
215
216     w3[0] = wordl3[0] | wordr3[0];
217     w3[1] = wordl3[1] | wordr3[1];
218     w3[2] = pw_len * 8;
219     w3[3] = 0;
220
221     u64 st[25];
222
223     st[ 0] = (u64) (w0[0]) | (u64) (w0[1]) << 32;
224     st[ 1] = (u64) (w0[2]) | (u64) (w0[3]) << 32;
225     st[ 2] = (u64) (w1[0]) | (u64) (w1[1]) << 32;
226     st[ 3] = (u64) (w1[2]) | (u64) (w1[3]) << 32;
227     st[ 4] = 0;
228     st[ 5] = 0;
229     st[ 6] = 0;
230     st[ 7] = 0;
231     st[ 8] = 0;
232     st[ 9] = 0;
233     st[10] = 0;
234     st[11] = 0;
235     st[12] = 0;
236     st[13] = 0;
237     st[14] = 0;
238     st[15] = 0;
239     st[16] = 0;
240     st[17] = 0;
241     st[18] = 0;
242     st[19] = 0;
243     st[20] = 0;
244     st[21] = 0;
245     st[22] = 0;
246     st[23] = 0;
247     st[24] = 0;
248
249     st[add80w] |= 0x8000000000000000;
250
251     int round;
252
253     for (round = 0; round < KECCAK_ROUNDS; round++)
254     {
255       // Theta
256
257       u64 bc0 = Theta1 (0);
258       u64 bc1 = Theta1 (1);
259       u64 bc2 = Theta1 (2);
260       u64 bc3 = Theta1 (3);
261       u64 bc4 = Theta1 (4);
262
263       u64 t;
264
265       t = bc4 ^ rotl64 (bc1, 1); Theta2 (0);
266       t = bc0 ^ rotl64 (bc2, 1); Theta2 (1);
267       t = bc1 ^ rotl64 (bc3, 1); Theta2 (2);
268       t = bc2 ^ rotl64 (bc4, 1); Theta2 (3);
269       t = bc3 ^ rotl64 (bc0, 1); Theta2 (4);
270
271       // Rho Pi
272
273       t = st[1];
274
275       Rho_Pi (0);
276       Rho_Pi (1);
277       Rho_Pi (2);
278       Rho_Pi (3);
279       Rho_Pi (4);
280       Rho_Pi (5);
281       Rho_Pi (6);
282       Rho_Pi (7);
283       Rho_Pi (8);
284       Rho_Pi (9);
285       Rho_Pi (10);
286       Rho_Pi (11);
287       Rho_Pi (12);
288       Rho_Pi (13);
289       Rho_Pi (14);
290       Rho_Pi (15);
291       Rho_Pi (16);
292       Rho_Pi (17);
293       Rho_Pi (18);
294       Rho_Pi (19);
295       Rho_Pi (20);
296       Rho_Pi (21);
297       Rho_Pi (22);
298       Rho_Pi (23);
299
300       //  Chi
301
302       Chi (0);
303       Chi (5);
304       Chi (10);
305       Chi (15);
306       Chi (20);
307
308       //  Iota
309
310       st[0] ^= keccakf_rndc[round];
311     }
312
313     const u32 r0 = l32_from_64 (st[1]);
314     const u32 r1 = h32_from_64 (st[1]);
315     const u32 r2 = l32_from_64 (st[2]);
316     const u32 r3 = h32_from_64 (st[2]);
317
318     #include COMPARE_M
319   }
320 }
321
322 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m05000_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)
323 {
324 }
325
326 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m05000_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)
327 {
328 }
329
330 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m05000_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 combs_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
331 {
332   /**
333    * modifier
334    */
335
336   const u32 lid = get_local_id (0);
337
338   /**
339    * base
340    */
341
342   const u32 gid = get_global_id (0);
343
344   if (gid >= gid_max) return;
345
346   u32 wordl0[4];
347
348   wordl0[0] = pws[gid].i[ 0];
349   wordl0[1] = pws[gid].i[ 1];
350   wordl0[2] = pws[gid].i[ 2];
351   wordl0[3] = pws[gid].i[ 3];
352
353   u32 wordl1[4];
354
355   wordl1[0] = pws[gid].i[ 4];
356   wordl1[1] = pws[gid].i[ 5];
357   wordl1[2] = pws[gid].i[ 6];
358   wordl1[3] = pws[gid].i[ 7];
359
360   u32 wordl2[4];
361
362   wordl2[0] = 0;
363   wordl2[1] = 0;
364   wordl2[2] = 0;
365   wordl2[3] = 0;
366
367   u32 wordl3[4];
368
369   wordl3[0] = 0;
370   wordl3[1] = 0;
371   wordl3[2] = 0;
372   wordl3[3] = 0;
373
374   const u32 pw_l_len = pws[gid].pw_len;
375
376   if (combs_mode == COMBINATOR_MODE_BASE_RIGHT)
377   {
378     append_0x01_2x4 (wordl0, wordl1, pw_l_len);
379
380     switch_buffer_by_offset (wordl0, wordl1, wordl2, wordl3, combs_buf[0].pw_len);
381   }
382
383   /**
384    * digest
385    */
386
387   const u32 search[4] =
388   {
389     digests_buf[digests_offset].digest_buf[DGST_R0],
390     digests_buf[digests_offset].digest_buf[DGST_R1],
391     digests_buf[digests_offset].digest_buf[DGST_R2],
392     digests_buf[digests_offset].digest_buf[DGST_R3]
393   };
394
395   /**
396    * 0x80 keccak, very special
397    */
398
399   const u32 mdlen = salt_bufs[salt_pos].keccak_mdlen;
400
401   const u32 rsiz = 200 - (2 * mdlen);
402
403   const u32 add80w = (rsiz - 1) / 8;
404
405   /**
406    * loop
407    */
408
409   for (u32 il_pos = 0; il_pos < combs_cnt; il_pos++)
410   {
411     const u32 pw_r_len = combs_buf[il_pos].pw_len;
412
413     const u32 pw_len = pw_l_len + pw_r_len;
414
415     u32 wordr0[4];
416
417     wordr0[0] = combs_buf[il_pos].i[0];
418     wordr0[1] = combs_buf[il_pos].i[1];
419     wordr0[2] = combs_buf[il_pos].i[2];
420     wordr0[3] = combs_buf[il_pos].i[3];
421
422     u32 wordr1[4];
423
424     wordr1[0] = combs_buf[il_pos].i[4];
425     wordr1[1] = combs_buf[il_pos].i[5];
426     wordr1[2] = combs_buf[il_pos].i[6];
427     wordr1[3] = combs_buf[il_pos].i[7];
428
429     u32 wordr2[4];
430
431     wordr2[0] = 0;
432     wordr2[1] = 0;
433     wordr2[2] = 0;
434     wordr2[3] = 0;
435
436     u32 wordr3[4];
437
438     wordr3[0] = 0;
439     wordr3[1] = 0;
440     wordr3[2] = 0;
441     wordr3[3] = 0;
442
443     if (combs_mode == COMBINATOR_MODE_BASE_LEFT)
444     {
445       append_0x01_2x4 (wordr0, wordr1, pw_r_len);
446
447       switch_buffer_by_offset (wordr0, wordr1, wordr2, wordr3, pw_l_len);
448     }
449
450     u32 w0[4];
451
452     w0[0] = wordl0[0] | wordr0[0];
453     w0[1] = wordl0[1] | wordr0[1];
454     w0[2] = wordl0[2] | wordr0[2];
455     w0[3] = wordl0[3] | wordr0[3];
456
457     u32 w1[4];
458
459     w1[0] = wordl1[0] | wordr1[0];
460     w1[1] = wordl1[1] | wordr1[1];
461     w1[2] = wordl1[2] | wordr1[2];
462     w1[3] = wordl1[3] | wordr1[3];
463
464     u32 w2[4];
465
466     w2[0] = wordl2[0] | wordr2[0];
467     w2[1] = wordl2[1] | wordr2[1];
468     w2[2] = wordl2[2] | wordr2[2];
469     w2[3] = wordl2[3] | wordr2[3];
470
471     u32 w3[4];
472
473     w3[0] = wordl3[0] | wordr3[0];
474     w3[1] = wordl3[1] | wordr3[1];
475     w3[2] = pw_len * 8;
476     w3[3] = 0;
477
478     u64 st[25];
479
480     st[ 0] = (u64) (w0[0]) | (u64) (w0[1]) << 32;
481     st[ 1] = (u64) (w0[2]) | (u64) (w0[3]) << 32;
482     st[ 2] = (u64) (w1[0]) | (u64) (w1[1]) << 32;
483     st[ 3] = (u64) (w1[2]) | (u64) (w1[3]) << 32;
484     st[ 4] = 0;
485     st[ 5] = 0;
486     st[ 6] = 0;
487     st[ 7] = 0;
488     st[ 8] = 0;
489     st[ 9] = 0;
490     st[10] = 0;
491     st[11] = 0;
492     st[12] = 0;
493     st[13] = 0;
494     st[14] = 0;
495     st[15] = 0;
496     st[16] = 0;
497     st[17] = 0;
498     st[18] = 0;
499     st[19] = 0;
500     st[20] = 0;
501     st[21] = 0;
502     st[22] = 0;
503     st[23] = 0;
504     st[24] = 0;
505
506     st[add80w] |= 0x8000000000000000;
507
508     int round;
509
510     for (round = 0; round < KECCAK_ROUNDS; round++)
511     {
512       // Theta
513
514       u64 bc0 = Theta1 (0);
515       u64 bc1 = Theta1 (1);
516       u64 bc2 = Theta1 (2);
517       u64 bc3 = Theta1 (3);
518       u64 bc4 = Theta1 (4);
519
520       u64 t;
521
522       t = bc4 ^ rotl64 (bc1, 1); Theta2 (0);
523       t = bc0 ^ rotl64 (bc2, 1); Theta2 (1);
524       t = bc1 ^ rotl64 (bc3, 1); Theta2 (2);
525       t = bc2 ^ rotl64 (bc4, 1); Theta2 (3);
526       t = bc3 ^ rotl64 (bc0, 1); Theta2 (4);
527
528       // Rho Pi
529
530       t = st[1];
531
532       Rho_Pi (0);
533       Rho_Pi (1);
534       Rho_Pi (2);
535       Rho_Pi (3);
536       Rho_Pi (4);
537       Rho_Pi (5);
538       Rho_Pi (6);
539       Rho_Pi (7);
540       Rho_Pi (8);
541       Rho_Pi (9);
542       Rho_Pi (10);
543       Rho_Pi (11);
544       Rho_Pi (12);
545       Rho_Pi (13);
546       Rho_Pi (14);
547       Rho_Pi (15);
548       Rho_Pi (16);
549       Rho_Pi (17);
550       Rho_Pi (18);
551       Rho_Pi (19);
552       Rho_Pi (20);
553       Rho_Pi (21);
554       Rho_Pi (22);
555       Rho_Pi (23);
556
557       //  Chi
558
559       Chi (0);
560       Chi (5);
561       Chi (10);
562       Chi (15);
563       Chi (20);
564
565       //  Iota
566
567       st[0] ^= keccakf_rndc[round];
568     }
569
570     const u32 r0 = l32_from_64 (st[1]);
571     const u32 r1 = h32_from_64 (st[1]);
572     const u32 r2 = l32_from_64 (st[2]);
573     const u32 r3 = h32_from_64 (st[2]);
574
575     #include COMPARE_S
576   }
577 }
578
579 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m05000_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)
580 {
581 }
582
583 __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m05000_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)
584 {
585 }