|
Botan 3.9.0
Crypto and TLS for C&
|
#include <srp6.h>
Public Member Functions | |
| BigInt | step1 (const BigInt &v, const DL_Group &group, std::string_view hash_id, size_t b_bits, RandomNumberGenerator &rng) |
| BigInt | step1 (const BigInt &v, std::string_view group_id, std::string_view hash_id, RandomNumberGenerator &rng) |
| SymmetricKey | step2 (const BigInt &A) |
| BigInt Botan::SRP6_Server_Session::step1 | ( | const BigInt & | v, |
| const DL_Group & | group, | ||
| std::string_view | hash_id, | ||
| 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 160 of file srp6.cpp.
References BOTAN_ARG_CHECK, BOTAN_STATE_CHECK, Botan::HashFunction::create_or_throw(), Botan::fmt(), and Botan::DL_Group::p_bits().
| BigInt Botan::SRP6_Server_Session::step1 | ( | const BigInt & | v, |
| std::string_view | group_id, | ||
| std::string_view | 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 151 of file srp6.cpp.
References Botan::DL_Group::from_name(), and step1().
Referenced by step1().
| SymmetricKey Botan::SRP6_Server_Session::step2 | ( | const BigInt & | A | ) |
Server side step 2
| A | the client's value |
Definition at line 185 of file srp6.cpp.
References BOTAN_STATE_CHECK, Botan::HashFunction::create_or_throw(), Botan::fmt(), and Botan::BigInt::serialize().