[8445] Fixed redundant calculation of v and s on every login Author: arrai

The SRP-6 specifications clearly say, that v and s are only to be
    calculated on registering a user and changing his password; calculating
    them on every login is plain waste.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-09-02 16:22:32 -05:00
parent 0c0a7b6b0e
commit 790c5348a3
7 changed files with 47 additions and 60 deletions
+2
View File
@@ -74,6 +74,8 @@ class BigNumber
return t %= bn;
}
bool isZero() const;
BigNumber ModExp(const BigNumber &bn1, const BigNumber &bn2);
BigNumber Exp(const BigNumber &);