X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/aadc6bf1e162316eab391ca2ca61d05bdac7db80..refs/pull/910/head:/client/cmdhflist.h diff --git a/client/cmdhflist.h b/client/cmdhflist.h index 6ec2f6fc..3187440f 100644 --- a/client/cmdhflist.h +++ b/client/cmdhflist.h @@ -1,4 +1,5 @@ //----------------------------------------------------------------------------- +// Copyright (C) 2010 iZsh // Copyright (C) Merlok - 2017 // // This code is licensed to you under the terms of the GNU GPL, version 2 or, @@ -10,28 +11,6 @@ #ifndef CMDHFLIST_H #define CMDHFLIST_H -#include -#include -#include +extern int CmdHFList(const char *Cmd); -typedef struct { - uint32_t uid; // UID - uint32_t nt; // tag challenge - uint32_t nt_enc; // encrypted tag challenge - uint8_t nt_enc_par; // encrypted tag challenge parity - uint32_t nr_enc; // encrypted reader challenge - uint32_t ar_enc; // encrypted reader response - uint8_t ar_enc_par; // encrypted reader response parity - uint32_t at_enc; // encrypted tag response - uint8_t at_enc_par; // encrypted tag response parity - bool first_auth; // is first authentication -} TAuthData; -extern void ClearAuthData(); - -extern uint8_t iso14443A_CRC_check(bool isResponse, uint8_t* data, uint8_t len); -extern uint8_t mifare_CRC_check(bool isResponse, uint8_t* data, uint8_t len); -extern void annotateIso14443a(char *exp, size_t size, uint8_t* cmd, uint8_t cmdsize); -extern void annotateMifare(char *exp, size_t size, uint8_t* cmd, uint8_t cmdsize, bool isResponse); - - -#endif // CMDHFLIST +#endif // CMDHFLIST_H