mirror of https://github.com/GOSTSec/sgminer
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
364 B
12 lines
364 B
9 years ago
|
#ifndef LYRA2REV2_H
|
||
|
#define LYRA2REV2_H
|
||
|
|
||
|
#include "miner.h"
|
||
|
#define LYRA_SCRATCHBUF_SIZE (1536) // matrix size [12][4][4] uint64_t or equivalent
|
||
|
#define LYRA_SECBUF_SIZE (4) // (not used)
|
||
|
extern int lyra2rev2_test(unsigned char *pdata, const unsigned char *ptarget,
|
||
|
uint32_t nonce);
|
||
|
extern void lyra2rev2_regenhash(struct work *work);
|
||
|
|
||
|
#endif /* LYRA2REV2_H */
|