mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-26 06:24:17 +00:00
assign correct size to the buffer
This commit is contained in:
parent
297a5e4eaa
commit
09bc88214e
@ -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…
x
Reference in New Issue
Block a user