X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/6c84c900179a0ff0959046ff0d65c68ab9077c50..7edde70701bd669593d64ba94114a6378eab0003:/client/mifarehost.c?ds=sidebyside 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) {