2 * Author......: Jens Steube <jens.steube@gmail.com>
8 #include "include/constants.h"
9 #include "include/kernel_vendor.h"
24 #include "include/kernel_functions.c"
26 #include "common_nv.c"
27 #include "include/rp_gpu.h"
31 #define VECT_COMPARE_S "check_single_vect1_comp4.c"
32 #define VECT_COMPARE_M "check_multi_vect1_comp4.c"
36 #define VECT_COMPARE_S "check_single_vect2_comp4.c"
37 #define VECT_COMPARE_M "check_multi_vect2_comp4.c"
41 #define VECT_COMPARE_S "check_single_vect4_comp4.c"
42 #define VECT_COMPARE_M "check_multi_vect4_comp4.c"
45 __device__ __constant__ gpu_rule_t c_rules[1024];
47 extern "C" __global__ void __launch_bounds__ (256, 1) m03800_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 rules_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
53 const u32 lid = threadIdx.x;
59 const u32 gid = (blockIdx.x * blockDim.x) + threadIdx.x;
61 if (gid >= gid_max) return;
65 pw_buf0[0] = pws[gid].i[ 0];
66 pw_buf0[1] = pws[gid].i[ 1];
67 pw_buf0[2] = pws[gid].i[ 2];
68 pw_buf0[3] = pws[gid].i[ 3];
72 pw_buf1[0] = pws[gid].i[ 4];
73 pw_buf1[1] = pws[gid].i[ 5];
74 pw_buf1[2] = pws[gid].i[ 6];
75 pw_buf1[3] = pws[gid].i[ 7];
77 const u32 pw_len = pws[gid].pw_len;
85 salt_buf0[0] = salt_bufs[salt_pos].salt_buf[ 0];
86 salt_buf0[1] = salt_bufs[salt_pos].salt_buf[ 1];
87 salt_buf0[2] = salt_bufs[salt_pos].salt_buf[ 2];
88 salt_buf0[3] = salt_bufs[salt_pos].salt_buf[ 3];
92 salt_buf1[0] = salt_bufs[salt_pos].salt_buf[ 4];
93 salt_buf1[1] = salt_bufs[salt_pos].salt_buf[ 5];
94 salt_buf1[2] = salt_bufs[salt_pos].salt_buf[ 6];
95 salt_buf1[3] = salt_bufs[salt_pos].salt_buf[ 7];
111 const u32 salt_len = salt_bufs[salt_pos].salt_len;
117 for (u32 il_pos = 0; il_pos < rules_cnt; il_pos++)
147 const u32 out_len = apply_rules (c_rules[il_pos].cmds, w0, w1, pw_len);
182 switch_buffer_by_offset (w0_t, w1_t, w2_t, w3_t, salt_len);
184 w0_t[0] |= salt_buf0[0];
185 w0_t[1] |= salt_buf0[1];
186 w0_t[2] |= salt_buf0[2];
187 w0_t[3] |= salt_buf0[3];
188 w1_t[0] |= salt_buf1[0];
189 w1_t[1] |= salt_buf1[1];
190 w1_t[2] |= salt_buf1[2];
191 w1_t[3] |= salt_buf1[3];
192 w2_t[0] |= salt_buf2[0];
193 w2_t[1] |= salt_buf2[1];
194 w2_t[2] |= salt_buf2[2];
195 w2_t[3] |= salt_buf2[3];
196 w3_t[0] |= salt_buf3[0];
197 w3_t[1] |= salt_buf3[1];
198 w3_t[2] |= salt_buf3[2];
199 w3_t[3] |= salt_buf3[3];
207 s0[0] = salt_buf0[0];
208 s0[1] = salt_buf0[1];
209 s0[2] = salt_buf0[2];
210 s0[3] = salt_buf0[3];
214 s1[0] = salt_buf1[0];
215 s1[1] = salt_buf1[1];
216 s1[2] = salt_buf1[2];
217 s1[3] = salt_buf1[3];
233 switch_buffer_by_offset (s0, s1, s2, s3, salt_len + out_len);
252 const u32 pw_salt_len = salt_len + out_len + salt_len;
254 append_0x80_4 (w0_t, w1_t, w2_t, w3_t, pw_salt_len);
256 w3_t[2] = pw_salt_len * 8;
267 MD5_STEP (MD5_Fo, a, b, c, d, w0_t[0], MD5C00, MD5S00);
268 MD5_STEP (MD5_Fo, d, a, b, c, w0_t[1], MD5C01, MD5S01);
269 MD5_STEP (MD5_Fo, c, d, a, b, w0_t[2], MD5C02, MD5S02);
270 MD5_STEP (MD5_Fo, b, c, d, a, w0_t[3], MD5C03, MD5S03);
271 MD5_STEP (MD5_Fo, a, b, c, d, w1_t[0], MD5C04, MD5S00);
272 MD5_STEP (MD5_Fo, d, a, b, c, w1_t[1], MD5C05, MD5S01);
273 MD5_STEP (MD5_Fo, c, d, a, b, w1_t[2], MD5C06, MD5S02);
274 MD5_STEP (MD5_Fo, b, c, d, a, w1_t[3], MD5C07, MD5S03);
275 MD5_STEP (MD5_Fo, a, b, c, d, w2_t[0], MD5C08, MD5S00);
276 MD5_STEP (MD5_Fo, d, a, b, c, w2_t[1], MD5C09, MD5S01);
277 MD5_STEP (MD5_Fo, c, d, a, b, w2_t[2], MD5C0a, MD5S02);
278 MD5_STEP (MD5_Fo, b, c, d, a, w2_t[3], MD5C0b, MD5S03);
279 MD5_STEP (MD5_Fo, a, b, c, d, w3_t[0], MD5C0c, MD5S00);
280 MD5_STEP (MD5_Fo, d, a, b, c, w3_t[1], MD5C0d, MD5S01);
281 MD5_STEP (MD5_Fo, c, d, a, b, w3_t[2], MD5C0e, MD5S02);
282 MD5_STEP (MD5_Fo, b, c, d, a, w3_t[3], MD5C0f, MD5S03);
284 MD5_STEP (MD5_Go, a, b, c, d, w0_t[1], MD5C10, MD5S10);
285 MD5_STEP (MD5_Go, d, a, b, c, w1_t[2], MD5C11, MD5S11);
286 MD5_STEP (MD5_Go, c, d, a, b, w2_t[3], MD5C12, MD5S12);
287 MD5_STEP (MD5_Go, b, c, d, a, w0_t[0], MD5C13, MD5S13);
288 MD5_STEP (MD5_Go, a, b, c, d, w1_t[1], MD5C14, MD5S10);
289 MD5_STEP (MD5_Go, d, a, b, c, w2_t[2], MD5C15, MD5S11);
290 MD5_STEP (MD5_Go, c, d, a, b, w3_t[3], MD5C16, MD5S12);
291 MD5_STEP (MD5_Go, b, c, d, a, w1_t[0], MD5C17, MD5S13);
292 MD5_STEP (MD5_Go, a, b, c, d, w2_t[1], MD5C18, MD5S10);
293 MD5_STEP (MD5_Go, d, a, b, c, w3_t[2], MD5C19, MD5S11);
294 MD5_STEP (MD5_Go, c, d, a, b, w0_t[3], MD5C1a, MD5S12);
295 MD5_STEP (MD5_Go, b, c, d, a, w2_t[0], MD5C1b, MD5S13);
296 MD5_STEP (MD5_Go, a, b, c, d, w3_t[1], MD5C1c, MD5S10);
297 MD5_STEP (MD5_Go, d, a, b, c, w0_t[2], MD5C1d, MD5S11);
298 MD5_STEP (MD5_Go, c, d, a, b, w1_t[3], MD5C1e, MD5S12);
299 MD5_STEP (MD5_Go, b, c, d, a, w3_t[0], MD5C1f, MD5S13);
301 MD5_STEP (MD5_H , a, b, c, d, w1_t[1], MD5C20, MD5S20);
302 MD5_STEP (MD5_H , d, a, b, c, w2_t[0], MD5C21, MD5S21);
303 MD5_STEP (MD5_H , c, d, a, b, w2_t[3], MD5C22, MD5S22);
304 MD5_STEP (MD5_H , b, c, d, a, w3_t[2], MD5C23, MD5S23);
305 MD5_STEP (MD5_H , a, b, c, d, w0_t[1], MD5C24, MD5S20);
306 MD5_STEP (MD5_H , d, a, b, c, w1_t[0], MD5C25, MD5S21);
307 MD5_STEP (MD5_H , c, d, a, b, w1_t[3], MD5C26, MD5S22);
308 MD5_STEP (MD5_H , b, c, d, a, w2_t[2], MD5C27, MD5S23);
309 MD5_STEP (MD5_H , a, b, c, d, w3_t[1], MD5C28, MD5S20);
310 MD5_STEP (MD5_H , d, a, b, c, w0_t[0], MD5C29, MD5S21);
311 MD5_STEP (MD5_H , c, d, a, b, w0_t[3], MD5C2a, MD5S22);
312 MD5_STEP (MD5_H , b, c, d, a, w1_t[2], MD5C2b, MD5S23);
313 MD5_STEP (MD5_H , a, b, c, d, w2_t[1], MD5C2c, MD5S20);
314 MD5_STEP (MD5_H , d, a, b, c, w3_t[0], MD5C2d, MD5S21);
315 MD5_STEP (MD5_H , c, d, a, b, w3_t[3], MD5C2e, MD5S22);
316 MD5_STEP (MD5_H , b, c, d, a, w0_t[2], MD5C2f, MD5S23);
318 MD5_STEP (MD5_I , a, b, c, d, w0_t[0], MD5C30, MD5S30);
319 MD5_STEP (MD5_I , d, a, b, c, w1_t[3], MD5C31, MD5S31);
320 MD5_STEP (MD5_I , c, d, a, b, w3_t[2], MD5C32, MD5S32);
321 MD5_STEP (MD5_I , b, c, d, a, w1_t[1], MD5C33, MD5S33);
322 MD5_STEP (MD5_I , a, b, c, d, w3_t[0], MD5C34, MD5S30);
323 MD5_STEP (MD5_I , d, a, b, c, w0_t[3], MD5C35, MD5S31);
324 MD5_STEP (MD5_I , c, d, a, b, w2_t[2], MD5C36, MD5S32);
325 MD5_STEP (MD5_I , b, c, d, a, w0_t[1], MD5C37, MD5S33);
326 MD5_STEP (MD5_I , a, b, c, d, w2_t[0], MD5C38, MD5S30);
327 MD5_STEP (MD5_I , d, a, b, c, w3_t[3], MD5C39, MD5S31);
328 MD5_STEP (MD5_I , c, d, a, b, w1_t[2], MD5C3a, MD5S32);
329 MD5_STEP (MD5_I , b, c, d, a, w3_t[1], MD5C3b, MD5S33);
330 MD5_STEP (MD5_I , a, b, c, d, w1_t[0], MD5C3c, MD5S30);
332 MD5_STEP (MD5_I , d, a, b, c, w2_t[3], MD5C3d, MD5S31);
333 MD5_STEP (MD5_I , c, d, a, b, w0_t[2], MD5C3e, MD5S32);
334 MD5_STEP (MD5_I , b, c, d, a, w2_t[1], MD5C3f, MD5S33);
341 #include VECT_COMPARE_M
345 extern "C" __global__ void __launch_bounds__ (256, 1) m03800_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 rules_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
349 extern "C" __global__ void __launch_bounds__ (256, 1) m03800_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 rules_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
353 extern "C" __global__ void __launch_bounds__ (256, 1) m03800_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 rules_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
359 const u32 lid = threadIdx.x;
365 const u32 gid = (blockIdx.x * blockDim.x) + threadIdx.x;
367 if (gid >= gid_max) return;
371 pw_buf0[0] = pws[gid].i[ 0];
372 pw_buf0[1] = pws[gid].i[ 1];
373 pw_buf0[2] = pws[gid].i[ 2];
374 pw_buf0[3] = pws[gid].i[ 3];
378 pw_buf1[0] = pws[gid].i[ 4];
379 pw_buf1[1] = pws[gid].i[ 5];
380 pw_buf1[2] = pws[gid].i[ 6];
381 pw_buf1[3] = pws[gid].i[ 7];
383 const u32 pw_len = pws[gid].pw_len;
391 salt_buf0[0] = salt_bufs[salt_pos].salt_buf[ 0];
392 salt_buf0[1] = salt_bufs[salt_pos].salt_buf[ 1];
393 salt_buf0[2] = salt_bufs[salt_pos].salt_buf[ 2];
394 salt_buf0[3] = salt_bufs[salt_pos].salt_buf[ 3];
398 salt_buf1[0] = salt_bufs[salt_pos].salt_buf[ 4];
399 salt_buf1[1] = salt_bufs[salt_pos].salt_buf[ 5];
400 salt_buf1[2] = salt_bufs[salt_pos].salt_buf[ 6];
401 salt_buf1[3] = salt_bufs[salt_pos].salt_buf[ 7];
417 const u32 salt_len = salt_bufs[salt_pos].salt_len;
423 const u32 search[4] =
425 digests_buf[digests_offset].digest_buf[DGST_R0],
426 digests_buf[digests_offset].digest_buf[DGST_R1],
427 digests_buf[digests_offset].digest_buf[DGST_R2],
428 digests_buf[digests_offset].digest_buf[DGST_R3]
435 for (u32 il_pos = 0; il_pos < rules_cnt; il_pos++)
465 const u32 out_len = apply_rules (c_rules[il_pos].cmds, w0, w1, pw_len);
500 switch_buffer_by_offset (w0_t, w1_t, w2_t, w3_t, salt_len);
502 w0_t[0] |= salt_buf0[0];
503 w0_t[1] |= salt_buf0[1];
504 w0_t[2] |= salt_buf0[2];
505 w0_t[3] |= salt_buf0[3];
506 w1_t[0] |= salt_buf1[0];
507 w1_t[1] |= salt_buf1[1];
508 w1_t[2] |= salt_buf1[2];
509 w1_t[3] |= salt_buf1[3];
510 w2_t[0] |= salt_buf2[0];
511 w2_t[1] |= salt_buf2[1];
512 w2_t[2] |= salt_buf2[2];
513 w2_t[3] |= salt_buf2[3];
514 w3_t[0] |= salt_buf3[0];
515 w3_t[1] |= salt_buf3[1];
516 w3_t[2] |= salt_buf3[2];
517 w3_t[3] |= salt_buf3[3];
525 s0[0] = salt_buf0[0];
526 s0[1] = salt_buf0[1];
527 s0[2] = salt_buf0[2];
528 s0[3] = salt_buf0[3];
532 s1[0] = salt_buf1[0];
533 s1[1] = salt_buf1[1];
534 s1[2] = salt_buf1[2];
535 s1[3] = salt_buf1[3];
551 switch_buffer_by_offset (s0, s1, s2, s3, salt_len + out_len);
570 const u32 pw_salt_len = salt_len + out_len + salt_len;
572 append_0x80_4 (w0_t, w1_t, w2_t, w3_t, pw_salt_len);
574 w3_t[2] = pw_salt_len * 8;
585 MD5_STEP (MD5_Fo, a, b, c, d, w0_t[0], MD5C00, MD5S00);
586 MD5_STEP (MD5_Fo, d, a, b, c, w0_t[1], MD5C01, MD5S01);
587 MD5_STEP (MD5_Fo, c, d, a, b, w0_t[2], MD5C02, MD5S02);
588 MD5_STEP (MD5_Fo, b, c, d, a, w0_t[3], MD5C03, MD5S03);
589 MD5_STEP (MD5_Fo, a, b, c, d, w1_t[0], MD5C04, MD5S00);
590 MD5_STEP (MD5_Fo, d, a, b, c, w1_t[1], MD5C05, MD5S01);
591 MD5_STEP (MD5_Fo, c, d, a, b, w1_t[2], MD5C06, MD5S02);
592 MD5_STEP (MD5_Fo, b, c, d, a, w1_t[3], MD5C07, MD5S03);
593 MD5_STEP (MD5_Fo, a, b, c, d, w2_t[0], MD5C08, MD5S00);
594 MD5_STEP (MD5_Fo, d, a, b, c, w2_t[1], MD5C09, MD5S01);
595 MD5_STEP (MD5_Fo, c, d, a, b, w2_t[2], MD5C0a, MD5S02);
596 MD5_STEP (MD5_Fo, b, c, d, a, w2_t[3], MD5C0b, MD5S03);
597 MD5_STEP (MD5_Fo, a, b, c, d, w3_t[0], MD5C0c, MD5S00);
598 MD5_STEP (MD5_Fo, d, a, b, c, w3_t[1], MD5C0d, MD5S01);
599 MD5_STEP (MD5_Fo, c, d, a, b, w3_t[2], MD5C0e, MD5S02);
600 MD5_STEP (MD5_Fo, b, c, d, a, w3_t[3], MD5C0f, MD5S03);
602 MD5_STEP (MD5_Go, a, b, c, d, w0_t[1], MD5C10, MD5S10);
603 MD5_STEP (MD5_Go, d, a, b, c, w1_t[2], MD5C11, MD5S11);
604 MD5_STEP (MD5_Go, c, d, a, b, w2_t[3], MD5C12, MD5S12);
605 MD5_STEP (MD5_Go, b, c, d, a, w0_t[0], MD5C13, MD5S13);
606 MD5_STEP (MD5_Go, a, b, c, d, w1_t[1], MD5C14, MD5S10);
607 MD5_STEP (MD5_Go, d, a, b, c, w2_t[2], MD5C15, MD5S11);
608 MD5_STEP (MD5_Go, c, d, a, b, w3_t[3], MD5C16, MD5S12);
609 MD5_STEP (MD5_Go, b, c, d, a, w1_t[0], MD5C17, MD5S13);
610 MD5_STEP (MD5_Go, a, b, c, d, w2_t[1], MD5C18, MD5S10);
611 MD5_STEP (MD5_Go, d, a, b, c, w3_t[2], MD5C19, MD5S11);
612 MD5_STEP (MD5_Go, c, d, a, b, w0_t[3], MD5C1a, MD5S12);
613 MD5_STEP (MD5_Go, b, c, d, a, w2_t[0], MD5C1b, MD5S13);
614 MD5_STEP (MD5_Go, a, b, c, d, w3_t[1], MD5C1c, MD5S10);
615 MD5_STEP (MD5_Go, d, a, b, c, w0_t[2], MD5C1d, MD5S11);
616 MD5_STEP (MD5_Go, c, d, a, b, w1_t[3], MD5C1e, MD5S12);
617 MD5_STEP (MD5_Go, b, c, d, a, w3_t[0], MD5C1f, MD5S13);
619 MD5_STEP (MD5_H , a, b, c, d, w1_t[1], MD5C20, MD5S20);
620 MD5_STEP (MD5_H , d, a, b, c, w2_t[0], MD5C21, MD5S21);
621 MD5_STEP (MD5_H , c, d, a, b, w2_t[3], MD5C22, MD5S22);
622 MD5_STEP (MD5_H , b, c, d, a, w3_t[2], MD5C23, MD5S23);
623 MD5_STEP (MD5_H , a, b, c, d, w0_t[1], MD5C24, MD5S20);
624 MD5_STEP (MD5_H , d, a, b, c, w1_t[0], MD5C25, MD5S21);
625 MD5_STEP (MD5_H , c, d, a, b, w1_t[3], MD5C26, MD5S22);
626 MD5_STEP (MD5_H , b, c, d, a, w2_t[2], MD5C27, MD5S23);
627 MD5_STEP (MD5_H , a, b, c, d, w3_t[1], MD5C28, MD5S20);
628 MD5_STEP (MD5_H , d, a, b, c, w0_t[0], MD5C29, MD5S21);
629 MD5_STEP (MD5_H , c, d, a, b, w0_t[3], MD5C2a, MD5S22);
630 MD5_STEP (MD5_H , b, c, d, a, w1_t[2], MD5C2b, MD5S23);
631 MD5_STEP (MD5_H , a, b, c, d, w2_t[1], MD5C2c, MD5S20);
632 MD5_STEP (MD5_H , d, a, b, c, w3_t[0], MD5C2d, MD5S21);
633 MD5_STEP (MD5_H , c, d, a, b, w3_t[3], MD5C2e, MD5S22);
634 MD5_STEP (MD5_H , b, c, d, a, w0_t[2], MD5C2f, MD5S23);
636 MD5_STEP (MD5_I , a, b, c, d, w0_t[0], MD5C30, MD5S30);
637 MD5_STEP (MD5_I , d, a, b, c, w1_t[3], MD5C31, MD5S31);
638 MD5_STEP (MD5_I , c, d, a, b, w3_t[2], MD5C32, MD5S32);
639 MD5_STEP (MD5_I , b, c, d, a, w1_t[1], MD5C33, MD5S33);
640 MD5_STEP (MD5_I , a, b, c, d, w3_t[0], MD5C34, MD5S30);
641 MD5_STEP (MD5_I , d, a, b, c, w0_t[3], MD5C35, MD5S31);
642 MD5_STEP (MD5_I , c, d, a, b, w2_t[2], MD5C36, MD5S32);
643 MD5_STEP (MD5_I , b, c, d, a, w0_t[1], MD5C37, MD5S33);
644 MD5_STEP (MD5_I , a, b, c, d, w2_t[0], MD5C38, MD5S30);
645 MD5_STEP (MD5_I , d, a, b, c, w3_t[3], MD5C39, MD5S31);
646 MD5_STEP (MD5_I , c, d, a, b, w1_t[2], MD5C3a, MD5S32);
647 MD5_STEP (MD5_I , b, c, d, a, w3_t[1], MD5C3b, MD5S33);
648 MD5_STEP (MD5_I , a, b, c, d, w1_t[0], MD5C3c, MD5S30);
649 MD5_STEP (MD5_I , d, a, b, c, w2_t[3], MD5C3d, MD5S31);
650 MD5_STEP (MD5_I , c, d, a, b, w0_t[2], MD5C3e, MD5S32);
651 MD5_STEP (MD5_I , b, c, d, a, w2_t[1], MD5C3f, MD5S33);
658 #include VECT_COMPARE_S
662 extern "C" __global__ void __launch_bounds__ (256, 1) m03800_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 rules_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)
666 extern "C" __global__ void __launch_bounds__ (256, 1) m03800_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 rules_cnt, const u32 digests_cnt, const u32 digests_offset, const u32 combs_mode, const u32 gid_max)