Disable HW AES for RandomX on ARM.

This commit is contained in:
XMRig 2019-08-09 15:36:34 +07:00
parent 5cb3ef9068
commit feda02bf50

View file

@ -33,9 +33,11 @@
xmrig::RxVm::RxVm(RxDataset *dataset, uint8_t *scratchpad, bool softAes) xmrig::RxVm::RxVm(RxDataset *dataset, uint8_t *scratchpad, bool softAes)
{ {
# ifndef XMRIG_ARM
if (!softAes) { if (!softAes) {
m_flags |= RANDOMX_FLAG_HARD_AES; m_flags |= RANDOMX_FLAG_HARD_AES;
} }
# endif
if (dataset->get()) { if (dataset->get()) {
m_flags |= RANDOMX_FLAG_FULL_MEM; m_flags |= RANDOMX_FLAG_FULL_MEM;