From: Gabriele 'matrix' Gristina Date: Tue, 8 Mar 2016 11:05:00 +0000 (+0100) Subject: Fix build failure for -m 13100 on Apple Platform X-Git-Tag: v3.00-beta~182^2 X-Git-Url: https://www.flypig.org.uk/git/?a=commitdiff_plain;h=c2a32eddb32969a34642a72e58f3bf35c805c3ae;p=hashcat.git Fix build failure for -m 13100 on Apple Platform --- diff --git a/OpenCL/m13100_a0.cl b/OpenCL/m13100_a0.cl index 945462f..9d55fbc 100644 --- a/OpenCL/m13100_a0.cl +++ b/OpenCL/m13100_a0.cl @@ -1,6 +1,7 @@ /** * Authors......: Jens Steube - * Authors......: Fist0urs + * Fist0urs + * Gabriele Gristina * * License.....: MIT */ @@ -89,7 +90,7 @@ static void rc4_init_16 (__local RC4_KEY *rc4_key, const u32 data[4]) } } -static u8 rc4_next_16 (__local RC4_KEY *rc4_key, u8 i, u8 j, __global u32 in[4], u32 out[4]) +static u8 rc4_next_16 (__local RC4_KEY *rc4_key, u8 i, u8 j, __global u32 *in, u32 out[4]) { #pragma unroll for (u32 k = 0; k < 4; k++) diff --git a/OpenCL/m13100_a1.cl b/OpenCL/m13100_a1.cl index 9b82442..93e7757 100644 --- a/OpenCL/m13100_a1.cl +++ b/OpenCL/m13100_a1.cl @@ -1,6 +1,7 @@ /** * Authors......: Jens Steube - * Authors......: Fist0urs + * Fist0urs + * Gabriele Gristina * * License.....: MIT */ @@ -87,7 +88,7 @@ static void rc4_init_16 (__local RC4_KEY *rc4_key, const u32 data[4]) } } -static u8 rc4_next_16 (__local RC4_KEY *rc4_key, u8 i, u8 j, __global u32 in[4], u32 out[4]) +static u8 rc4_next_16 (__local RC4_KEY *rc4_key, u8 i, u8 j, __global u32 *in, u32 out[4]) { #pragma unroll for (u32 k = 0; k < 4; k++) diff --git a/OpenCL/m13100_a3.cl b/OpenCL/m13100_a3.cl index 1c1ca00..1b4a6bf 100644 --- a/OpenCL/m13100_a3.cl +++ b/OpenCL/m13100_a3.cl @@ -1,6 +1,7 @@ /** * Authors......: Jens Steube - * Authors......: Fist0urs + * Fist0urs + * Gabriele Gristina * * License.....: MIT */ @@ -87,7 +88,7 @@ static void rc4_init_16 (__local RC4_KEY *rc4_key, const u32 data[4]) } } -static u8 rc4_next_16 (__local RC4_KEY *rc4_key, u8 i, u8 j, __global u32 in[4], u32 out[4]) +static u8 rc4_next_16 (__local RC4_KEY *rc4_key, u8 i, u8 j, __global u32 *in, u32 out[4]) { #pragma unroll for (u32 k = 0; k < 4; k++)