]> cvs.zerfleddert.de Git - proxmark3-svn/blame - armsrc/mifarecmd.h
reenable intermediate "Waiting for a response from the proxmark..." message
[proxmark3-svn] / armsrc / mifarecmd.h
CommitLineData
8556b852
M
1//-----------------------------------------------------------------------------\r
2// Merlok - June 2011\r
3// Gerhard de Koning Gans - May 2008\r
4// Hagen Fritsch - June 2010\r
5//\r
6// This code is licensed to you under the terms of the GNU GPL, version 2 or,\r
7// at your option, any later version. See the LICENSE.txt file for the text of\r
8// the license.\r
9//-----------------------------------------------------------------------------\r
10// Routines to support ISO 14443 type A.\r
11//-----------------------------------------------------------------------------\r
12\r
0b4efbde 13#ifndef MIFARECMD_H__\r
14#define MIFARECMD_H__\r
8556b852 15\r
0b4efbde 16#include <stdint.h>\r
8556b852 17\r
0b4efbde 18extern void MifareReadBlock(uint8_t arg0, uint8_t arg1, uint8_t arg2, uint8_t *data);\r
19extern void MifareUReadBlock(uint8_t arg0, uint8_t arg1, uint8_t *datain);\r
20extern void MifareUC_Auth(uint8_t arg0, uint8_t *datain);\r
21extern void MifareUReadCard(uint8_t arg0, uint16_t arg1, uint8_t arg2, uint8_t *datain);\r
22extern void MifareReadSector(uint8_t arg0, uint8_t arg1, uint8_t arg2, uint8_t *datain);\r
23extern void MifareWriteBlock(uint8_t arg0, uint8_t arg1, uint8_t arg2, uint8_t *datain);\r
24//extern void MifareUWriteBlockCompat(uint8_t arg0,uint8_t *datain);\r
25extern void MifareUWriteBlock(uint8_t arg0, uint8_t arg1, uint8_t *datain);\r
26extern void MifareNested(uint32_t arg0, uint32_t arg1, uint32_t arg2, uint8_t *datain);\r
27extern void MifareAcquireEncryptedNonces(uint32_t arg0, uint32_t arg1, uint32_t flags, uint8_t *datain);\r
a749b1e5 28extern void MifareChkKeys(uint16_t arg0, uint32_t arg1, uint8_t arg2, uint8_t *datain);\r
0b4efbde 29extern void MifareSetDbgLvl(uint32_t arg0, uint32_t arg1, uint32_t arg2, uint8_t *datain);\r
30extern void MifareEMemClr(uint32_t arg0, uint32_t arg1, uint32_t arg2, uint8_t *datain);\r
31extern void MifareEMemSet(uint32_t arg0, uint32_t arg1, uint32_t arg2, uint8_t *datain);\r
32extern void MifareEMemGet(uint32_t arg0, uint32_t arg1, uint32_t arg2, uint8_t *datain);\r
33extern void MifareECardLoad(uint32_t arg0, uint32_t arg1, uint32_t arg2, uint8_t *datain);\r
34extern void MifareCWipe(uint32_t arg0, uint32_t arg1, uint32_t arg2, uint8_t *datain); // Work with "magic Chinese" card\r
35extern void MifareCSetBlock(uint32_t arg0, uint32_t arg1, uint32_t arg2, uint8_t *datain);\r
36extern void MifareCGetBlock(uint32_t arg0, uint32_t arg1, uint32_t arg2, uint8_t *datain);\r
37extern void MifareCIdent(); // is "magic chinese" card?\r
38extern void MifareUSetPwd(uint8_t arg0, uint8_t *datain);\r
39extern void MifarePersonalizeUID(uint8_t keyType, uint8_t perso_option, uint8_t *datain);\r
8556b852 40\r
0b4efbde 41//desfire\r
42extern void Mifare_DES_Auth1(uint8_t arg0,uint8_t *datain);\r
43extern void Mifare_DES_Auth2(uint32_t arg0, uint8_t *datain);\r
8556b852 44\r
0b4efbde 45#endif\r
Impressum, Datenschutz