aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/utils/donna128.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/utils/donna128.h b/src/lib/utils/donna128.h
index 037d9bdfe..c72ccb55c 100644
--- a/src/lib/utils/donna128.h
+++ b/src/lib/utils/donna128.h
@@ -111,6 +111,7 @@ inline u64bit combine_lower(const donna128 a, size_t s1,
return z.lo();
}
+#if defined(BOTAN_TARGET_HAS_NATIVE_UINT128)
inline u64bit carry_shift(const uint128_t a, size_t shift)
{
return static_cast<u64bit>(a >> shift);
@@ -121,6 +122,7 @@ inline u64bit combine_lower(const uint128_t a, size_t s1,
{
return static_cast<u64bit>((a >> s1) | (b << s2));
}
+#endif
}