#include <SRP6.h>
Definition at line 31 of file SRP6.h.
◆ EphemeralKey
◆ Salt
◆ Verifier
◆ SRP6()
| SRP6::SRP6 |
( |
std::string const & |
username, |
|
|
Salt const & |
salt, |
|
|
Verifier const & |
verifier |
|
) |
| |
◆ _B()
◆ CalculateVerifier()
| SRP6::Verifier SRP6::CalculateVerifier |
( |
std::string const & |
username, |
|
|
std::string const & |
password, |
|
|
SRP6::Salt const & |
salt |
|
) |
| |
|
staticprivate |
◆ CheckLogin()
| static bool Trinity::Crypto::SRP6::CheckLogin |
( |
std::string const & |
username, |
|
|
std::string const & |
password, |
|
|
Salt const & |
salt, |
|
|
Verifier const & |
verifier |
|
) |
| |
|
inlinestatic |
◆ GetSessionVerifier()
◆ MakeRegistrationData()
| std::pair< SRP6::Salt, SRP6::Verifier > SRP6::MakeRegistrationData |
( |
std::string const & |
username, |
|
|
std::string const & |
password |
|
) |
| |
|
static |
◆ SHA1Interleave()
◆ VerifyChallengeResponse()
◆ _b
◆ _g
◆ _I
◆ _N
◆ _used
| bool Trinity::Crypto::SRP6::_used = false |
|
private |
◆ _v
◆ EPHEMERAL_KEY_LENGTH
| constexpr size_t Trinity::Crypto::SRP6::EPHEMERAL_KEY_LENGTH = 32 |
|
staticconstexpr |
| std::array< uint8, 1 > const SRP6::g = { 7 } |
|
static |
| std::array< uint8, 32 > const SRP6::N = HexStrToByteArray<32>("894B645E89E1535BBDAD5B8B290650530801B18EBFBF5E8FAB3C82872A3E9BB7", true) |
|
static |
| Salt const Trinity::Crypto::SRP6::s |
◆ SALT_LENGTH
| constexpr size_t Trinity::Crypto::SRP6::SALT_LENGTH = 32 |
|
staticconstexpr |
◆ VERIFIER_LENGTH
| constexpr size_t Trinity::Crypto::SRP6::VERIFIER_LENGTH = 32 |
|
staticconstexpr |
The documentation for this class was generated from the following files:
- common/Cryptography/Authentication/SRP6.h
- common/Cryptography/Authentication/SRP6.cpp