]>
Commit | Line | Data |
---|---|---|
20f9a2a1 M |
1 | //-----------------------------------------------------------------------------\r |
2 | // Merlok, May 2011\r | |
3 | // Many authors, that makes it possible\r | |
4 | //\r | |
5 | // This code is licensed to you under the terms of the GNU GPL, version 2 or,\r | |
6 | // at your option, any later version. See the LICENSE.txt file for the text of\r | |
7 | // the license.\r | |
8 | //-----------------------------------------------------------------------------\r | |
9 | // code for work with mifare cards.\r | |
10 | //-----------------------------------------------------------------------------\r | |
11 | \r | |
12 | int mifare_classic_auth(struct Crypto1State *pcs, uint32_t uid, \\r | |
13 | uint8_t blockNo, uint8_t keyType, uint64_t ui64Key, uint64_t isNested);\r | |
14 | int mifare_classic_readblock(struct Crypto1State *pcs, uint32_t uid, uint8_t blockNo, uint8_t *blockData); \r | |
15 | int mifare_classic_writeblock(struct Crypto1State *pcs, uint32_t uid, uint8_t blockNo, uint8_t *blockData);\r | |
16 | int mifare_classic_halt(struct Crypto1State *pcs, uint32_t uid); \r | |
17 | \r |