From 3bdb9a32d78a644940f496570b58d3912180a486 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Wed, 19 Jul 2017 01:06:32 +0200 Subject: Windows MBR bootloader: reduce required stack size for cascade bootloader by removing unnecessary field from Twofish structure in this case. --- src/Crypto/Twofish.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3