summaryrefslogtreecommitdiffhomepage
path: root/src/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/curve25519.c2
1 files changed, 1 insertions, 1 deletions
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;