Initial commit
[hashcat.git] / nv / m00900_a1.cu
1 /**
2  * Author......: Jens Steube <jens.steube@gmail.com>
3  * License.....: MIT
4  */
5
6 #define _MD4_
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  VLIW2
16 #define VECT_SIZE4
17 #endif
18
19 #define DGST_R0 0
20 #define DGST_R1 3
21 #define DGST_R2 2
22 #define DGST_R3 1
23
24 #include "include/kernel_functions.c"
25 #include "types_nv.c"
26 #include "common_nv.c"
27
28 #ifdef  VECT_SIZE1
29 #define VECT_COMPARE_S "check_single_vect1_comp4.c"
30 #define VECT_COMPARE_M "check_multi_vect1_comp4.c"
31 #endif
32
33 #ifdef  VECT_SIZE2
34 #define VECT_COMPARE_S "check_single_vect2_comp4.c"
35 #define VECT_COMPARE_M "check_multi_vect2_comp4.c"
36 #endif
37
38 #ifdef  VECT_SIZE4
39 #define VECT_COMPARE_S "check_single_vect4_comp4.c"
40 #define VECT_COMPARE_M "check_multi_vect4_comp4.c"
41 #endif
42
43 __device__ __constant__ comb_t c_combs[1024];
44
45 extern "C" __global__ void __launch_bounds__ (256, 1) m00900_m04 (const pw_t *pws, const gpu_rule_t *rules_buf, const comb_t *combs_buf, const bf_t *bfs_buf, const void *tmps, void *hooks, const u32 *bitmaps_buf_s1_a, const u32 *bitmaps_buf_s1_b, const u32 *bitmaps_buf_s1_c, const u32 *bitmaps_buf_s1_d, const u32 *bitmaps_buf_s2_a, const u32 *bitmaps_buf_s2_b, const u32 *bitmaps_buf_s2_c, const u32 *bitmaps_buf_s2_d, plain_t *plains_buf, const digest_t *digests_buf, u32 *hashes_shown, const salt_t *salt_bufs, const void *esalt_bufs, u32 *d_return_buf, 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)
46 {
47   /**
48    * modifier
49    */
50
51   const u32 lid = threadIdx.x;
52
53   /**
54    * base
55    */
56
57   const u32 gid = (blockIdx.x * blockDim.x) + threadIdx.x;
58
59   if (gid >= gid_max) return;
60
61   u32x wordl0[4];
62
63   wordl0[0] = pws[gid].i[ 0];
64   wordl0[1] = pws[gid].i[ 1];
65   wordl0[2] = pws[gid].i[ 2];
66   wordl0[3] = pws[gid].i[ 3];
67
68   u32x wordl1[4];
69
70   wordl1[0] = pws[gid].i[ 4];
71   wordl1[1] = pws[gid].i[ 5];
72   wordl1[2] = pws[gid].i[ 6];
73   wordl1[3] = pws[gid].i[ 7];
74
75   u32x wordl2[4];
76
77   wordl2[0] = 0;
78   wordl2[1] = 0;
79   wordl2[2] = 0;
80   wordl2[3] = 0;
81
82   u32x wordl3[4];
83
84   wordl3[0] = 0;
85   wordl3[1] = 0;
86   wordl3[2] = 0;
87   wordl3[3] = 0;
88
89   const u32 pw_l_len = pws[gid].pw_len;
90
91   if (combs_mode == COMBINATOR_MODE_BASE_RIGHT)
92   {
93     append_0x80_2 (wordl0, wordl1, pw_l_len);
94
95     switch_buffer_by_offset (wordl0, wordl1, wordl2, wordl3, c_combs[0].pw_len);
96   }
97
98   /**
99    * loop
100    */
101
102   for (u32 il_pos = 0; il_pos < combs_cnt; il_pos++)
103   {
104     const u32 pw_r_len = c_combs[il_pos].pw_len;
105
106     const u32 pw_len = pw_l_len + pw_r_len;
107
108     u32 wordr0[4];
109
110     wordr0[0] = c_combs[il_pos].i[0];
111     wordr0[1] = c_combs[il_pos].i[1];
112     wordr0[2] = c_combs[il_pos].i[2];
113     wordr0[3] = c_combs[il_pos].i[3];
114
115     u32 wordr1[4];
116
117     wordr1[0] = c_combs[il_pos].i[4];
118     wordr1[1] = c_combs[il_pos].i[5];
119     wordr1[2] = c_combs[il_pos].i[6];
120     wordr1[3] = c_combs[il_pos].i[7];
121
122     u32 wordr2[4];
123
124     wordr2[0] = 0;
125     wordr2[1] = 0;
126     wordr2[2] = 0;
127     wordr2[3] = 0;
128
129     u32 wordr3[4];
130
131     wordr3[0] = 0;
132     wordr3[1] = 0;
133     wordr3[2] = 0;
134     wordr3[3] = 0;
135
136     if (combs_mode == COMBINATOR_MODE_BASE_LEFT)
137     {
138       switch_buffer_by_offset (wordr0, wordr1, wordr2, wordr3, pw_l_len);
139     }
140
141     u32x w0[4];
142
143     w0[0] = wordl0[0] | wordr0[0];
144     w0[1] = wordl0[1] | wordr0[1];
145     w0[2] = wordl0[2] | wordr0[2];
146     w0[3] = wordl0[3] | wordr0[3];
147
148     u32x w1[4];
149
150     w1[0] = wordl1[0] | wordr1[0];
151     w1[1] = wordl1[1] | wordr1[1];
152     w1[2] = wordl1[2] | wordr1[2];
153     w1[3] = wordl1[3] | wordr1[3];
154
155     u32x w2[4];
156
157     w2[0] = wordl2[0] | wordr2[0];
158     w2[1] = wordl2[1] | wordr2[1];
159     w2[2] = wordl2[2] | wordr2[2];
160     w2[3] = wordl2[3] | wordr2[3];
161
162     u32x w3[4];
163
164     w3[0] = wordl3[0] | wordr3[0];
165     w3[1] = wordl3[1] | wordr3[1];
166     w3[2] = pw_len * 8;
167     w3[3] = 0;
168
169     u32x a = MD4M_A;
170     u32x b = MD4M_B;
171     u32x c = MD4M_C;
172     u32x d = MD4M_D;
173
174     MD4_STEP (MD4_Fo, a, b, c, d, w0[0], MD4C00, MD4S00);
175     MD4_STEP (MD4_Fo, d, a, b, c, w0[1], MD4C00, MD4S01);
176     MD4_STEP (MD4_Fo, c, d, a, b, w0[2], MD4C00, MD4S02);
177     MD4_STEP (MD4_Fo, b, c, d, a, w0[3], MD4C00, MD4S03);
178     MD4_STEP (MD4_Fo, a, b, c, d, w1[0], MD4C00, MD4S00);
179     MD4_STEP (MD4_Fo, d, a, b, c, w1[1], MD4C00, MD4S01);
180     MD4_STEP (MD4_Fo, c, d, a, b, w1[2], MD4C00, MD4S02);
181     MD4_STEP (MD4_Fo, b, c, d, a, w1[3], MD4C00, MD4S03);
182     MD4_STEP (MD4_Fo, a, b, c, d, w2[0], MD4C00, MD4S00);
183     MD4_STEP (MD4_Fo, d, a, b, c, w2[1], MD4C00, MD4S01);
184     MD4_STEP (MD4_Fo, c, d, a, b, w2[2], MD4C00, MD4S02);
185     MD4_STEP (MD4_Fo, b, c, d, a, w2[3], MD4C00, MD4S03);
186     MD4_STEP (MD4_Fo, a, b, c, d, w3[0], MD4C00, MD4S00);
187     MD4_STEP (MD4_Fo, d, a, b, c, w3[1], MD4C00, MD4S01);
188     MD4_STEP (MD4_Fo, c, d, a, b, w3[2], MD4C00, MD4S02);
189     MD4_STEP (MD4_Fo, b, c, d, a, w3[3], MD4C00, MD4S03);
190
191     MD4_STEP (MD4_Go, a, b, c, d, w0[0], MD4C01, MD4S10);
192     MD4_STEP (MD4_Go, d, a, b, c, w1[0], MD4C01, MD4S11);
193     MD4_STEP (MD4_Go, c, d, a, b, w2[0], MD4C01, MD4S12);
194     MD4_STEP (MD4_Go, b, c, d, a, w3[0], MD4C01, MD4S13);
195     MD4_STEP (MD4_Go, a, b, c, d, w0[1], MD4C01, MD4S10);
196     MD4_STEP (MD4_Go, d, a, b, c, w1[1], MD4C01, MD4S11);
197     MD4_STEP (MD4_Go, c, d, a, b, w2[1], MD4C01, MD4S12);
198     MD4_STEP (MD4_Go, b, c, d, a, w3[1], MD4C01, MD4S13);
199     MD4_STEP (MD4_Go, a, b, c, d, w0[2], MD4C01, MD4S10);
200     MD4_STEP (MD4_Go, d, a, b, c, w1[2], MD4C01, MD4S11);
201     MD4_STEP (MD4_Go, c, d, a, b, w2[2], MD4C01, MD4S12);
202     MD4_STEP (MD4_Go, b, c, d, a, w3[2], MD4C01, MD4S13);
203     MD4_STEP (MD4_Go, a, b, c, d, w0[3], MD4C01, MD4S10);
204     MD4_STEP (MD4_Go, d, a, b, c, w1[3], MD4C01, MD4S11);
205     MD4_STEP (MD4_Go, c, d, a, b, w2[3], MD4C01, MD4S12);
206     MD4_STEP (MD4_Go, b, c, d, a, w3[3], MD4C01, MD4S13);
207
208     MD4_STEP (MD4_H , a, b, c, d, w0[0], MD4C02, MD4S20);
209     MD4_STEP (MD4_H , d, a, b, c, w2[0], MD4C02, MD4S21);
210     MD4_STEP (MD4_H , c, d, a, b, w1[0], MD4C02, MD4S22);
211     MD4_STEP (MD4_H , b, c, d, a, w3[0], MD4C02, MD4S23);
212     MD4_STEP (MD4_H , a, b, c, d, w0[2], MD4C02, MD4S20);
213     MD4_STEP (MD4_H , d, a, b, c, w2[2], MD4C02, MD4S21);
214     MD4_STEP (MD4_H , c, d, a, b, w1[2], MD4C02, MD4S22);
215     MD4_STEP (MD4_H , b, c, d, a, w3[2], MD4C02, MD4S23);
216     MD4_STEP (MD4_H , a, b, c, d, w0[1], MD4C02, MD4S20);
217     MD4_STEP (MD4_H , d, a, b, c, w2[1], MD4C02, MD4S21);
218     MD4_STEP (MD4_H , c, d, a, b, w1[1], MD4C02, MD4S22);
219     MD4_STEP (MD4_H , b, c, d, a, w3[1], MD4C02, MD4S23);
220     MD4_STEP (MD4_H , a, b, c, d, w0[3], MD4C02, MD4S20);
221     MD4_STEP (MD4_H , d, a, b, c, w2[3], MD4C02, MD4S21);
222     MD4_STEP (MD4_H , c, d, a, b, w1[3], MD4C02, MD4S22);
223     MD4_STEP (MD4_H , b, c, d, a, w3[3], MD4C02, MD4S23);
224
225     const u32x r0 = a;
226     const u32x r1 = d;
227     const u32x r2 = c;
228     const u32x r3 = b;
229
230     #include VECT_COMPARE_M
231   }
232 }
233
234 extern "C" __global__ void __launch_bounds__ (256, 1) m00900_m08 (const pw_t *pws, const gpu_rule_t *rules_buf, const comb_t *combs_buf, const bf_t *bfs_buf, const void *tmps, void *hooks, const u32 *bitmaps_buf_s1_a, const u32 *bitmaps_buf_s1_b, const u32 *bitmaps_buf_s1_c, const u32 *bitmaps_buf_s1_d, const u32 *bitmaps_buf_s2_a, const u32 *bitmaps_buf_s2_b, const u32 *bitmaps_buf_s2_c, const u32 *bitmaps_buf_s2_d, plain_t *plains_buf, const digest_t *digests_buf, u32 *hashes_shown, const salt_t *salt_bufs, const void *esalt_bufs, u32 *d_return_buf, 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)
235 {
236 }
237
238 extern "C" __global__ void __launch_bounds__ (256, 1) m00900_m16 (const pw_t *pws, const gpu_rule_t *rules_buf, const comb_t *combs_buf, const bf_t *bfs_buf, const void *tmps, void *hooks, const u32 *bitmaps_buf_s1_a, const u32 *bitmaps_buf_s1_b, const u32 *bitmaps_buf_s1_c, const u32 *bitmaps_buf_s1_d, const u32 *bitmaps_buf_s2_a, const u32 *bitmaps_buf_s2_b, const u32 *bitmaps_buf_s2_c, const u32 *bitmaps_buf_s2_d, plain_t *plains_buf, const digest_t *digests_buf, u32 *hashes_shown, const salt_t *salt_bufs, const void *esalt_bufs, u32 *d_return_buf, 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)
239 {
240 }
241
242 extern "C" __global__ void __launch_bounds__ (256, 1) m00900_s04 (const pw_t *pws, const gpu_rule_t *rules_buf, const comb_t *combs_buf, const bf_t *bfs_buf, const void *tmps, void *hooks, const u32 *bitmaps_buf_s1_a, const u32 *bitmaps_buf_s1_b, const u32 *bitmaps_buf_s1_c, const u32 *bitmaps_buf_s1_d, const u32 *bitmaps_buf_s2_a, const u32 *bitmaps_buf_s2_b, const u32 *bitmaps_buf_s2_c, const u32 *bitmaps_buf_s2_d, plain_t *plains_buf, const digest_t *digests_buf, u32 *hashes_shown, const salt_t *salt_bufs, const void *esalt_bufs, u32 *d_return_buf, 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)
243 {
244   /**
245    * modifier
246    */
247
248   const u32 lid = threadIdx.x;
249
250   /**
251    * base
252    */
253
254   const u32 gid = (blockIdx.x * blockDim.x) + threadIdx.x;
255
256   if (gid >= gid_max) return;
257
258   u32x wordl0[4];
259
260   wordl0[0] = pws[gid].i[ 0];
261   wordl0[1] = pws[gid].i[ 1];
262   wordl0[2] = pws[gid].i[ 2];
263   wordl0[3] = pws[gid].i[ 3];
264
265   u32x wordl1[4];
266
267   wordl1[0] = pws[gid].i[ 4];
268   wordl1[1] = pws[gid].i[ 5];
269   wordl1[2] = pws[gid].i[ 6];
270   wordl1[3] = pws[gid].i[ 7];
271
272   u32x wordl2[4];
273
274   wordl2[0] = 0;
275   wordl2[1] = 0;
276   wordl2[2] = 0;
277   wordl2[3] = 0;
278
279   u32x wordl3[4];
280
281   wordl3[0] = 0;
282   wordl3[1] = 0;
283   wordl3[2] = 0;
284   wordl3[3] = 0;
285
286   const u32 pw_l_len = pws[gid].pw_len;
287
288   if (combs_mode == COMBINATOR_MODE_BASE_RIGHT)
289   {
290     append_0x80_2 (wordl0, wordl1, pw_l_len);
291
292     switch_buffer_by_offset (wordl0, wordl1, wordl2, wordl3, c_combs[0].pw_len);
293   }
294
295   /**
296    * digest
297    */
298
299   const u32 search[4] =
300   {
301     digests_buf[digests_offset].digest_buf[DGST_R0],
302     digests_buf[digests_offset].digest_buf[DGST_R1],
303     digests_buf[digests_offset].digest_buf[DGST_R2],
304     digests_buf[digests_offset].digest_buf[DGST_R3]
305   };
306
307   /**
308    * loop
309    */
310
311   for (u32 il_pos = 0; il_pos < combs_cnt; il_pos++)
312   {
313     const u32 pw_r_len = c_combs[il_pos].pw_len;
314
315     const u32 pw_len = pw_l_len + pw_r_len;
316
317     u32 wordr0[4];
318
319     wordr0[0] = c_combs[il_pos].i[0];
320     wordr0[1] = c_combs[il_pos].i[1];
321     wordr0[2] = c_combs[il_pos].i[2];
322     wordr0[3] = c_combs[il_pos].i[3];
323
324     u32 wordr1[4];
325
326     wordr1[0] = c_combs[il_pos].i[4];
327     wordr1[1] = c_combs[il_pos].i[5];
328     wordr1[2] = c_combs[il_pos].i[6];
329     wordr1[3] = c_combs[il_pos].i[7];
330
331     u32 wordr2[4];
332
333     wordr2[0] = 0;
334     wordr2[1] = 0;
335     wordr2[2] = 0;
336     wordr2[3] = 0;
337
338     u32 wordr3[4];
339
340     wordr3[0] = 0;
341     wordr3[1] = 0;
342     wordr3[2] = 0;
343     wordr3[3] = 0;
344
345     if (combs_mode == COMBINATOR_MODE_BASE_LEFT)
346     {
347       switch_buffer_by_offset (wordr0, wordr1, wordr2, wordr3, pw_l_len);
348     }
349
350     u32x w0[4];
351
352     w0[0] = wordl0[0] | wordr0[0];
353     w0[1] = wordl0[1] | wordr0[1];
354     w0[2] = wordl0[2] | wordr0[2];
355     w0[3] = wordl0[3] | wordr0[3];
356
357     u32x w1[4];
358
359     w1[0] = wordl1[0] | wordr1[0];
360     w1[1] = wordl1[1] | wordr1[1];
361     w1[2] = wordl1[2] | wordr1[2];
362     w1[3] = wordl1[3] | wordr1[3];
363
364     u32x w2[4];
365
366     w2[0] = wordl2[0] | wordr2[0];
367     w2[1] = wordl2[1] | wordr2[1];
368     w2[2] = wordl2[2] | wordr2[2];
369     w2[3] = wordl2[3] | wordr2[3];
370
371     u32x w3[4];
372
373     w3[0] = wordl3[0] | wordr3[0];
374     w3[1] = wordl3[1] | wordr3[1];
375     w3[2] = pw_len * 8;
376     w3[3] = 0;
377
378     u32x a = MD4M_A;
379     u32x b = MD4M_B;
380     u32x c = MD4M_C;
381     u32x d = MD4M_D;
382
383     MD4_STEP (MD4_Fo, a, b, c, d, w0[0], MD4C00, MD4S00);
384     MD4_STEP (MD4_Fo, d, a, b, c, w0[1], MD4C00, MD4S01);
385     MD4_STEP (MD4_Fo, c, d, a, b, w0[2], MD4C00, MD4S02);
386     MD4_STEP (MD4_Fo, b, c, d, a, w0[3], MD4C00, MD4S03);
387     MD4_STEP (MD4_Fo, a, b, c, d, w1[0], MD4C00, MD4S00);
388     MD4_STEP (MD4_Fo, d, a, b, c, w1[1], MD4C00, MD4S01);
389     MD4_STEP (MD4_Fo, c, d, a, b, w1[2], MD4C00, MD4S02);
390     MD4_STEP (MD4_Fo, b, c, d, a, w1[3], MD4C00, MD4S03);
391     MD4_STEP (MD4_Fo, a, b, c, d, w2[0], MD4C00, MD4S00);
392     MD4_STEP (MD4_Fo, d, a, b, c, w2[1], MD4C00, MD4S01);
393     MD4_STEP (MD4_Fo, c, d, a, b, w2[2], MD4C00, MD4S02);
394     MD4_STEP (MD4_Fo, b, c, d, a, w2[3], MD4C00, MD4S03);
395     MD4_STEP (MD4_Fo, a, b, c, d, w3[0], MD4C00, MD4S00);
396     MD4_STEP (MD4_Fo, d, a, b, c, w3[1], MD4C00, MD4S01);
397     MD4_STEP (MD4_Fo, c, d, a, b, w3[2], MD4C00, MD4S02);
398     MD4_STEP (MD4_Fo, b, c, d, a, w3[3], MD4C00, MD4S03);
399
400     MD4_STEP (MD4_Go, a, b, c, d, w0[0], MD4C01, MD4S10);
401     MD4_STEP (MD4_Go, d, a, b, c, w1[0], MD4C01, MD4S11);
402     MD4_STEP (MD4_Go, c, d, a, b, w2[0], MD4C01, MD4S12);
403     MD4_STEP (MD4_Go, b, c, d, a, w3[0], MD4C01, MD4S13);
404     MD4_STEP (MD4_Go, a, b, c, d, w0[1], MD4C01, MD4S10);
405     MD4_STEP (MD4_Go, d, a, b, c, w1[1], MD4C01, MD4S11);
406     MD4_STEP (MD4_Go, c, d, a, b, w2[1], MD4C01, MD4S12);
407     MD4_STEP (MD4_Go, b, c, d, a, w3[1], MD4C01, MD4S13);
408     MD4_STEP (MD4_Go, a, b, c, d, w0[2], MD4C01, MD4S10);
409     MD4_STEP (MD4_Go, d, a, b, c, w1[2], MD4C01, MD4S11);
410     MD4_STEP (MD4_Go, c, d, a, b, w2[2], MD4C01, MD4S12);
411     MD4_STEP (MD4_Go, b, c, d, a, w3[2], MD4C01, MD4S13);
412     MD4_STEP (MD4_Go, a, b, c, d, w0[3], MD4C01, MD4S10);
413     MD4_STEP (MD4_Go, d, a, b, c, w1[3], MD4C01, MD4S11);
414     MD4_STEP (MD4_Go, c, d, a, b, w2[3], MD4C01, MD4S12);
415     MD4_STEP (MD4_Go, b, c, d, a, w3[3], MD4C01, MD4S13);
416
417     MD4_STEP (MD4_H , a, b, c, d, w0[0], MD4C02, MD4S20);
418     MD4_STEP (MD4_H , d, a, b, c, w2[0], MD4C02, MD4S21);
419     MD4_STEP (MD4_H , c, d, a, b, w1[0], MD4C02, MD4S22);
420     MD4_STEP (MD4_H , b, c, d, a, w3[0], MD4C02, MD4S23);
421     MD4_STEP (MD4_H , a, b, c, d, w0[2], MD4C02, MD4S20);
422     MD4_STEP (MD4_H , d, a, b, c, w2[2], MD4C02, MD4S21);
423     MD4_STEP (MD4_H , c, d, a, b, w1[2], MD4C02, MD4S22);
424     MD4_STEP (MD4_H , b, c, d, a, w3[2], MD4C02, MD4S23);
425     MD4_STEP (MD4_H , a, b, c, d, w0[1], MD4C02, MD4S20);
426     MD4_STEP (MD4_H , d, a, b, c, w2[1], MD4C02, MD4S21);
427     MD4_STEP (MD4_H , c, d, a, b, w1[1], MD4C02, MD4S22);
428     MD4_STEP (MD4_H , b, c, d, a, w3[1], MD4C02, MD4S23);
429     MD4_STEP (MD4_H , a, b, c, d, w0[3], MD4C02, MD4S20);
430     MD4_STEP (MD4_H , d, a, b, c, w2[3], MD4C02, MD4S21);
431     MD4_STEP (MD4_H , c, d, a, b, w1[3], MD4C02, MD4S22);
432     MD4_STEP (MD4_H , b, c, d, a, w3[3], MD4C02, MD4S23);
433
434     const u32x r0 = a;
435     const u32x r1 = d;
436     const u32x r2 = c;
437     const u32x r3 = b;
438
439     #include VECT_COMPARE_S
440   }
441 }
442
443 extern "C" __global__ void __launch_bounds__ (256, 1) m00900_s08 (const pw_t *pws, const gpu_rule_t *rules_buf, const comb_t *combs_buf, const bf_t *bfs_buf, const void *tmps, void *hooks, const u32 *bitmaps_buf_s1_a, const u32 *bitmaps_buf_s1_b, const u32 *bitmaps_buf_s1_c, const u32 *bitmaps_buf_s1_d, const u32 *bitmaps_buf_s2_a, const u32 *bitmaps_buf_s2_b, const u32 *bitmaps_buf_s2_c, const u32 *bitmaps_buf_s2_d, plain_t *plains_buf, const digest_t *digests_buf, u32 *hashes_shown, const salt_t *salt_bufs, const void *esalt_bufs, u32 *d_return_buf, 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)
444 {
445 }
446
447 extern "C" __global__ void __launch_bounds__ (256, 1) m00900_s16 (const pw_t *pws, const gpu_rule_t *rules_buf, const comb_t *combs_buf, const bf_t *bfs_buf, const void *tmps, void *hooks, const u32 *bitmaps_buf_s1_a, const u32 *bitmaps_buf_s1_b, const u32 *bitmaps_buf_s1_c, const u32 *bitmaps_buf_s1_d, const u32 *bitmaps_buf_s2_a, const u32 *bitmaps_buf_s2_b, const u32 *bitmaps_buf_s2_c, const u32 *bitmaps_buf_s2_d, plain_t *plains_buf, const digest_t *digests_buf, u32 *hashes_shown, const salt_t *salt_bufs, const void *esalt_bufs, u32 *d_return_buf, 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)
448 {
449 }