mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-10 15:51:10 +00:00
Brain Session: Adds hashconfig specific opti_type and opts_type parameters to hashcat session computation to cover features like -O and -M
This commit is contained in:
parent
c990e252d3
commit
e83611742d
@ -19,6 +19,7 @@
|
||||
##
|
||||
|
||||
- Blake Kernels: Optimize BLAKE2B_ROUND() 64 bit rotates giving a 5% performance increase
|
||||
- Brain Session: Adds hashconfig specific opti_type and opts_type parameters to hashcat session computation to cover features like -O and -M
|
||||
- Shared Memory: Calculate kernel dynamic memory size based on CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN
|
||||
- Slow Kernels: Set some of the slowest kernels to OPTS_TYPE_MP_MULTI_DISABLE
|
||||
|
||||
|
@ -172,6 +172,14 @@ u32 brain_compute_attack (hashcat_ctx_t *hashcat_ctx)
|
||||
|
||||
XXH64_update (state, &hex_salt, sizeof (hex_salt));
|
||||
|
||||
const u32 opti_type = hashconfig->opti_type;
|
||||
|
||||
XXH64_update (state, &opti_type, sizeof (opti_type));
|
||||
|
||||
const u64 opts_type = hashconfig->opts_type;
|
||||
|
||||
XXH64_update (state, &opts_type, sizeof (opts_type));
|
||||
|
||||
const int hccapx_message_pair = user_options->hccapx_message_pair;
|
||||
|
||||
XXH64_update (state, &hccapx_message_pair, sizeof (hccapx_message_pair));
|
||||
|
Loading…
Reference in New Issue
Block a user