diff --git a/crypto1_bs_crack.c b/crypto1_bs_crack.c index 90aba63..176b50f 100644 --- a/crypto1_bs_crack.c +++ b/crypto1_bs_crack.c @@ -136,10 +136,10 @@ inline uint64_t crack_states_bitsliced(uint32_t **task){ } } +#ifdef EXACT_COUNT // Fix a "1000000% bug". Looks like here is a problem with OS X gcc size_t current_bucket_size = bucket_size[block_idx] > MAX_BITSLICES ? MAX_BITSLICES : bucket_size[block_idx]; -#ifdef EXACT_COUNT bucket_states_tested += current_bucket_size; #ifdef ONLINE_COUNT __atomic_fetch_add(&total_states_tested, current_bucket_size, __ATOMIC_RELAXED);