mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-21 15:56:21 +08:00
REM: removed unused code.
This commit is contained in:
parent
109def22c8
commit
df0dd9e9b6
|
@ -14,16 +14,6 @@
|
||||||
#include "ui.h"
|
#include "ui.h"
|
||||||
#include "proxmark3.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) {
|
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;
|
struct Crypto1State *state;
|
||||||
|
|
Loading…
Reference in a new issue