From 7f7fa8b23d71297f75ff4ca3c1d6e38333a5cc76 Mon Sep 17 00:00:00 2001 From: Treeston Date: Wed, 29 Jul 2020 00:07:41 +0200 Subject: Core/Authserver: Split SRP6 into its own file (PR #25131) --- src/common/Cryptography/Authentication/AuthCrypt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/Cryptography/Authentication/AuthCrypt.cpp') diff --git a/src/common/Cryptography/Authentication/AuthCrypt.cpp b/src/common/Cryptography/Authentication/AuthCrypt.cpp index 9d50fb026c3..86126b3ba81 100644 --- a/src/common/Cryptography/Authentication/AuthCrypt.cpp +++ b/src/common/Cryptography/Authentication/AuthCrypt.cpp @@ -26,7 +26,7 @@ AuthCrypt::AuthCrypt() : _initialized(false) { } -void AuthCrypt::Init(std::array const& K) +void AuthCrypt::Init(SessionKey const& K) { uint8 ServerEncryptionKey[] = { 0xCC, 0x98, 0xAE, 0x04, 0xE8, 0x97, 0xEA, 0xCA, 0x12, 0xDD, 0xC0, 0x93, 0x42, 0x91, 0x53, 0x57 }; _serverEncrypt.Init(Trinity::Crypto::HMAC_SHA1::GetDigestOf(ServerEncryptionKey, K)); -- cgit v1.2.3