X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/6c84c900179a0ff0959046ff0d65c68ab9077c50..b62cbadb6198fcfcf7b6787acac01b5b7262eea6:/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) {