fix one too small
[RRG-proxmark3.git] / client / src / cmdhfmfp.h
blobf6189fadf224d979eb28c17898cc411d21ae9063
1 //-----------------------------------------------------------------------------
2 // Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
14 // See LICENSE.txt for the text of the license.
15 //-----------------------------------------------------------------------------
16 // High frequency MIFARE Plus commands
17 //-----------------------------------------------------------------------------
18 #ifndef CMDHFMFP_H__
19 #define CMDHFMFP_H__
21 #include "common.h"
23 typedef enum {
24 MFP_UNKNOWN = 0,
25 DESFIRE_MF3ICD40,
26 DESFIRE_EV1,
27 DESFIRE_EV2,
28 DESFIRE_EV2_XL,
29 DESFIRE_EV3,
30 DESFIRE_LIGHT,
31 PLUS_EV1,
32 PLUS_EV2,
33 NTAG413DNA,
34 NTAG424
35 } nxp_cardtype_t;
37 typedef struct mfp_key_item {
38 uint8_t a[16];
39 uint8_t b[16];
40 } mfp_key_item_t;
42 typedef struct mfp_keys {
43 uint8_t success;
44 mfp_key_item_t *keys;
45 } mfp_keys_t;
47 int CmdHFMFP(const char *Cmd);
48 int CmdHFMFPNDEFRead(const char *Cmd);
50 #endif