From 656d8d6495bec0025ec0910b86e379e8728c20fa Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sat, 21 Sep 2013 20:07:50 -0700 Subject: [PATCH] Disable donna_c64 on big endian architectures for now --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 10deefd4..d8e9a91f 100644 --- a/configure.ac +++ b/configure.ac @@ -325,6 +325,9 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #if defined(__clang__) && !defined(__x86_64__) # error clang doesn't properly compile smult_curve25519_donna_c64.c #endif +#ifndef NATIVE_LITTLE_ENDIAN +# error donna_c64 currently requires a little endian CPU +#endif #include typedef unsigned uint128_t __attribute__((mode(TI))); void fcontract(uint128_t *t) {