X-Git-Url: https://www.flypig.org.uk/git/?a=blobdiff_plain;f=OpenCL%2Fm09710_a3.cl;h=61f23d1a9813e8d9a47745b0fca1a40d42c8ec87;hb=c79bed3b7de4ac974a3ea5d3b498f4fe712f93b9;hp=8aa72e2bdb37428e48e3639c72ee8cba689e85d5;hpb=34c3557d507d85ed2c6f2e036d226776e0ffbf72;p=hashcat.git diff --git a/OpenCL/m09710_a3.cl b/OpenCL/m09710_a3.cl index 8aa72e2..61f23d1 100644 --- a/OpenCL/m09710_a3.cl +++ b/OpenCL/m09710_a3.cl @@ -47,7 +47,9 @@ void rc4_init_16 (__local RC4_KEY *rc4_key, const u32 data[4]) __local u32 *ptr = (__local u32 *) rc4_key->S; + #ifdef _unroll #pragma unroll + #endif for (u32 i = 0; i < 64; i++) { *ptr++ = v; v += a; @@ -93,7 +95,9 @@ void rc4_init_16 (__local RC4_KEY *rc4_key, const u32 data[4]) u8 rc4_next_16 (__local RC4_KEY *rc4_key, u8 i, u8 j, const u32 in[4], u32 out[4]) { + #ifdef _unroll #pragma unroll + #endif for (u32 k = 0; k < 4; k++) { u32 xor4 = 0;