From f859f466efaa8bf885f25c8bf6c9a28039d401c3 Mon Sep 17 00:00:00 2001 From: jsteube Date: Fri, 1 Sep 2017 16:10:29 +0200 Subject: [PATCH] Fix -m 8300 in -a 0 mode --- OpenCL/m08300_a0.cl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenCL/m08300_a0.cl b/OpenCL/m08300_a0.cl index 9f4eae635..d23bbcdd8 100644 --- a/OpenCL/m08300_a0.cl +++ b/OpenCL/m08300_a0.cl @@ -66,7 +66,7 @@ __kernel void m08300_mxx (__global pw_t *pws, __constant const kernel_rule_t *ru sha1_init (&ctx1); - ctx1.w0[0] = (pw_len & 0xff) << 24; + ctx1.w0[0] = (tmp.pw_len & 0xff) << 24; ctx1.len = 1; @@ -185,7 +185,7 @@ __kernel void m08300_sxx (__global pw_t *pws, __constant const kernel_rule_t *ru sha1_init (&ctx1); - ctx1.w0[0] = (pw_len & 0xff) << 24; + ctx1.w0[0] = (tmp.pw_len & 0xff) << 24; ctx1.len = 1;