Botan
1.10.9
|
#include <srp6.h>
Public Member Functions | |
BigInt | step1 (const BigInt &v, const std::string &group_id, const std::string &hash_id, RandomNumberGenerator &rng) |
SymmetricKey | step2 (const BigInt &A) |
BigInt Botan::SRP6_Server_Session::step1 | ( | const BigInt & | v, |
const std::string & | group_id, | ||
const std::string & | hash_id, | ||
RandomNumberGenerator & | rng | ||
) |
Server side step 1
v | the verification value saved from client registration |
Definition at line 142 of file srp6.cpp.
References Botan::BigInt::bytes(), Botan::DL_Group::get_g(), Botan::DL_Group::get_p(), and Botan::power_mod().
SymmetricKey Botan::SRP6_Server_Session::step2 | ( | const BigInt & | A | ) |
Definition at line 167 of file srp6.cpp.
References Botan::BigInt::encode_1363(), and Botan::power_mod().