From d7f078cb45e5d0b3029c14e4d9cbf8e49c158ce2 Mon Sep 17 00:00:00 2001 From: jsteube Date: Thu, 18 Aug 2016 13:11:29 +0200 Subject: [PATCH] Eventual workaround for https://github.com/hashcat/hashcat/issues/456 --- OpenCL/m06223.cl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenCL/m06223.cl b/OpenCL/m06223.cl index a10579228..1e3dc1a9e 100644 --- a/OpenCL/m06223.cl +++ b/OpenCL/m06223.cl @@ -671,7 +671,7 @@ __kernel void m06223_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf } } - u32 ukey5[8]; + volatile u32 ukey5[8]; ukey5[0] = swap32 (h32_from_64 (tmps[gid].out[16])); ukey5[1] = swap32 (l32_from_64 (tmps[gid].out[16])); @@ -682,7 +682,7 @@ __kernel void m06223_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf ukey5[6] = swap32 (h32_from_64 (tmps[gid].out[19])); ukey5[7] = swap32 (l32_from_64 (tmps[gid].out[19])); - u32 ukey6[8]; + volatile u32 ukey6[8]; ukey6[0] = swap32 (h32_from_64 (tmps[gid].out[20])); ukey6[1] = swap32 (l32_from_64 (tmps[gid].out[20]));