From 4bf32cad273fc34ff766c981d7afd44dcf33aaef Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 31 Oct 2017 11:15:18 +0100 Subject: curve25519: only enable int128 if compiler support is sound --- src/crypto/curve25519.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/crypto/curve25519.c b/src/crypto/curve25519.c index c594a56..afc2a99 100644 --- a/src/crypto/curve25519.c +++ b/src/crypto/curve25519.c @@ -206,7 +206,7 @@ void __init curve25519_fpu_init(void) void __init curve25519_fpu_init(void) { } #endif -#ifdef __SIZEOF_INT128__ +#if defined(CONFIG_ARCH_SUPPORTS_INT128) && defined(__SIZEOF_INT128__) typedef u64 limb; typedef limb felem[5]; typedef __uint128_t u128; -- cgit v1.2.3-59-g8ed1b