From b2820c28d3bda5fcffb799598a45466772c4b559 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Thu, 2 Jul 2015 17:48:45 -0400 Subject: Fixed spelling error in attribution --- rw.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rw.cpp') diff --git a/rw.cpp b/rw.cpp index e8916e91..f573fc31 100644 --- a/rw.cpp +++ b/rw.cpp @@ -194,10 +194,10 @@ Integer InvertibleRWFunction::CalculateInverse(RandomNumberGenerator &rng, const // Do this in a loop for people using small numbers for testing r.Randomize(rng, Integer::One(), m_n - Integer::One()); // Fix for CVE-2015-2141. Thanks to Evgeny Sidorov for reporting. - // Squaring to satisfy Jacobi requirements suggested by Jean-Pierre Munch. + // Squaring to satisfy Jacobi requirements suggested by Jean-Pierre Muench. r = modn.Square(r); rInv = modn.MultiplicativeInverse(r); - } while(rInv.IsZero()); + } while (rInv.IsZero()); Integer re = modn.Square(r); re = modn.Multiply(re, x); // blind -- cgit v1.2.1