Added new hash mode -m 12900 = Android FDE (Samsung DEK)

This commit is contained in:
jsteube
2016-01-09 00:49:54 +01:00
parent e137e0fde6
commit 332b3c35e5
11 changed files with 755 additions and 7 deletions
+8
View File
@@ -351,6 +351,7 @@ extern hc_thread_mutex_t mux_display;
#define KERNEL_ACCEL_12600 32
#define KERNEL_ACCEL_12700 64
#define KERNEL_ACCEL_12800 64
#define KERNEL_ACCEL_12900 8
#define KERNEL_LOOPS_0 256
#define KERNEL_LOOPS_10 256
@@ -528,6 +529,7 @@ extern hc_thread_mutex_t mux_display;
#define KERNEL_LOOPS_12600 32
#define KERNEL_LOOPS_12700 10
#define KERNEL_LOOPS_12800 100
#define KERNEL_LOOPS_12900 64
/**
* Strings
@@ -673,6 +675,7 @@ extern hc_thread_mutex_t mux_display;
#define HT_12600 "ColdFusion 10+"
#define HT_12700 "Blockchain, My Wallet"
#define HT_12800 "MS-AzureSync PBKDF2-HMAC-SHA256"
#define HT_12900 "Android FDE (Samsung DEK)"
#define HT_00011 "Joomla < 2.5.18"
#define HT_00012 "PostgreSQL"
@@ -1002,6 +1005,8 @@ extern hc_thread_mutex_t mux_display;
#define DISPLAY_LEN_MAX_12700 1 + 10 + 1 + 5 + 1 + 20000
#define DISPLAY_LEN_MIN_12800 11 + 1 + 20 + 1 + 1 + 1 + 64
#define DISPLAY_LEN_MAX_12800 11 + 1 + 20 + 1 + 5 + 1 + 64
#define DISPLAY_LEN_MIN_12900 64 + 64 + 32
#define DISPLAY_LEN_MAX_12900 64 + 64 + 32
#define DISPLAY_LEN_MIN_11 32 + 1 + 16
#define DISPLAY_LEN_MAX_11 32 + 1 + 32
@@ -1258,6 +1263,7 @@ extern hc_thread_mutex_t mux_display;
#define KERN_TYPE_CF10 12600
#define KERN_TYPE_MYWALLET 12700
#define KERN_TYPE_MS_DRSR 12800
#define KERN_TYPE_ANDROIDFDE_SAMSUNG 12900
/**
* signatures
@@ -1375,6 +1381,7 @@ extern hc_thread_mutex_t mux_display;
#define ROUNDS_RAR3 262144
#define ROUNDS_MYWALLET 10
#define ROUNDS_MS_DRSR 100
#define ROUNDS_ANDROIDFDE_SAMSUNG 4096
/**
* salt types
@@ -1857,6 +1864,7 @@ int rar3hp_parse_hash (char *input_buf, uint input_len, hash_t *hash_buf);
int cf10_parse_hash (char *input_buf, uint input_len, hash_t *hash_buf);
int mywallet_parse_hash (char *input_buf, uint input_len, hash_t *hash_buf);
int ms_drsr_parse_hash (char *input_buf, uint input_len, hash_t *hash_buf);
int androidfde_samsung_parse_hash (char *input_buf, uint input_len, hash_t *hash_buf);
void load_kernel (const char *kernel_file, int num_devices, size_t *kernel_lengths, const unsigned char **kernel_sources);
void writeProgramBin (char *dst, unsigned char *binary, size_t binary_size);