1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-23 00:28:11 +00:00

Fix variables s_Ch and s_Cl in whirlpool hashes in non REAL_SHM mode

This commit is contained in:
jsteube 2019-03-16 16:51:54 +01:00
parent e93590c11d
commit 70d1343d57
12 changed files with 70 additions and 70 deletions

View File

@ -64,8 +64,8 @@ __kernel void m06100_m04 (KERN_ATTR_RULES ())
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif
@ -204,8 +204,8 @@ __kernel void m06100_s04 (KERN_ATTR_RULES ())
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif

View File

@ -59,8 +59,8 @@ __kernel void m06100_mxx (KERN_ATTR_RULES ())
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif
@ -143,8 +143,8 @@ __kernel void m06100_sxx (KERN_ATTR_RULES ())
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif

View File

@ -62,8 +62,8 @@ __kernel void m06100_m04 (KERN_ATTR_BASIC ())
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif
@ -260,8 +260,8 @@ __kernel void m06100_s04 (KERN_ATTR_BASIC ())
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif

View File

@ -57,8 +57,8 @@ __kernel void m06100_mxx (KERN_ATTR_BASIC ())
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif
@ -139,8 +139,8 @@ __kernel void m06100_sxx (KERN_ATTR_BASIC ())
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif

View File

@ -212,8 +212,8 @@ __kernel void m06100_m04 (KERN_ATTR_BASIC ())
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif
@ -304,8 +304,8 @@ __kernel void m06100_m08 (KERN_ATTR_BASIC ())
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif
@ -400,8 +400,8 @@ __kernel void m06100_s04 (KERN_ATTR_BASIC ())
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif
@ -492,8 +492,8 @@ __kernel void m06100_s08 (KERN_ATTR_BASIC ())
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif

View File

@ -57,8 +57,8 @@ __kernel void m06100_mxx (KERN_ATTR_VECTOR ())
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif
@ -152,8 +152,8 @@ __kernel void m06100_sxx (KERN_ATTR_VECTOR ())
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif

View File

@ -194,8 +194,8 @@ __kernel void m06231_init (KERN_ATTR_TMPS_ESALT (tc_tmp_t, tc_t))
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif
@ -406,8 +406,8 @@ __kernel void m06231_loop (KERN_ATTR_TMPS_ESALT (tc_tmp_t, tc_t))
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif
@ -660,8 +660,8 @@ __kernel void m06231_comp (KERN_ATTR_TMPS_ESALT (tc_tmp_t, tc_t))
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif

View File

@ -194,8 +194,8 @@ __kernel void m06232_init (KERN_ATTR_TMPS_ESALT (tc_tmp_t, tc_t))
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif
@ -406,8 +406,8 @@ __kernel void m06232_loop (KERN_ATTR_TMPS_ESALT (tc_tmp_t, tc_t))
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif
@ -660,8 +660,8 @@ __kernel void m06232_comp (KERN_ATTR_TMPS_ESALT (tc_tmp_t, tc_t))
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif

View File

@ -194,8 +194,8 @@ __kernel void m06233_init (KERN_ATTR_TMPS_ESALT (tc_tmp_t, tc_t))
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif
@ -406,8 +406,8 @@ __kernel void m06233_loop (KERN_ATTR_TMPS_ESALT (tc_tmp_t, tc_t))
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif
@ -660,8 +660,8 @@ __kernel void m06233_comp (KERN_ATTR_TMPS_ESALT (tc_tmp_t, tc_t))
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif

View File

@ -5,8 +5,8 @@
//#define NEW_SIMD_CODE //#define NEW_SIMD_CODE
#undef LOCAL_MEM_TYPE //#undef LOCAL_MEM_TYPE
#define LOCAL_MEM_TYPE LOCAL_MEM_TYPE_GLOBAL //#define LOCAL_MEM_TYPE LOCAL_MEM_TYPE_GLOBAL
#include "inc_vendor.cl" #include "inc_vendor.cl"
#include "inc_hash_constants.h" #include "inc_hash_constants.h"
@ -238,8 +238,8 @@ __kernel void m13731_init (KERN_ATTR_TMPS_ESALT (vc_tmp_t, vc_t))
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif
@ -501,8 +501,8 @@ __kernel void m13731_loop (KERN_ATTR_TMPS_ESALT (vc_tmp_t, vc_t))
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif
@ -812,8 +812,8 @@ __kernel void m13731_comp (KERN_ATTR_TMPS_ESALT (vc_tmp_t, vc_t))
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif

View File

@ -5,8 +5,8 @@
//#define NEW_SIMD_CODE //#define NEW_SIMD_CODE
#undef LOCAL_MEM_TYPE //#undef LOCAL_MEM_TYPE
#define LOCAL_MEM_TYPE LOCAL_MEM_TYPE_GLOBAL //#define LOCAL_MEM_TYPE LOCAL_MEM_TYPE_GLOBAL
#include "inc_vendor.cl" #include "inc_vendor.cl"
#include "inc_hash_constants.h" #include "inc_hash_constants.h"
@ -289,8 +289,8 @@ __kernel void m13732_init (KERN_ATTR_TMPS_ESALT (vc_tmp_t, vc_t))
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif
@ -552,8 +552,8 @@ __kernel void m13732_loop (KERN_ATTR_TMPS_ESALT (vc_tmp_t, vc_t))
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif
@ -864,8 +864,8 @@ __kernel void m13732_comp (KERN_ATTR_TMPS_ESALT (vc_tmp_t, vc_t))
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif

View File

@ -5,8 +5,8 @@
//#define NEW_SIMD_CODE //#define NEW_SIMD_CODE
#undef LOCAL_MEM_TYPE //#undef LOCAL_MEM_TYPE
#define LOCAL_MEM_TYPE LOCAL_MEM_TYPE_GLOBAL //#define LOCAL_MEM_TYPE LOCAL_MEM_TYPE_GLOBAL
#include "inc_vendor.cl" #include "inc_vendor.cl"
#include "inc_hash_constants.h" #include "inc_hash_constants.h"
@ -354,8 +354,8 @@ __kernel void m13733_init (KERN_ATTR_TMPS_ESALT (vc_tmp_t, vc_t))
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif
@ -617,8 +617,8 @@ __kernel void m13733_loop (KERN_ATTR_TMPS_ESALT (vc_tmp_t, vc_t))
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif
@ -930,8 +930,8 @@ __kernel void m13733_comp (KERN_ATTR_TMPS_ESALT (vc_tmp_t, vc_t))
#else #else
__constant u32a *s_Ch = Ch; __constant u32a (*s_Ch)[256] = Ch;
__constant u32a *s_Cl = Cl; __constant u32a (*s_Cl)[256] = Cl;
#endif #endif