]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ISO14443CRC_H__ | |
2 | #define ISO14443CRC_H__ | |
3 | ||
4 | //----------------------------------------------------------------------------- | |
5 | // Routines to compute the CRCs (two different flavours, just for confusion) | |
6 | // required for ISO 14443, swiped directly from the spec. | |
7 | //----------------------------------------------------------------------------- | |
8 | #define CRC_14443_A 0x6363 /* ITU-V.41 */ | |
9 | #define CRC_14443_B 0xFFFF /* ISO/IEC 13239 (formerly ISO/IEC 3309) */ | |
10 | ||
11 | void ComputeCrc14443(int CrcType, | |
12 | unsigned char *Data, int Length, | |
13 | unsigned char *TransmitFirst, | |
14 | unsigned char *TransmitSecond); | |
15 | ||
16 | #endif |