X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/cc4c8fd6cf06a0a305f899f29434a0b492ead0c8..af4308b97b5973fa2165f39797626e79c5f2f806:/client/mifarehost.c diff --git a/client/mifarehost.c b/client/mifarehost.c index 1939b92b..72c1e897 100644 --- a/client/mifarehost.c +++ b/client/mifarehost.c @@ -8,17 +8,10 @@ // mifare commands //----------------------------------------------------------------------------- -#include -#include -#include -#include #include "mifarehost.h" -#include "proxmark3.h" -//#include "radixsort.h" -#include // MIFARE -int compar_int(const void * a, const void * b) { +extern int compar_int(const void * a, const void * b) { // didn't work: (the result is truncated to 32 bits) //return (*(uint64_t*)b - *(uint64_t*)a); @@ -44,25 +37,6 @@ int Compare16Bits(const void * a, const void * b) { */ } -typedef - struct { - union { - struct Crypto1State *slhead; - uint64_t *keyhead; - } head; - union { - struct Crypto1State *sltail; - uint64_t *keytail; - } tail; - uint32_t len; - uint32_t uid; - uint32_t blockNo; - uint32_t keyType; - uint32_t nt; - uint32_t ks1; - } StateList_t; - - // wrapper function for multi-threaded lfsr_recovery32 void* nested_worker_thread(void *arg) {