mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-03 19:43:09 +08:00
hardnested: add missing init, fixing some segfault
This commit is contained in:
parent
20fccb16aa
commit
658a62f761
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue