|
Botan
2.13.0
Crypto and TLS for C++11
|
#include <srp6.h>
Public Member Functions | |
| BigInt | step1 (const BigInt &v, const std::string &group_id, const std::string &hash_id, RandomNumberGenerator &rng) |
| BigInt | step1 (const BigInt &v, const DL_Group &group, const std::string &hash_id, const size_t b_bits, 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 148 of file srp6.cpp.
References Botan::DL_Group::exponent_bits().
| BigInt Botan::SRP6_Server_Session::step1 | ( | const BigInt & | v, |
| const DL_Group & | group, | ||
| const std::string & | hash_id, | ||
| const size_t | b_bits, | ||
| RandomNumberGenerator & | rng | ||
| ) |
Server side step 1 This version of step1 added in 2.11
| v | the verification value saved from client registration |
| group | the SRP group |
| hash_id | the SRP hash in use |
| rng | a random number generator |
| b_bits | size of secret exponent in bits |
Definition at line 159 of file srp6.cpp.
References Botan::BigInt::bytes(), Botan::DL_Group::get_g(), Botan::DL_Group::get_p(), Botan::DL_Group::mod_p(), and Botan::DL_Group::power_g_p().
| SymmetricKey Botan::SRP6_Server_Session::step2 | ( | const BigInt & | A | ) |
Server side step 2
| A | the client's value |
Definition at line 181 of file srp6.cpp.
References Botan::BigInt::encode_1363(), and Botan::power_mod().
Referenced by Botan::TLS::Client_Key_Exchange::Client_Key_Exchange().
1.8.9.1