mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 16:18:09 +00:00
Fix JiT compiler warning on intel for -m 22100
This commit is contained in:
parent
09c0cfcc04
commit
c201d15ab8
@ -39,7 +39,7 @@ typedef struct bitlocker_tmp
|
|||||||
#ifdef REAL_SHM
|
#ifdef REAL_SHM
|
||||||
#define SHM_TYPE2 LOCAL_AS
|
#define SHM_TYPE2 LOCAL_AS
|
||||||
#else
|
#else
|
||||||
#define SHM_TYPE2 GLOBAL_AS
|
#define SHM_TYPE2 GLOBAL_AS const
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
DECLSPEC void sha256_transform_vector_pc (const u32x *w0, const u32x *w1, const u32x *w2, const u32x *w3, u32x *digest, SHM_TYPE2 u32 s_wb_ke_pc[48])
|
DECLSPEC void sha256_transform_vector_pc (const u32x *w0, const u32x *w1, const u32x *w2, const u32x *w3, u32x *digest, SHM_TYPE2 u32 s_wb_ke_pc[48])
|
||||||
@ -258,7 +258,7 @@ KERNEL_FQ void m22100_loop (KERN_ATTR_TMPS_ESALT (bitlocker_tmp_t, bitlocker_t))
|
|||||||
#ifdef REAL_SHM
|
#ifdef REAL_SHM
|
||||||
LOCAL_VK u32 s_wb_ke_pc[FIXED_ITER_INCR][48];
|
LOCAL_VK u32 s_wb_ke_pc[FIXED_ITER_INCR][48];
|
||||||
#else
|
#else
|
||||||
GLOBAL_AS u32 (*s_wb_ke_pc)[48];
|
GLOBAL_AS const u32 (*s_wb_ke_pc)[48];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
for (u32 t = 0; t < FIXED_ITER_TOTAL; t += FIXED_ITER_INCR)
|
for (u32 t = 0; t < FIXED_ITER_TOTAL; t += FIXED_ITER_INCR)
|
||||||
|
Loading…
Reference in New Issue
Block a user