1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 10:05:05 -07:00

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__)
# 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 <stdint.h>
typedef unsigned uint128_t __attribute__((mode(TI)));
void fcontract(uint128_t *t) {