VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-19 01:06:32 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-19 01:12:23 +0200
commit3bdb9a32d78a644940f496570b58d3912180a486 (patch)
treea83c7ecc40fee08058a891b9c1ba6842ed8ff9cd /src
parentb37d7324081027c5b7f5de89b6ccb22742c90458 (diff)
downloadVeraCrypt-3bdb9a32d78a644940f496570b58d3912180a486.tar.gz
VeraCrypt-3bdb9a32d78a644940f496570b58d3912180a486.zip
Windows MBR bootloader: reduce required stack size for cascade bootloader by removing unnecessary field from Twofish structure in this case.
Diffstat (limited to 'src')
-rw-r--r--src/Crypto/Twofish.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Crypto/Twofish.h b/src/Crypto/Twofish.h
index b2d44ddb..cec99c7c 100644
--- a/src/Crypto/Twofish.h
+++ b/src/Crypto/Twofish.h
@@ -41,7 +41,9 @@ typedef struct
u4byte l_key[40];
#ifdef TC_MINIMIZE_CODE_SIZE
u4byte s_key[4];
+#ifdef TC_WINDOWS_BOOT_TWOFISH
u4byte mk_tab[4 * 256];
+#endif
#else
u4byte mk_tab[4][256];
#endif