From 16e33b20fc849dbe23a971153d893e7dd50a2ed7 Mon Sep 17 00:00:00 2001 From: jsteube Date: Fri, 8 Sep 2017 19:42:34 +0200 Subject: [PATCH] Fix out of boundary access in -m 4700 --- OpenCL/m04700_a0.cl | 2 -- OpenCL/m04700_a1.cl | 2 -- 2 files changed, 4 deletions(-) diff --git a/OpenCL/m04700_a0.cl b/OpenCL/m04700_a0.cl index 585b870c0..9c785a5fc 100644 --- a/OpenCL/m04700_a0.cl +++ b/OpenCL/m04700_a0.cl @@ -85,7 +85,6 @@ __kernel void m04700_mxx (__global pw_t *pws, __constant const kernel_rule_t *ru const u32 b = ctx0.h[1]; const u32 c = ctx0.h[2]; const u32 d = ctx0.h[3]; - const u32 e = ctx0.h[4]; sha1_ctx_t ctx; @@ -190,7 +189,6 @@ __kernel void m04700_sxx (__global pw_t *pws, __constant const kernel_rule_t *ru const u32 b = ctx0.h[1]; const u32 c = ctx0.h[2]; const u32 d = ctx0.h[3]; - const u32 e = ctx0.h[4]; sha1_ctx_t ctx; diff --git a/OpenCL/m04700_a1.cl b/OpenCL/m04700_a1.cl index 3e26c61e5..43be33eab 100644 --- a/OpenCL/m04700_a1.cl +++ b/OpenCL/m04700_a1.cl @@ -81,7 +81,6 @@ __kernel void m04700_mxx (__global pw_t *pws, __global const kernel_rule_t *rule const u32 b = ctx1.h[1]; const u32 c = ctx1.h[2]; const u32 d = ctx1.h[3]; - const u32 e = ctx1.h[4]; sha1_ctx_t ctx; @@ -184,7 +183,6 @@ __kernel void m04700_sxx (__global pw_t *pws, __global const kernel_rule_t *rule const u32 b = ctx1.h[1]; const u32 c = ctx1.h[2]; const u32 d = ctx1.h[3]; - const u32 e = ctx1.h[4]; sha1_ctx_t ctx;