]> git.zerfleddert.de Git - proxmark3-svn/blame - client/cmdhfmfu.h
minor code clean up
[proxmark3-svn] / client / cmdhfmfu.h
CommitLineData
f38a1528 1#include "cmdhfmf.h"
99a71418 2#include "cmdhf14a.h"
e3ab50ca 3
0ec548dc 4#ifndef CMDHFMFU_H__
5#define CMDHFMFU_H__
6
f38a1528 7//standard ultralight
8int CmdHF14AMfUWrBl(const char *Cmd);
9int CmdHF14AMfURdBl(const char *Cmd);
99a71418 10
f38a1528 11//Crypto Cards
12int CmdHF14AMfUCRdBl(const char *Cmd);
13int CmdHF14AMfUCRdCard(const char *Cmd);
f38a1528 14int CmdHF14AMfucAuth(const char *Cmd);
f38a1528 15
98cdd568 16uint8_t requestAuthentication(uint8_t *nonce);
17int try3DesAuthentication(uint8_t *key);
18
f38a1528 19//general stuff
98cdd568 20int CmdHF14AMfUInfo(const char *Cmd);
99a71418 21int CmdHF14AMfUDump(const char *Cmd);
2c74558d 22uint16_t GetHF14AMfU_Type(void);
1ec21089 23
98cdd568 24void rol (uint8_t *data, const size_t len);
25int ul_print_type(uint16_t tagtype, uint8_t spacer);
26void ul_switch_off_field(void);
27
28int usage_hf_mfu_info(void);
1c1c5f4c 29int usage_hf_mfu_dump(void);
a8be77af 30
f38a1528 31int CmdHFMFUltra(const char *Cmd);
98cdd568 32
33typedef enum TAGTYPE_UL {
34 UNKNOWN = 0x0000,
35 UL = 0x0001,
36 UL_C = 0x0002,
37 UL_EV1_48 = 0x0004,
38 UL_EV1_128 = 0x0008,
39 NTAG = 0x0010,
40 NTAG_213 = 0x0020,
41 NTAG_215 = 0x0040,
42 NTAG_216 = 0x0080,
43 MY_D = 0x0100,
44 MY_D_NFC = 0x0200,
45 MY_D_MOVE = 0x0400,
46 MY_D_MOVE_NFC = 0x0800,
47 MAGIC = 0x1000,
48 UL_MAGIC = UL | MAGIC,
49 UL_C_MAGIC = UL_C | MAGIC,
50 UL_ERROR = 0xFFFF,
51} TagTypeUL_t;
52
0ec548dc 53#endif
Impressum, Datenschutz