summaryrefslogtreecommitdiff
path: root/rw.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2015-07-02 17:48:45 -0400
committerJeffrey Walton <noloader@gmail.com>2015-07-02 17:48:45 -0400
commitb2820c28d3bda5fcffb799598a45466772c4b559 (patch)
tree3196819a57435f0f43f59328fa957b96ccbd777b /rw.cpp
parent260810ce63aa01bc02240aa7602dd90e258f7b51 (diff)
downloadcryptopp-git-b2820c28d3bda5fcffb799598a45466772c4b559.tar.gz
Fixed spelling error in attribution
Diffstat (limited to 'rw.cpp')
-rw-r--r--rw.cpp4
1 files changed, 2 insertions, 2 deletions
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