1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 14:58:01 +00:00
sgminer/algorithm/Lyra2RE.h

12 lines
365 B
C
Raw Normal View History

#ifndef LYRA2RE_H
#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
extern int lyra2re_test(unsigned char *pdata, const unsigned char *ptarget,
uint32_t nonce);
extern void lyra2re_regenhash(struct work *work);
#endif /* LYRA2RE_H */