hardnested: add missing init, fixing some segfault
This commit is contained in:
1 parent
20fccb16aa
commit
658a62f761
1 file changed
+3
@@ -2179,6 +2179,9 @@ int mfnestedhard(uint8_t blockNo, uint8_t keyType, uint8_t *key, uint8_t trgBloc
|
||||
get_SIMD_instruction_set(instr_set);
|
||||
PrintAndLogEx(SUCCESS, "Using %s SIMD core.", instr_set);
|
||||
|
||||
// initialize static arrays
|
||||
memset(part_sum_count, 0, sizeof(part_sum_count));
|
||||
|
||||
srand((unsigned) time(NULL));
|
||||
brute_force_per_second = brute_force_benchmark();
|
||||
write_stats = false;
|
||||
|
||||
Reference in new issue
Block a user