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

Fix JiT compiler warning on intel for -m 22100

This commit is contained in:
Jens Steube 2020-01-03 09:54:03 +01:00
parent 09c0cfcc04
commit c201d15ab8

View File

@ -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)