X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/cee5a30d53c7aff4c4830eae53eaf58414ecf806..908536d1616e4953db6fe43de8a6b0cac1972b9a:/common/iso14443crc.h diff --git a/common/iso14443crc.h b/common/iso14443crc.h index e70573ef..80941116 100644 --- a/common/iso14443crc.h +++ b/common/iso14443crc.h @@ -8,6 +8,7 @@ #ifndef __ISO14443CRC_H #define __ISO14443CRC_H +#include "../include/common.h" //----------------------------------------------------------------------------- // Routines to compute the CRCs (two different flavours, just for confusion) @@ -18,8 +19,9 @@ #define CRC_ICLASS 0xE012 /* ICLASS PRERFIX */ void ComputeCrc14443(int CrcType, - unsigned char *Data, int Length, + const unsigned char *Data, int Length, unsigned char *TransmitFirst, unsigned char *TransmitSecond); +int CheckCrc14443(int CrcType, const unsigned char *Data, int Length); #endif