Rewrite memory allocation.

This commit is contained in:
XMRig
2018-04-15 11:08:47 +07:00
parent 50e9045825
commit 31c786b5c3
19 changed files with 212 additions and 224 deletions

View File

@@ -40,8 +40,7 @@
struct cryptonight_ctx {
alignas(16) uint8_t state0[200];
alignas(16) uint8_t state1[200];
alignas(16) uint8_t state[200];
alignas(16) uint8_t* memory;
};