]>
Commit | Line | Data |
---|---|---|
cee5a30d | 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 | ||
4d68ec02 | 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); | |
cee5a30d | 22 | int CmdHFiClassList(const char *Cmd); |
6ce0e538 | 23 | int HFiClassReader(const char *Cmd, bool loop, bool verbose); |
1e262141 | 24 | int CmdHFiClassReader(const char *Cmd); |
4d68ec02 | 25 | int CmdHFiClassReader_Dump(const char *Cmd); |
c3963755 | 26 | int CmdHFiClassReader_Replay(const char *Cmd); |
aa53efc3 | 27 | int CmdHFiClassReadKeyFile(const char *filename); |
4d68ec02 | 28 | int CmdHFiClassReadTagFile(const char *Cmd); |
aa53efc3 | 29 | int CmdHFiClass_ReadBlock(const char *Cmd); |
aa53efc3 | 30 | int CmdHFiClass_TestMac(const char *Cmd); |
4d68ec02 | 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); | |
909c40c8 | 37 | int CmdHFiClassCheckKeys(const char *Cmd); |
4d68ec02 | 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); | |
cee5a30d | 40 | #endif |