Fix issue with ARMv8 not performing 128-bit math against constants correctly in debug builds. Fix was to use the __int128_t as const for integers. Also added ./configure --enable-curve25519=no128bit option to force FE to not use the int128_t math.

This commit is contained in:
David Garske
2017-07-14 10:39:30 -07:00
parent 43260f02f4
commit 8612d52844
6 changed files with 73 additions and 56 deletions
+1 -1
View File
@@ -41,7 +41,7 @@
#include <wolfcrypt/src/misc.c>
#endif
#ifdef HAVE___UINT128_T
#ifdef CURVED25519_128BIT
#include "fe_x25519_128.i"
#else