diff --git a/OpenCL/m07700_a0.cl b/OpenCL/m07700_a0.cl index aa03209c1..fc08339fd 100644 --- a/OpenCL/m07700_a0.cl +++ b/OpenCL/m07700_a0.cl @@ -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); - SETSHIFTEDINT (t, sum20, 0x80); + PUTCHAR (t, sum20, 0x80); 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); - SETSHIFTEDINT (t, sum20, 0x80); + PUTCHAR (t, sum20, 0x80); t[14] = sum20 * 8; diff --git a/OpenCL/m07700_a1.cl b/OpenCL/m07700_a1.cl index 804224481..dfccc1733 100644 --- a/OpenCL/m07700_a1.cl +++ b/OpenCL/m07700_a1.cl @@ -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); - SETSHIFTEDINT (t, sum20, 0x80); + PUTCHAR (t, sum20, 0x80); 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); - SETSHIFTEDINT (t, sum20, 0x80); + PUTCHAR (t, sum20, 0x80); t[14] = sum20 * 8; diff --git a/OpenCL/m07700_a3.cl b/OpenCL/m07700_a3.cl index ecc002867..dfe84024f 100644 --- a/OpenCL/m07700_a3.cl +++ b/OpenCL/m07700_a3.cl @@ -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); - SETSHIFTEDINT (t, sum20, 0x80); + PUTCHAR (t, sum20, 0x80); 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); - SETSHIFTEDINT (t, sum20, 0x80); + PUTCHAR (t, sum20, 0x80); t[14] = sum20 * 8;