hardnested: one more init

This commit is contained in:
Philippe Teuwen 2021-01-26 01:07:32 +01:00
commit 6a13a0c349

View file

@ -2179,8 +2179,8 @@ int mfnestedhard(uint8_t blockNo, uint8_t keyType, uint8_t *key, uint8_t trgBloc
get_SIMD_instruction_set(instr_set); get_SIMD_instruction_set(instr_set);
PrintAndLogEx(SUCCESS, "Using %s SIMD core.", instr_set); PrintAndLogEx(SUCCESS, "Using %s SIMD core.", instr_set);
// initialize static arrays
memset(part_sum_count, 0, sizeof(part_sum_count)); memset(part_sum_count, 0, sizeof(part_sum_count));
real_sum_a8 = 0;
srand((unsigned) time(NULL)); srand((unsigned) time(NULL));
brute_force_per_second = brute_force_benchmark(); brute_force_per_second = brute_force_benchmark();