fix comment typo

pull/2/head
weidai 2007-04-16 00:13:46 +00:00
parent e9669d172f
commit f651a6502e
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ Integer InvertibleRSAFunction::CalculateInverse(RandomNumberGenerator &rng, cons
DoQuickSanityCheck(); DoQuickSanityCheck();
ModularArithmetic modn(m_n); ModularArithmetic modn(m_n);
Integer r, rInv; Integer r, rInv;
do { // do this loop for people using small numbers for testing do { // do this in a loop for people using small numbers for testing
r.Randomize(rng, Integer::One(), m_n - Integer::One()); r.Randomize(rng, Integer::One(), m_n - Integer::One());
rInv = modn.MultiplicativeInverse(r); rInv = modn.MultiplicativeInverse(r);
} while (rInv.IsZero()); } while (rInv.IsZero());