]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
REM: removed unused code.
authoriceman1001 <iceman@iuse.se>
Mon, 25 Jan 2016 19:22:59 +0000 (20:22 +0100)
committericeman1001 <iceman@iuse.se>
Mon, 25 Jan 2016 19:22:59 +0000 (20:22 +0100)
client/nonce2key/nonce2key.c

index 99ede9e04426fadecdf9e47d1d83aa4a5164883d..2d0590df384bf27b7bcae53d36af315245472c69 100644 (file)
 #include "ui.h"
 #include "proxmark3.h"
 
-int compar_state(const void * a, const void * b) {
-       // didn't work: (the result is truncated to 32 bits)
-       //return (*(int64_t*)b - *(int64_t*)a);
-
-       // better:
-       if (*(int64_t*)b == *(int64_t*)a) return 0;
-       else if (*(int64_t*)b > *(int64_t*)a) return 1;
-       else return -1;
-}
-
 int nonce2key(uint32_t uid, uint32_t nt, uint32_t nr, uint64_t par_info, uint64_t ks_info, uint64_t * key) {
 
        struct Crypto1State *state;
Impressum, Datenschutz