1
0
mirror of https://github.com/xmrig/xmrig.git synced 2026-01-31 09:22:59 -05:00

Add optional CryptoNight-Lite support.

This commit is contained in:
XMRig
2017-05-10 12:58:52 +03:00
parent 3b46f5eb64
commit d3b0038bda
15 changed files with 1061 additions and 22 deletions

View File

@@ -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)));