}
}
+uint64_t foundkey = 0;
size_t keys_found = 0;
size_t bucket_count = 0;
statelist_t* buckets[128];
if(bucket){
const uint64_t key = crack_states_bitsliced(bucket);
if(key != -1){
- printf("\nFound key: %012"PRIx64"\n", key);
__sync_fetch_and_add(&keys_found, 1);
+ __sync_fetch_and_add(&foundkey, key);
break;
} else if(keys_found){
break;
unsigned long elapsed_time = difftime(end, start);
if(keys_found){
PrintAndLog("Success! Tested %"PRIu32" states, found %u keys after %u seconds", total_states_tested, keys_found, elapsed_time);
+ PrintAndLog("\nFound key: %012"PRIx64"\n", foundkey);
} else {
PrintAndLog("Fail! Tested %"PRIu32" states, in %u seconds", total_states_tested, elapsed_time);
}
}
}
- Tests();
+ //Tests();
PrintAndLog("");
PrintAndLog("Sum(a0) = %d", first_byte_Sum);