mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-11-16 02:51:08 +03:00
feat(net): process CMD_AUTH_LOGON_CHALLENGE command
This commit is contained in:
1 parent
4d63d1ea8b
commit
59a0883529
8 files changed
+232
-1
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user