feat(net): process CMD_AUTH_LOGON_CHALLENGE command

This commit is contained in:
fallenoak authored and GitHub committed 2023-01-08 22:40:29 -06:00
1 parent 4d63d1ea8b
commit 59a0883529
8 files changed
+232 -1

No files matched your search

+6
View File
@@ -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
View File
@@ -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