![]() |
TrinityCore
|
#include <SRP6.h>
Inheritance diagram for Trinity::Crypto::SRP::BnetSRP6Base:Public Member Functions | |
| BnetSRP6Base (BigNumber const &i, Salt const &salt, Verifier const &verifier, BigNumber const &N, BigNumber const &g, BigNumber const &k) | |
| BnetSRP6Base (ForRegistrationTag t) | |
| BigNumber | CalculateServerEvidence (BigNumber const &A, BigNumber const &clientM1, BigNumber const &K) const final |
| virtual uint8 | GetVersion () const =0 |
| virtual uint32 | GetXIterations () const =0 |
Public Member Functions inherited from Trinity::Crypto::SRP::SRP6 | |
| SRP6 (BigNumber const &i, Salt const &salt, Verifier const &verifier, BigNumber const &N, BigNumber const &g, BigNumber const &k) | |
| SRP6 (ForRegistrationTag) | |
| SRP6 (SRP6 const &)=delete | |
| SRP6 (SRP6 &&)=delete | |
| SRP6 & | operator= (SRP6 const &)=delete |
| SRP6 & | operator= (SRP6 &&)=delete |
| virtual | ~SRP6 ()=default |
| virtual BigNumber const & | GetN () const =0 |
| virtual BigNumber const & | Getg () const =0 |
| Optional< BigNumber > | VerifyClientEvidence (BigNumber const &A, BigNumber const &clientM1) |
| bool | CheckCredentials (std::string const &username, std::string const &password) const |
Protected Member Functions | |
| Optional< BigNumber > | DoVerifyClientEvidence (BigNumber const &A, BigNumber const &clientM1) final |
| virtual BigNumber | CalculateU (BigNumber const &A) const =0 |
| virtual BigNumber | DoCalculateEvidence (std::span< BigNumber const * > bns) const =0 |
| template<typename CryptoHash > | |
| BigNumber | DoCalculateEvidence (std::span< BigNumber const * > bns) const |
Protected Member Functions inherited from Trinity::Crypto::SRP::SRP6 | |
| BigNumber | CalculatePublicB (BigNumber const &N, BigNumber const &g, BigNumber const &k) const |
| virtual BigNumber | CalculateX (std::string const &username, std::string const &password, Salt const &salt) const =0 |
| Verifier | CalculateVerifier (std::string const &username, std::string const &password, Salt const &salt) const |
Static Protected Member Functions | |
| static std::vector< uint8 > | GetBrokenEvidenceVector (BigNumber const &bn) |
Static Protected Member Functions inherited from Trinity::Crypto::SRP::SRP6 | |
| static BigNumber | CalculatePrivateB (BigNumber const &N) |
Additional Inherited Members | |
Static Public Member Functions inherited from Trinity::Crypto::SRP::SRP6 | |
| template<typename Impl > | |
| static std::pair< Salt, Verifier > | MakeRegistrationData (std::string const &username, std::string const &password) |
Public Attributes inherited from Trinity::Crypto::SRP::SRP6 | |
| Salt const | s |
| BigNumber const | B |
Protected Attributes inherited from Trinity::Crypto::SRP::SRP6 | |
| BigNumber const | I |
| BigNumber const | b |
| BigNumber const | v |
|
inlineexplicit |
|
finalvirtual |
Implements Trinity::Crypto::SRP::SRP6.
Definition at line 156 of file SRP6.cpp.
Here is the call graph for this function:
|
protectedpure virtual |
Implemented in Trinity::Crypto::SRP::BnetSRP6v1< CryptoHash >, and Trinity::Crypto::SRP::BnetSRP6v2< CryptoHash >.
Here is the caller graph for this function:
|
protectedpure virtual |
Implemented in Trinity::Crypto::SRP::BnetSRP6v1< CryptoHash >, and Trinity::Crypto::SRP::BnetSRP6v2< CryptoHash >.
Here is the caller graph for this function:
|
finalprotectedvirtual |
Implements Trinity::Crypto::SRP::SRP6.
Definition at line 162 of file SRP6.cpp.
Here is the call graph for this function:
|
pure virtual |
Implemented in Trinity::Crypto::SRP::BnetSRP6v1Base, and Trinity::Crypto::SRP::BnetSRP6v2Base.
|
pure virtual |
Implemented in Trinity::Crypto::SRP::BnetSRP6v1Base, and Trinity::Crypto::SRP::BnetSRP6v2Base.