diff options
author | Jack Lloyd <[email protected]> | 2018-02-19 12:30:20 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-02-19 12:30:20 -0500 |
commit | b300eb0515b2a392793d887435b8ca44a1de7898 (patch) | |
tree | 44e6cdf1710f537a53098dad4e03d9caf6e79643 /src/lib/misc | |
parent | 4dcff1874ad430269bb7d75818b906b34331d919 (diff) |
Small fixes
Diffstat (limited to 'src/lib/misc')
-rw-r--r-- | src/lib/misc/srp6/srp6.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/misc/srp6/srp6.cpp b/src/lib/misc/srp6/srp6.cpp index 94a6fe4a4..213fdc533 100644 --- a/src/lib/misc/srp6/srp6.cpp +++ b/src/lib/misc/srp6/srp6.cpp @@ -117,7 +117,7 @@ BigInt generate_srp6_verifier(const std::string& identifier, const BigInt x = compute_x(hash_id, identifier, password, salt); DL_Group group(group_id); - return power_mod(group.get_g(), x, group.get_p()); + return group.power_g_p(x); } BigInt SRP6_Server_Session::step1(const BigInt& v, |