From: jsteube Date: Tue, 19 Jul 2016 19:07:30 +0000 (+0200) Subject: Some experiment. This should increase rule-based cracking on nvidia slightly X-Git-Url: https://www.flypig.org.uk/git/?p=hashcat.git;a=commitdiff_plain;h=5caf32447e08c88ceb55841845d3ce3575bddeb4 Some experiment. This should increase rule-based cracking on nvidia slightly --- diff --git a/OpenCL/inc_rp.cl b/OpenCL/inc_rp.cl index 3a93e19..4d2d22c 100644 --- a/OpenCL/inc_rp.cl +++ b/OpenCL/inc_rp.cl @@ -5,6 +5,16 @@ * License.....: MIT */ +#define DO_NOT_USE_BYTE_PERM + +#ifdef DO_NOT_USE_BYTE_PERM +#ifdef IS_NV +#undef IS_NV +#define IS_GENERIC +#define RESTORE_NV +#endif +#endif + inline u32 apply_rule (const u32 name, const u32 p0, const u32 p1, u32 buf0[4], u32 buf1[4], const u32 in_len); inline u32 apply_rules (const __global u32 *cmds, u32 buf0[4], u32 buf1[4], const u32 len); inline u32x apply_rules_vect (const u32 pw_buf0[4], const u32 pw_buf1[4], const u32 pw_len, const __global kernel_rule_t *rules_buf, const u32 il_pos, u32x w0[4], u32x w1[4]); @@ -4355,3 +4365,11 @@ inline u32x apply_rules_vect (const u32 pw_buf0[4], const u32 pw_buf1[4], const #endif } + +#ifdef DO_NOT_USE_BYTE_PERM +#ifdef RESTORE_NV +#undef RESTORE_NV +#undef IS_GENERIC +#define IS_NV +#endif +#endif