]> git.zerfleddert.de Git - proxmark3-svn/blob - client/cmdhficlass.h
ignore SELECT ALL
[proxmark3-svn] / client / cmdhficlass.h
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
3 // Copyright (C) 2011 Gerhard de Koning Gans
4 //
5 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
6 // at your option, any later version. See the LICENSE.txt file for the text of
7 // the license.
8 //-----------------------------------------------------------------------------
9 // High frequency iClass support
10 //-----------------------------------------------------------------------------
11
12 #ifndef CMDHFICLASS_H__
13 #define CMDHFICLASS_H__
14
15 int CmdHFiClass(const char *Cmd);
16
17 int CmdHFiClassCalcNewKey(const char *Cmd);
18 int CmdHFiClassCloneTag(const char *Cmd);
19 int CmdHFiClassDecrypt(const char *Cmd);
20 int CmdHFiClassEncryptBlk(const char *Cmd);
21 int CmdHFiClassELoad(const char *Cmd);
22 int CmdHFiClassList(const char *Cmd);
23 int HFiClassReader(const char *Cmd, bool loop, bool verbose);
24 int CmdHFiClassReader(const char *Cmd);
25 int CmdHFiClassReader_Dump(const char *Cmd);
26 int CmdHFiClassReader_Replay(const char *Cmd);
27 int CmdHFiClassReadKeyFile(const char *filename);
28 int CmdHFiClassReadTagFile(const char *Cmd);
29 int CmdHFiClass_ReadBlock(const char *Cmd);
30 int CmdHFiClass_TestMac(const char *Cmd);
31 int CmdHFiClassManageKeys(const char *Cmd);
32 int CmdHFiClass_loclass(const char *Cmd);
33 int CmdHFiClassSnoop(const char *Cmd);
34 int CmdHFiClassSim(const char *Cmd);
35 int CmdHFiClassWriteKeyFile(const char *Cmd);
36 int CmdHFiClass_WriteBlock(const char *Cmd);
37 int CmdHFiClassCheckKeys(const char *Cmd);
38 void printIclassDumpContents(uint8_t *iclass_dump, uint8_t startblock, uint8_t endblock, size_t filesize);
39 void HFiClassCalcDivKey(uint8_t *CSN, uint8_t *KEY, uint8_t *div_key, bool elite);
40 #endif
Impressum, Datenschutz