|
Botan
1.11.15
|
#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 |
| group_id | the SRP group id |
| hash_id | the SRP hash in use |
| rng | a random number generator |
Definition at line 123 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 | ) |
Server side step 2
| A | the client's value |
Definition at line 145 of file srp6.cpp.
References Botan::BigInt::encode_1363(), and Botan::power_mod().
Referenced by Botan::TLS::Client_Key_Exchange::Client_Key_Exchange().
1.7.6.1