From d380e45121453cd6aca71372a81b9246b216b0e7 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 Signed-off-by: Jason A. Donenfeld --- src/crypto/curve25519.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/crypto') 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