X-Git-Url: https://www.flypig.org.uk/git/?a=blobdiff_plain;f=OpenCL%2Fm08600_a1.cl;h=58be048ed3ff23c3fe794d45d76cda7b05e3a41b;hb=c79bed3b7de4ac974a3ea5d3b498f4fe712f93b9;hp=90cf979f442db0fd0933484b9cfddb8fd0225d0e;hpb=34c3557d507d85ed2c6f2e036d226776e0ffbf72;p=hashcat.git diff --git a/OpenCL/m08600_a1.cl b/OpenCL/m08600_a1.cl index 90cf979..58be048 100644 --- a/OpenCL/m08600_a1.cl +++ b/OpenCL/m08600_a1.cl @@ -79,7 +79,9 @@ void lotus_mix (u32x *in, __local u32 *s_lotus_magic_table) { u32 s = 48; - #pragma unroll 12 + #ifdef _unroll + #pragma unroll + #endif for (int j = 0; j < 12; j++) { u32x tmp_in = in[j]; @@ -101,7 +103,9 @@ void lotus_transform_password (u32x in[4], u32x out[4], __local u32 *s_lotus_mag u32x c; - #pragma unroll 4 + #ifdef _unroll + #pragma unroll + #endif for (int i = 0; i < 4; i++) { t ^= (in[i] >> 0) & 0xff; c = BOX1 (s_lotus_magic_table, t); out[i] ^= c << 0; t = ((out[i] >> 0) & 0xff);