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

Replaced SETSHIFTEDINT() with PUTCHAR() on AMD to workaround OpenCL runtime bug

This commit is contained in:
jsteube 2016-12-01 18:10:55 +01:00
parent f218e85c4d
commit d3c10bdb35
3 changed files with 6 additions and 6 deletions

View File

@ -417,7 +417,7 @@ __kernel void m07700_m04 (__global pw_t *pws, __global const kernel_rule_t *rule
const u32 sum20 = walld0rf_magic (w0, out_len, salt_buf0, salt_len, a, b, c, d, t); const u32 sum20 = walld0rf_magic (w0, out_len, salt_buf0, salt_len, a, b, c, d, t);
SETSHIFTEDINT (t, sum20, 0x80); PUTCHAR (t, sum20, 0x80);
t[14] = sum20 * 8; t[14] = sum20 * 8;
@ -732,7 +732,7 @@ __kernel void m07700_s04 (__global pw_t *pws, __global const kernel_rule_t *rule
const u32 sum20 = walld0rf_magic (w0, out_len, salt_buf0, salt_len, a, b, c, d, t); const u32 sum20 = walld0rf_magic (w0, out_len, salt_buf0, salt_len, a, b, c, d, t);
SETSHIFTEDINT (t, sum20, 0x80); PUTCHAR (t, sum20, 0x80);
t[14] = sum20 * 8; t[14] = sum20 * 8;

View File

@ -458,7 +458,7 @@ __kernel void m07700_m04 (__global pw_t *pws, __global const kernel_rule_t *rule
const u32 sum20 = walld0rf_magic (w0, pw_len, salt_buf0, salt_len, a, b, c, d, t); const u32 sum20 = walld0rf_magic (w0, pw_len, salt_buf0, salt_len, a, b, c, d, t);
SETSHIFTEDINT (t, sum20, 0x80); PUTCHAR (t, sum20, 0x80);
t[14] = sum20 * 8; t[14] = sum20 * 8;
@ -816,7 +816,7 @@ __kernel void m07700_s04 (__global pw_t *pws, __global const kernel_rule_t *rule
const u32 sum20 = walld0rf_magic (w0, pw_len, salt_buf0, salt_len, a, b, c, d, t); const u32 sum20 = walld0rf_magic (w0, pw_len, salt_buf0, salt_len, a, b, c, d, t);
SETSHIFTEDINT (t, sum20, 0x80); PUTCHAR (t, sum20, 0x80);
t[14] = sum20 * 8; t[14] = sum20 * 8;

View File

@ -384,7 +384,7 @@ static void m07700m (u32 w0[4], u32 w1[4], u32 w2[4], u32 w3[4], const u32 pw_le
const u32 sum20 = walld0rf_magic (w0, pw_len, salt_buf0, salt_len, a, b, c, d, t); const u32 sum20 = walld0rf_magic (w0, pw_len, salt_buf0, salt_len, a, b, c, d, t);
SETSHIFTEDINT (t, sum20, 0x80); PUTCHAR (t, sum20, 0x80);
t[14] = sum20 * 8; t[14] = sum20 * 8;
@ -660,7 +660,7 @@ static void m07700s (u32 w0[4], u32 w1[4], u32 w2[4], u32 w3[4], const u32 pw_le
const u32 sum20 = walld0rf_magic (w0, pw_len, salt_buf0, salt_len, a, b, c, d, t); const u32 sum20 = walld0rf_magic (w0, pw_len, salt_buf0, salt_len, a, b, c, d, t);
SETSHIFTEDINT (t, sum20, 0x80); PUTCHAR (t, sum20, 0x80);
t[14] = sum20 * 8; t[14] = sum20 * 8;