aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/donna128.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/utils/donna128.h')
-rw-r--r--src/lib/utils/donna128.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/utils/donna128.h b/src/lib/utils/donna128.h
index 90ced395d..ff571906d 100644
--- a/src/lib/utils/donna128.h
+++ b/src/lib/utils/donna128.h
@@ -82,7 +82,7 @@ class donna128 final
inline donna128 operator*(const donna128& x, uint64_t y)
{
- BOTAN_ASSERT(x.hi() == 0, "High 64 bits of donna128 set to zero during multiply");
+ BOTAN_ARG_CHECK(x.hi() == 0, "High 64 bits of donna128 set to zero during multiply");
uint64_t lo = 0, hi = 0;
mul64x64_128(x.lo(), y, &lo, &hi);