Revert "Separate input/output flex_hash memory"
This reverts commit 2d1d781efa
.
This commit is contained in:
parent
9d8e9add07
commit
95d6482e2f
2 changed files with 3 additions and 4 deletions
|
@ -120,7 +120,7 @@ void SwapBytes(void *pv, unsigned int n)
|
|||
}
|
||||
|
||||
void flex_hash(const char* input, char* output, cryptonight_ctx** ctx) {
|
||||
uint32_t hash[64/4], hash2[64/4];
|
||||
uint32_t hash[64/4];
|
||||
sph_blake512_context ctx_blake;
|
||||
sph_bmw512_context ctx_bmw;
|
||||
sph_groestl512_context ctx_groestl;
|
||||
|
@ -289,8 +289,7 @@ void flex_hash(const char* input, char* output, cryptonight_ctx** ctx) {
|
|||
sph_whirlpool_close(&ctx_whirlpool, hash);
|
||||
break;
|
||||
}
|
||||
memcpy(hash2, hash, 64);
|
||||
in = (void*) hash2;
|
||||
in = (void*) hash;
|
||||
size = 64;
|
||||
}
|
||||
sph_keccak256_init(&ctx_keccak);
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#define APP_ID "xmrig"
|
||||
#define APP_NAME "XMRig"
|
||||
#define APP_DESC "XMRig miner"
|
||||
#define APP_VERSION "6.21.3-mo13"
|
||||
#define APP_VERSION "6.21.3-mo12"
|
||||
#define APP_DOMAIN "xmrig.com"
|
||||
#define APP_SITE "www.xmrig.com"
|
||||
#define APP_COPYRIGHT "Copyright (C) 2016-2024 xmrig.com"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue