Sync changes with AMD miner.

This commit is contained in:
XMRig 2018-07-20 03:37:07 +07:00
parent e8d6514bd3
commit f7b029eb05
9 changed files with 217 additions and 3 deletions

View file

@ -41,6 +41,12 @@ inline void keccak(const uint8_t *in, size_t inlen, uint8_t *md)
keccak(in, static_cast<int>(inlen), md, 200);
}
inline void keccak(const char *in, size_t inlen, uint8_t *md)
{
keccak(reinterpret_cast<const uint8_t *>(in), static_cast<int>(inlen), md, 200);
}
// update the state
void keccakf(uint64_t st[25], int norounds);