mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-28 03:14:53 +08:00
missing structs
This commit is contained in:
parent
75a70cbf53
commit
094882454d
1 changed files with 21 additions and 0 deletions
|
@ -56,12 +56,33 @@ typedef struct {
|
|||
uint8_t ats[256];
|
||||
} PACKED iso14a_card_select_t;
|
||||
|
||||
typedef struct {
|
||||
uint8_t uid[10];
|
||||
uint8_t uidlen;
|
||||
uint8_t atqa[2];
|
||||
uint8_t sak;
|
||||
uint8_t ats_len;
|
||||
uint8_t ats[256];
|
||||
uint8_t signature[32];
|
||||
} PACKED iso14a_card_select_ev1_t;
|
||||
|
||||
typedef struct {
|
||||
iso14a_card_select_t card_info;
|
||||
uint8_t *dump;
|
||||
uint16_t dumplen;
|
||||
} iso14a_mf_extdump_t;
|
||||
|
||||
typedef struct {
|
||||
union
|
||||
{
|
||||
iso14a_card_select_t mfc;
|
||||
iso14a_card_select_ev1_t ev1;
|
||||
} card;
|
||||
uint16_t dumplen;
|
||||
uint8_t *dump;
|
||||
} iso14a_mf_dump_ev1_t;
|
||||
|
||||
|
||||
typedef enum ISO14A_COMMAND {
|
||||
ISO14A_CONNECT = (1 << 0),
|
||||
ISO14A_NO_DISCONNECT = (1 << 1),
|
||||
|
|
Loading…
Reference in a new issue