Browse Source

field setting for ARM

cl-refactor
subtly 10 years ago
parent
commit
4c256e1c4a
  1. 4
      secp256k1/libsecp256k1-config.h

4
secp256k1/libsecp256k1-config.h

@ -90,7 +90,7 @@
#if defined(__x86_64__) || defined(_M_X64) #if defined(__x86_64__) || defined(_M_X64)
#define USE_FIELD_5X52 1 #define USE_FIELD_5X52 1
#elif defined(__i386) || defined(_M_IX86) #elif defined(__i386) || defined(_M_IX86) || defined(__arm__) || defined(__M_ARM)
#define USE_FIELD_10X26 1 #define USE_FIELD_10X26 1
#endif #endif
@ -108,7 +108,7 @@
#if defined(__x86_64__) || defined(_M_X64) #if defined(__x86_64__) || defined(_M_X64)
#define USE_SCALAR_4X64 1 #define USE_SCALAR_4X64 1
#elif defined(__i386) || defined(_M_IX86) #elif defined(__i386) || defined(_M_IX86) || defined(__arm__) || defined(__M_ARM)
#define USE_SCALAR_8X32 1 #define USE_SCALAR_8X32 1
#endif #endif

Loading…
Cancel
Save