1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-24 21:44:38 +00:00

assign correct size to the buffer

This commit is contained in:
djm34 2015-08-07 11:37:36 +02:00
parent 297a5e4eaa
commit 09bc88214e

View File

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