Support for inline VeraCrypt PIM Brute-Force
This commit is contained in:
@@ -71,7 +71,7 @@ int module_hash_init_selftest (MAYBE_UNUSED const hashconfig_t *ha
|
||||
void module_hook12 (hc_device_param_t *device_param, const void *hook_salts_buf, const u32 salt_pos, const u64 pws_cnt);
|
||||
void module_hook23 (hc_device_param_t *device_param, const void *hook_salts_buf, const u32 salt_pos, const u64 pws_cnt);
|
||||
|
||||
int module_build_plain_postprocess (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const hashes_t *hashes, const u32 *src_buf, MAYBE_UNUSED const size_t src_sz, const int src_len, u32 *dst_buf, MAYBE_UNUSED const size_t dst_sz);
|
||||
int module_build_plain_postprocess (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const hashes_t *hashes, MAYBE_UNUSED const plain_t *plain, const u32 *src_buf, MAYBE_UNUSED const size_t src_sz, const int src_len, u32 *dst_buf, MAYBE_UNUSED const size_t dst_sz);
|
||||
|
||||
bool module_unstable_warning (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra, MAYBE_UNUSED const hc_device_param_t *device_param);
|
||||
|
||||
|
||||
@@ -728,8 +728,9 @@ typedef enum user_options_map
|
||||
IDX_STDIN_TIMEOUT_ABORT = 0xff42,
|
||||
IDX_TRUECRYPT_KEYFILES = 0xff43,
|
||||
IDX_USERNAME = 0xff44,
|
||||
IDX_VERACRYPT_KEYFILES = 0xff46,
|
||||
IDX_VERACRYPT_PIM = 0xff47,
|
||||
IDX_VERACRYPT_KEYFILES = 0xff45,
|
||||
IDX_VERACRYPT_PIM_START = 0xff46,
|
||||
IDX_VERACRYPT_PIM_STOP = 0xff47,
|
||||
IDX_VERSION_LOWER = 'v',
|
||||
IDX_VERSION = 'V',
|
||||
IDX_WORDLIST_AUTOHEX_DISABLE = 0xff48,
|
||||
@@ -1028,6 +1029,8 @@ typedef struct plain
|
||||
u32 salt_pos;
|
||||
u32 digest_pos;
|
||||
u32 hash_pos;
|
||||
u32 extra1;
|
||||
u32 extra2;
|
||||
|
||||
} plain_t;
|
||||
|
||||
@@ -1872,7 +1875,8 @@ typedef struct user_options
|
||||
u32 segment_size;
|
||||
u32 status_timer;
|
||||
u32 stdin_timeout_abort;
|
||||
u32 veracrypt_pim;
|
||||
u32 veracrypt_pim_start;
|
||||
u32 veracrypt_pim_stop;
|
||||
u32 workload_profile;
|
||||
u64 limit;
|
||||
u64 skip;
|
||||
@@ -2334,7 +2338,7 @@ typedef struct module_ctx
|
||||
void (*module_hook12) (hc_device_param_t *, const void *, const u32, const u64);
|
||||
void (*module_hook23) (hc_device_param_t *, const void *, const u32, const u64);
|
||||
|
||||
int (*module_build_plain_postprocess) (const hashconfig_t *, const hashes_t *, const u32 *, const size_t, const int, u32 *, const size_t);
|
||||
int (*module_build_plain_postprocess) (const hashconfig_t *, const hashes_t *, const plain_t *, const u32 *, const size_t, const int, u32 *, const size_t);
|
||||
|
||||
bool (*module_unstable_warning) (const hashconfig_t *, const user_options_t *, const user_options_extra_t *, const hc_device_param_t *);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user