From 4f54df7bc96f37be4e4486a5cc8e542ca2938fca Mon Sep 17 00:00:00 2001 From: Aram Date: Thu, 5 May 2016 23:20:30 +0200 Subject: [PATCH] Update counters on-line by default --- crypto1_bs_crack.h | 1 + libnfc_crypto1_crack.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto1_bs_crack.h b/crypto1_bs_crack.h index f4867a7..5dec59e 100644 --- a/crypto1_bs_crack.h +++ b/crypto1_bs_crack.h @@ -11,6 +11,7 @@ size_t total_states; // linked from crapto1.c file extern uint8_t lfsr_rollback_byte(uint64_t* s, uint32_t in, int fb); +#define ONLINE_COUNT #define EXACT_COUNT // arrays of bitsliced states with identical values in all slices diff --git a/libnfc_crypto1_crack.c b/libnfc_crypto1_crack.c index d835f14..5fef25f 100644 --- a/libnfc_crypto1_crack.c +++ b/libnfc_crypto1_crack.c @@ -294,7 +294,6 @@ POSSIBILITY OF SUCH DAMAGES. #include #include -#define ONLINE_COUNT #include "crypto1_bs_crack.h" extern uint64_t * crypto1_create(uint64_t key);