From 09bc88214e0cd6da44433988c981224b97727913 Mon Sep 17 00:00:00 2001 From: djm34 Date: Fri, 7 Aug 2015 11:37:36 +0200 Subject: [PATCH] assign correct size to the buffer --- algorithm/Lyra2RE.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/algorithm/Lyra2RE.h b/algorithm/Lyra2RE.h index f4698c65..ca4a04fb 100644 --- a/algorithm/Lyra2RE.h +++ b/algorithm/Lyra2RE.h @@ -2,8 +2,8 @@ #define LYRA2RE_H #include "miner.h" -#define LYRA_SCRATCHBUF_SIZE (4 ) // matrix extended to 16 matrix[16][8][8] uint64_t or equivalent -#define LYRA_SECBUF_SIZE (4) //8 uint64 +#define LYRA_SCRATCHBUF_SIZE (1536) // matrix size [12][4][4] uint64_t or equivalent +#define LYRA_SECBUF_SIZE (4) // (not used) extern int lyra2re_test(unsigned char *pdata, const unsigned char *ptarget, uint32_t nonce); extern void lyra2re_regenhash(struct work *work);