VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Keyfiles.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-01-28 14:58:41 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-01-28 17:16:33 +0100
commitcdd1179c63bb892696adfad1818d65e3026916ca (patch)
treee2d7265440b8cc51ca544d2c2412041b0d18439d /src/Common/Keyfiles.h
parent54e46c260cf04861c99d8b2590999c1eb33f0cb1 (diff)
downloadVeraCrypt-cdd1179c63bb892696adfad1818d65e3026916ca.tar.gz
VeraCrypt-cdd1179c63bb892696adfad1818d65e3026916ca.zip
Increase password maximum length to 128 bytes from 64 bytes
Diffstat (limited to 'src/Common/Keyfiles.h')
-rw-r--r--src/Common/Keyfiles.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Common/Keyfiles.h b/src/Common/Keyfiles.h
index fb90a9d5..a13666fb 100644
--- a/src/Common/Keyfiles.h
+++ b/src/Common/Keyfiles.h
@@ -19,7 +19,8 @@ extern "C" {
#include "Common.h"
-#define KEYFILE_POOL_SIZE 64
+#define KEYFILE_POOL_LEGACY_SIZE 64
+#define KEYFILE_POOL_SIZE 128
#define KEYFILE_MAX_READ_LEN (1024*1024)
typedef struct KeyFileStruct