aboutsummaryrefslogtreecommitdiff
path: root/src/common/Cryptography/Authentication/AuthCrypt.h
diff options
context:
space:
mode:
authorTreeston <treeston.mmoc@gmail.com>2020-07-29 00:07:41 +0200
committerGitHub <noreply@github.com>2020-07-29 00:07:41 +0200
commit7f7fa8b23d71297f75ff4ca3c1d6e38333a5cc76 (patch)
tree18a47372b2ac3e086e0e96074562af6a1172b223 /src/common/Cryptography/Authentication/AuthCrypt.h
parent210f552ac56979430f1349006c1945b29883a2bc (diff)
Core/Authserver: Split SRP6 into its own file (PR #25131)
Diffstat (limited to 'src/common/Cryptography/Authentication/AuthCrypt.h')
-rw-r--r--src/common/Cryptography/Authentication/AuthCrypt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/Cryptography/Authentication/AuthCrypt.h b/src/common/Cryptography/Authentication/AuthCrypt.h
index cb1a217297a..86c186bef69 100644
--- a/src/common/Cryptography/Authentication/AuthCrypt.h
+++ b/src/common/Cryptography/Authentication/AuthCrypt.h
@@ -19,6 +19,7 @@
#define _AUTHCRYPT_H
#include "ARC4.h"
+#include "AuthDefines.h"
#include <array>
class TC_COMMON_API AuthCrypt
@@ -26,7 +27,7 @@ class TC_COMMON_API AuthCrypt
public:
AuthCrypt();
- void Init(std::array<uint8, 40> const& K);
+ void Init(SessionKey const& K);
void DecryptRecv(uint8* data, size_t len);
void EncryptSend(uint8* data, size_t len);