Browse Source

assign correct size to the buffer

djm34
djm34 9 years ago
parent
commit
09bc88214e
  1. 4
      algorithm/Lyra2RE.h

4
algorithm/Lyra2RE.h

@ -2,8 +2,8 @@
#define LYRA2RE_H #define LYRA2RE_H
#include "miner.h" #include "miner.h"
#define LYRA_SCRATCHBUF_SIZE (4 ) // matrix extended to 16 matrix[16][8][8] uint64_t or equivalent #define LYRA_SCRATCHBUF_SIZE (1536) // matrix size [12][4][4] uint64_t or equivalent
#define LYRA_SECBUF_SIZE (4) //8 uint64 #define LYRA_SECBUF_SIZE (4) // (not used)
extern int lyra2re_test(unsigned char *pdata, const unsigned char *ptarget, extern int lyra2re_test(unsigned char *pdata, const unsigned char *ptarget,
uint32_t nonce); uint32_t nonce);
extern void lyra2re_regenhash(struct work *work); extern void lyra2re_regenhash(struct work *work);

Loading…
Cancel
Save