feat(net): add SRP6_Client

This commit is contained in:
fallenoak 2023-01-05 22:49:20 -06:00 committed by GitHub
parent 5d1a800076
commit cb62e2dcfe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 45 additions and 2 deletions

View file

@ -0,0 +1,17 @@
#ifndef NET_SRP_SRP6_CLIENT_HPP
#define NET_SRP_SRP6_CLIENT_HPP
#include <common/SHA1.hpp>
class SRP6_Client {
public:
// Member variables
uint8_t accountNameDigest[SHA1_DIGEST_SIZE];
uint8_t interimDigest[SHA1_DIGEST_SIZE];
SHA1_CONTEXT ctx;
// Member functions
int32_t BeginAuthentication(const char* accountName, const char* password);
};
#endif