mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-16 20:52:30 +00:00
feat(net): process CMD_AUTH_LOGON_CHALLENGE command
This commit is contained in:
parent
4d63d1ea8b
commit
59a0883529
8 changed files with 232 additions and 1 deletions
|
|
@ -22,3 +22,9 @@ int32_t SRP6_Client::BeginAuthentication(const char* accountName, const char* pa
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int32_t SRP6_Client::CalculateProof(const uint8_t* largeSafePrime, uint32_t largeSafePrimeLen, const uint8_t* generator, uint32_t generatorLen, const uint8_t* salt, uint32_t saltLen, const uint8_t* publicKey, uint32_t publicKeyLen, SRP6_Random& random) {
|
||||
// TODO
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,6 +3,8 @@
|
|||
|
||||
#include <common/SHA1.hpp>
|
||||
|
||||
class SRP6_Random;
|
||||
|
||||
class SRP6_Client {
|
||||
public:
|
||||
// Member variables
|
||||
|
|
@ -12,6 +14,7 @@ class SRP6_Client {
|
|||
|
||||
// Member functions
|
||||
int32_t BeginAuthentication(const char* accountName, const char* password);
|
||||
int32_t CalculateProof(const uint8_t* largeSafePrime, uint32_t largeSafePrimeLen, const uint8_t* generator, uint32_t generatorLen, const uint8_t* salt, uint32_t saltLen, const uint8_t* publicKey, uint32_t publicKeyLen, SRP6_Random& random);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue