Vectorized Android FDE (Samsung DEK) and added support for long passwords

This commit is contained in:
jsteube
2017-07-08 21:56:36 +02:00
parent edf904f309
commit 933fa47d21
2 changed files with 173 additions and 347 deletions
+4 -1
View File
@@ -23512,7 +23512,8 @@ int hashconfig_init (hashcat_ctx_t *hashcat_ctx)
hashconfig->kern_type = KERN_TYPE_ANDROIDFDE_SAMSUNG;
hashconfig->dgst_size = DGST_SIZE_4_8;
hashconfig->parse_func = androidfde_samsung_parse_hash;
hashconfig->opti_type = OPTI_TYPE_ZERO_BYTE;
hashconfig->opti_type = OPTI_TYPE_ZERO_BYTE
| OPTI_TYPE_SLOW_HASH_SIMD_LOOP;
hashconfig->dgst_pos0 = 0;
hashconfig->dgst_pos1 = 1;
hashconfig->dgst_pos2 = 2;
@@ -24757,6 +24758,8 @@ int hashconfig_init (hashcat_ctx_t *hashcat_ctx)
break;
case 12700: hashconfig->pw_max = 64; // PBKDF2-HMAC-SHA1 max
break;
case 12900: hashconfig->pw_max = 64; // PBKDF2-HMAC-SHA256 max
break;
case 13711: hashconfig->pw_max = 64; // PBKDF2-HMAC-RipeMD160 max
break;
case 13712: hashconfig->pw_max = 64; // PBKDF2-HMAC-RipeMD160 max