Add support for hooks in selftest function

This commit is contained in:
jsteube
2017-06-14 12:07:33 +02:00
parent 08fc0ec1fb
commit 94a35ae50a
6 changed files with 68 additions and 14 deletions
+1 -1
View File
@@ -1875,7 +1875,7 @@ int ethereum_scrypt_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_bu
* hook functions
*/
void seven_zip_hook_func (hc_device_param_t *device_param, hashes_t *hashes, const u32 salt_pos, const u32 pws_cnt);
void seven_zip_hook_func (hc_device_param_t *device_param, void *hook_salts_buf, const u32 salt_pos, const u32 pws_cnt);
/**
* output functions
+1
View File
@@ -798,6 +798,7 @@ typedef struct hashes
void *st_digests_buf;
salt_t *st_salts_buf;
void *st_esalts_buf;
void *st_hook_salts_buf;
} hashes_t;