VeraCrypt: Increase password length support for non-boot volumes from 64 to 128.

See https://github.com/hashcat/hashcat/issues/2616 for details.
This commit is contained in:
Jens Steube
2021-06-17 09:45:30 +02:00
parent f9fab1cadf
commit 62397283c1
71 changed files with 1605 additions and 1681 deletions
+7 -2
View File
@@ -60,7 +60,9 @@ typedef struct tc
{
u32 salt_buf[32];
u32 data_buf[112];
u32 keyfile_buf[16];
u32 keyfile_buf16[16];
u32 keyfile_buf32[32];
u32 keyfile_enabled;
u32 signature;
keyboard_layout_mapping_t keyboard_layout_mapping_buf[256];
@@ -198,13 +200,16 @@ int module_hash_binary_parse (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE
{
if (hc_path_read (keyfile))
{
cpu_crc32 (keyfile, (u8 *) tc->keyfile_buf);
cpu_crc32 (keyfile, (u8 *) tc->keyfile_buf16, 64);
cpu_crc32 (keyfile, (u8 *) tc->keyfile_buf32, 128);
}
keyfile = strtok_r ((char *) NULL, ",", &saveptr);
}
hcfree (keyfiles);
tc->keyfile_enabled = 1;
}
// keyboard layout mapping