Add optional CryptoNight-Lite support.
This commit is contained in:
parent
3b46f5eb64
commit
d3b0038bda
15 changed files with 1061 additions and 22 deletions
|
@ -28,7 +28,8 @@
|
|||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#define MEMORY 2097152 /* 2 MiB */
|
||||
#define MEMORY 2097152 /* 2 MiB */
|
||||
#define MEMORY_LITE 1048576 /* 1 MiB */
|
||||
|
||||
struct cryptonight_ctx {
|
||||
uint8_t state0[200] __attribute__((aligned(16)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue