aboutsummaryrefslogtreecommitdiff
path: root/zenserver/auth/authmgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'zenserver/auth/authmgr.h')
-rw-r--r--zenserver/auth/authmgr.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/zenserver/auth/authmgr.h b/zenserver/auth/authmgr.h
index a641b9c8f..0354bdbfa 100644
--- a/zenserver/auth/authmgr.h
+++ b/zenserver/auth/authmgr.h
@@ -1,5 +1,6 @@
// Copyright Epic Games, Inc. All Rights Reserved.
+#include <zencore/crypto.h>
#include <zencore/iobuffer.h>
#include <zencore/string.h>
@@ -9,19 +10,12 @@
namespace zen {
-struct AuthEncryptionKey
-{
- IoBuffer Key;
- IoBuffer IV;
-
- static AuthEncryptionKey Default();
-};
-
struct AuthConfig
{
std::filesystem::path RootDirectory;
std::chrono::seconds UpdateInterval{30};
- AuthEncryptionKey EncryptionKey;
+ AesKey256Bit EncryptionKey;
+ AesIV128Bit EncryptionIV;
};
class AuthMgr