Skip to content

Commit

Permalink
Fixed soft aes detection
Browse files Browse the repository at this point in the history
  • Loading branch information
MoneroOcean committed Jun 26, 2018
1 parent c8a3e0e commit fc9f6ac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions multihashing.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@

#if defined(__ARM_ARCH)
#define XMRIG_ARM 1
#define __ARM_FEATURE_CRYPTO 1
#include "xmrig/crypto/CryptoNight_arm.h"
#else
#include "xmrig/crypto/CryptoNight_x86.h"
#endif

#if (defined(__AES__) && (__AES__ == 1)) || (defined(__ARM_NEON) && (__ARM_NEON == 1))
#if (defined(__AES__) && (__AES__ == 1)) || (defined(__ARM_FEATURE_CRYPTO) && (__ARM_FEATURE_CRYPTO == 1))
#define SOFT_AES false
#else
#warning Using software AES
Expand Down

0 comments on commit fc9f6ac

Please sign in to comment.