1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 19:08:26 -06:00

Windows Bootloader: Fix Rescue Disk issue when Cascades and SHA256 used. It was caused by the bootloader becoming too big in this case with PIM implementation (larger than the limit of 31232 bytes). We also increase memory requirement for this case

This commit is contained in:
Mounir IDRASSI
2015-09-13 00:16:14 +02:00
parent 22152878f8
commit 7e73208e62
4 changed files with 11 additions and 2 deletions

View File

@@ -14,7 +14,11 @@
#define TC_HEADER_Boot_BootDefs
// Total memory required (CODE + DATA + BSS + STACK + 0x100) in KBytes - determined from linker map.
#define TC__BOOT_MEMORY_REQUIRED 42
#ifdef TC_WINDOWS_BOOT_RESCUE_DISK_MODE
#define TC__BOOT_MEMORY_REQUIRED 44
#else
#define TC__BOOT_MEMORY_REQUIRED 42
#endif
#ifdef TC_WINDOWS_BOOT_SINGLE_CIPHER_MODE
# undef TC__BOOT_MEMORY_REQUIRED