]>
cvs.zerfleddert.de Git - proxmark3-svn/blob - armsrc/mifareutil.h
ed2779fcd2f1f6995d3057b20ed94da20f281a0d
1 //-----------------------------------------------------------------------------
3 // Many authors, that makes it possible
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
8 //-----------------------------------------------------------------------------
9 // code for work with mifare cards.
10 //-----------------------------------------------------------------------------
12 int mifare_classic_auth(struct Crypto1State
*pcs
, uint32_t uid
, \
13 uint8_t blockNo
, uint8_t keyType
, uint64_t ui64Key
, uint64_t isNested
);
14 int mifare_classic_readblock(struct Crypto1State
*pcs
, uint32_t uid
, uint8_t blockNo
, uint8_t *blockData
);
15 int mifare_classic_writeblock(struct Crypto1State
*pcs
, uint32_t uid
, uint8_t blockNo
, uint8_t *blockData
);
16 int mifare_classic_halt(struct Crypto1State
*pcs
, uint32_t uid
);