Disable donna_c64 on big endian architectures for now

This commit is contained in:
Frank Denis 2013-09-21 20:07:50 -07:00
parent c43440f01c
commit 656d8d6495

View File

@ -325,6 +325,9 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#if defined(__clang__) && !defined(__x86_64__) #if defined(__clang__) && !defined(__x86_64__)
# error clang doesn't properly compile smult_curve25519_donna_c64.c # error clang doesn't properly compile smult_curve25519_donna_c64.c
#endif #endif
#ifndef NATIVE_LITTLE_ENDIAN
# error donna_c64 currently requires a little endian CPU
#endif
#include <stdint.h> #include <stdint.h>
typedef unsigned uint128_t __attribute__((mode(TI))); typedef unsigned uint128_t __attribute__((mode(TI)));
void fcontract(uint128_t *t) { void fcontract(uint128_t *t) {