mirror of
https://github.com/Proxmark/proxmark3.git
synced 2024-11-14 12:45:26 +08:00
17 lines
659 B
C
17 lines
659 B
C
|
#ifndef ISO14443CRC_H__
|
||
|
#define ISO14443CRC_H__
|
||
|
|
||
|
//-----------------------------------------------------------------------------
|
||
|
// Routines to compute the CRCs (two different flavours, just for confusion)
|
||
|
// required for ISO 14443, swiped directly from the spec.
|
||
|
//-----------------------------------------------------------------------------
|
||
|
#define CRC_14443_A 0x6363 /* ITU-V.41 */
|
||
|
#define CRC_14443_B 0xFFFF /* ISO/IEC 13239 (formerly ISO/IEC 3309) */
|
||
|
|
||
|
void ComputeCrc14443(int CrcType,
|
||
|
unsigned char *Data, int Length,
|
||
|
unsigned char *TransmitFirst,
|
||
|
unsigned char *TransmitSecond);
|
||
|
|
||
|
#endif
|