X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/7fe9b0b742d7dae9c5af1d292d11840b5c3cbfae..e6b8c965bb27650b3ead5738ba46dd4c82f937de:/common/iso14443crc.h?ds=inline diff --git a/common/iso14443crc.h b/common/iso14443crc.h index a435d09c..e70573ef 100644 --- a/common/iso14443crc.h +++ b/common/iso14443crc.h @@ -1,5 +1,13 @@ -#ifndef ISO14443CRC_H__ -#define ISO14443CRC_H__ +//----------------------------------------------------------------------------- +// This code is licensed to you under the terms of the GNU GPL, version 2 or, +// at your option, any later version. See the LICENSE.txt file for the text of +// the license. +//----------------------------------------------------------------------------- +// ISO14443 CRC calculation code. +//----------------------------------------------------------------------------- + +#ifndef __ISO14443CRC_H +#define __ISO14443CRC_H //----------------------------------------------------------------------------- // Routines to compute the CRCs (two different flavours, just for confusion) @@ -7,6 +15,7 @@ //----------------------------------------------------------------------------- #define CRC_14443_A 0x6363 /* ITU-V.41 */ #define CRC_14443_B 0xFFFF /* ISO/IEC 13239 (formerly ISO/IEC 3309) */ +#define CRC_ICLASS 0xE012 /* ICLASS PRERFIX */ void ComputeCrc14443(int CrcType, unsigned char *Data, int Length,