From dce8c74fa8ca40551ecb442f91d6946ab73acea8 Mon Sep 17 00:00:00 2001 From: tevador Date: Mon, 18 Feb 2019 08:45:39 +0100 Subject: [PATCH] Fixed software AES in getResult --- src/VirtualMachine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VirtualMachine.cpp b/src/VirtualMachine.cpp index 057026c..f39217e 100644 --- a/src/VirtualMachine.cpp +++ b/src/VirtualMachine.cpp @@ -89,7 +89,7 @@ namespace RandomX { template void VirtualMachine::getResult(void* scratchpad, size_t scratchpadSize, void* outHash) { if (scratchpadSize > 0) { - hashAes1Rx4(scratchpad, scratchpadSize, ®.a); + hashAes1Rx4(scratchpad, scratchpadSize, ®.a); } blake2b(outHash, ResultSize, ®, sizeof(RegisterFile), nullptr, 0); }