summaryrefslogtreecommitdiff
path: root/rw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rw.cpp')
-rw-r--r--rw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rw.cpp b/rw.cpp
index 5cc0de9a..5d066f4c 100644
--- a/rw.cpp
+++ b/rw.cpp
@@ -238,7 +238,7 @@ Integer InvertibleRWFunction::CalculateInverse(RandomNumberGenerator &rng, const
// Signature
Integer s = modn.Multiply(modn.Square(Y), rInv);
- assert((e * f * s.Squared()) % m_n == x);
+ CRYPTOPP_ASSERT((e * f * s.Squared()) % m_n == x);
// IEEE P1363, Section 8.2.8 IFSP-RW, p.44
s = STDMIN(s, m_n - s);