diff --git a/OpenCL/m07700_a0-optimized.cl b/OpenCL/m07700_a0-optimized.cl index ce1601902..2fa57cdbc 100644 --- a/OpenCL/m07700_a0-optimized.cl +++ b/OpenCL/m07700_a0-optimized.cl @@ -329,7 +329,7 @@ __kernel void m07700_m04 (__global pw_t *pws, __global const kernel_rule_t *rule t[14] = pw_salt_len * 8; t[15] = 0; - PUTCHAR (t, pw_salt_len, 0x80); + append_0x80_4x4_S (t + 0, t + 4, t + 8, t + 12, pw_salt_len); /** * md5 @@ -415,7 +415,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); - PUTCHAR (t, sum20, 0x80); + append_0x80_4x4_S (t + 0, t + 4, t + 8, t + 12, sum20); t[14] = sum20 * 8; @@ -644,7 +644,7 @@ __kernel void m07700_s04 (__global pw_t *pws, __global const kernel_rule_t *rule t[14] = pw_salt_len * 8; t[15] = 0; - PUTCHAR (t, pw_salt_len, 0x80); + append_0x80_4x4_S (t + 0, t + 4, t + 8, t + 12, pw_salt_len); /** * md5 @@ -730,7 +730,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); - PUTCHAR (t, sum20, 0x80); + append_0x80_4x4_S (t + 0, t + 4, t + 8, t + 12, sum20); t[14] = sum20 * 8; diff --git a/OpenCL/m07700_a1-optimized.cl b/OpenCL/m07700_a1-optimized.cl index 122a2b86e..cdc24160a 100644 --- a/OpenCL/m07700_a1-optimized.cl +++ b/OpenCL/m07700_a1-optimized.cl @@ -370,7 +370,7 @@ __kernel void m07700_m04 (__global pw_t *pws, __global const kernel_rule_t *rule t[14] = pw_salt_len * 8; t[15] = 0; - PUTCHAR (t, pw_salt_len, 0x80); + append_0x80_4x4_S (t + 0, t + 4, t + 8, t + 12, pw_salt_len); /** * md5 @@ -456,7 +456,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); - PUTCHAR (t, sum20, 0x80); + append_0x80_4x4_S (t + 0, t + 4, t + 8, t + 12, sum20); t[14] = sum20 * 8; @@ -728,7 +728,7 @@ __kernel void m07700_s04 (__global pw_t *pws, __global const kernel_rule_t *rule t[14] = pw_salt_len * 8; t[15] = 0; - PUTCHAR (t, pw_salt_len, 0x80); + append_0x80_4x4_S (t + 0, t + 4, t + 8, t + 12, pw_salt_len); /** * md5 @@ -814,7 +814,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); - PUTCHAR (t, sum20, 0x80); + append_0x80_4x4_S (t + 0, t + 4, t + 8, t + 12, sum20); t[14] = sum20 * 8; diff --git a/OpenCL/m07700_a3-optimized.cl b/OpenCL/m07700_a3-optimized.cl index d5387f9ed..81214dbce 100644 --- a/OpenCL/m07700_a3-optimized.cl +++ b/OpenCL/m07700_a3-optimized.cl @@ -296,7 +296,7 @@ void m07700m (u32 w0[4], u32 w1[4], u32 w2[4], u32 w3[4], const u32 pw_len, __gl t[14] = pw_salt_len * 8; t[15] = 0; - PUTCHAR (t, pw_salt_len, 0x80); + append_0x80_4x4_S (t + 0, t + 4, t + 8, t + 12, pw_salt_len); /** * md5 @@ -382,7 +382,7 @@ void m07700m (u32 w0[4], u32 w1[4], u32 w2[4], u32 w3[4], const u32 pw_len, __gl const u32 sum20 = walld0rf_magic (w0, pw_len, salt_buf0, salt_len, a, b, c, d, t); - PUTCHAR (t, sum20, 0x80); + append_0x80_4x4_S (t + 0, t + 4, t + 8, t + 12, sum20); t[14] = sum20 * 8; @@ -572,7 +572,7 @@ void m07700s (u32 w0[4], u32 w1[4], u32 w2[4], u32 w3[4], const u32 pw_len, __gl t[14] = pw_salt_len * 8; t[15] = 0; - PUTCHAR (t, pw_salt_len, 0x80); + append_0x80_4x4_S (t + 0, t + 4, t + 8, t + 12, pw_salt_len); /** * md5 @@ -658,7 +658,7 @@ void m07700s (u32 w0[4], u32 w1[4], u32 w2[4], u32 w3[4], const u32 pw_len, __gl const u32 sum20 = walld0rf_magic (w0, pw_len, salt_buf0, salt_len, a, b, c, d, t); - PUTCHAR (t, sum20, 0x80); + append_0x80_4x4_S (t + 0, t + 4, t + 8, t + 12, sum20); t[14] = sum20 * 8;