Fix out of boundary access in -m 4700

pull/1358/head
jsteube 7 years ago
parent 51dd982b12
commit 16e33b20fc

@ -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;

@ -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;

Loading…
Cancel
Save