mirror of
https://git.wownero.com/wownero/RandomWOW.git
synced 2024-08-15 00:23:14 +00:00
Fixed software AES in getResult
This commit is contained in:
parent
9a23bdb40d
commit
dce8c74fa8
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ namespace RandomX {
|
|||
template<bool softAes>
|
||||
void VirtualMachine::getResult(void* scratchpad, size_t scratchpadSize, void* outHash) {
|
||||
if (scratchpadSize > 0) {
|
||||
hashAes1Rx4<false>(scratchpad, scratchpadSize, ®.a);
|
||||
hashAes1Rx4<softAes>(scratchpad, scratchpadSize, ®.a);
|
||||
}
|
||||
blake2b(outHash, ResultSize, ®, sizeof(RegisterFile), nullptr, 0);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue