From 078a28550f458972401a7dd10f9f350687ec84e8 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 25 Jan 2021 14:28:47 +0100 Subject: [PATCH] hf mf hardnested - these are called with u16 in the source --- client/deps/hardnested/hardnested_bruteforce.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/deps/hardnested/hardnested_bruteforce.h b/client/deps/hardnested/hardnested_bruteforce.h index 8766362d7..a8e6786d5 100644 --- a/client/deps/hardnested/hardnested_bruteforce.h +++ b/client/deps/hardnested/hardnested_bruteforce.h @@ -25,7 +25,7 @@ typedef struct guess_sum_a8 { float prob; uint64_t num_states; - uint8_t sum_a8_idx; + uint16_t sum_a8_idx; } guess_sum_a8_t; typedef struct noncelistentry { @@ -40,7 +40,7 @@ typedef struct noncelist { guess_sum_a8_t sum_a8_guess[NUM_SUMS]; bool sum_a8_guess_dirty; float expected_num_brute_force; - uint8_t BitFlips[0x400]; + uint16_t BitFlips[0x400]; uint32_t *states_bitarray[2]; uint32_t num_states_bitarray[2]; bool all_bitflips_dirty[2];