X-Git-Url: https://www.flypig.org.uk/git/?a=blobdiff_plain;f=OpenCL%2Fm08600_a3.cl;h=5b7d9240905b76df4324ff03702587de85c2ed60;hb=c79bed3b7de4ac974a3ea5d3b498f4fe712f93b9;hp=bd306536faca8181f7f9bee69309355f2624f25c;hpb=34c3557d507d85ed2c6f2e036d226776e0ffbf72;p=hashcat.git diff --git a/OpenCL/m08600_a3.cl b/OpenCL/m08600_a3.cl index bd30653..5b7d924 100644 --- a/OpenCL/m08600_a3.cl +++ b/OpenCL/m08600_a3.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);