1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 16:18:09 +00:00

Fix salt array for -m 19300 in -a 3 mode if SIMD is used

This commit is contained in:
jsteube 2019-03-04 13:31:49 +01:00
parent e7e16d00af
commit 8d6a69b2a9

View File

@ -50,8 +50,8 @@ __kernel void m19300_mxx (KERN_ATTR_VECTOR_ESALT (sha1_double_salt_t))
const int salt1_len = esalt_bufs[digests_offset].salt1_len;
const int salt2_len = esalt_bufs[digests_offset].salt2_len;
u32 s1[64] = { 0 };
u32 s2[64] = { 0 };
u32x s1[64] = { 0 };
u32x s2[64] = { 0 };
for (int i = 0, idx = 0; i < salt1_len; i += 4, idx += 1)
{
@ -137,8 +137,8 @@ __kernel void m19300_sxx (KERN_ATTR_VECTOR_ESALT (sha1_double_salt_t))
const int salt1_len = esalt_bufs[digests_offset].salt1_len;
const int salt2_len = esalt_bufs[digests_offset].salt2_len;
u32 s1[64] = { 0 };
u32 s2[64] = { 0 };
u32x s1[64] = { 0 };
u32x s2[64] = { 0 };
for (int i = 0, idx = 0; i < salt1_len; i += 4, idx += 1)
{