Fixed spelling error in attribution
parent
bb0d9c7caf
commit
79c9348599
2
rw.cpp
2
rw.cpp
|
|
@ -131,7 +131,7 @@ Integer InvertibleRWFunction::CalculateInverse(RandomNumberGenerator &rng, const
|
|||
do {
|
||||
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 JPM.
|
||||
// Squaring to satisfy Jacobi requirements suggested by Jean-Pierre Muench.
|
||||
r = modn.Square(r);
|
||||
rInv = modn.MultiplicativeInverse(r);
|
||||
} while (rInv.IsZero());
|
||||
|
|
|
|||
Loading…
Reference in New Issue