From feda02bf5021fde035d58ee062f15cb76e0dbc83 Mon Sep 17 00:00:00 2001 From: XMRig Date: Fri, 9 Aug 2019 15:36:34 +0700 Subject: [PATCH] Disable HW AES for RandomX on ARM. --- src/crypto/rx/RxVm.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/crypto/rx/RxVm.cpp b/src/crypto/rx/RxVm.cpp index 6426443a4..275f9558b 100644 --- a/src/crypto/rx/RxVm.cpp +++ b/src/crypto/rx/RxVm.cpp @@ -33,9 +33,11 @@ xmrig::RxVm::RxVm(RxDataset *dataset, uint8_t *scratchpad, bool softAes) { +# ifndef XMRIG_ARM if (!softAes) { m_flags |= RANDOMX_FLAG_HARD_AES; } +# endif if (dataset->get()) { m_flags |= RANDOMX_FLAG_FULL_MEM;