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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user