X-Git-Url: https://www.flypig.org.uk/git/?a=blobdiff_plain;f=OpenCL%2Finc_rp.cl;h=4d2d22c2d35cd483b07b80501db22f8946e60fe0;hb=5caf32447e08c88ceb55841845d3ce3575bddeb4;hp=3a93e199c957b4085ae48d8e70a766ff8db500d6;hpb=2b7e36b0426713031691f5a6f10711055a2c0505;p=hashcat.git 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