]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - common/iso14443crc.h
ADD: `analyse nuid` - generates NUID 4byte from a UID 7byte. Mifare Classic Ev1...
[proxmark3-svn] / common / iso14443crc.h
index 80941116332a81430091eadb7c08b5cc39d57a91..9373d951af1a63f028c18526926eff1041f9132e 100644 (file)
@@ -8,7 +8,7 @@
 
 #ifndef __ISO14443CRC_H
 #define __ISO14443CRC_H
 
 #ifndef __ISO14443CRC_H
 #define __ISO14443CRC_H
-#include "../include/common.h"
+#include "common.h"
 
 //-----------------------------------------------------------------------------
 // Routines to compute the CRCs (two different flavours, just for confusion)
 
 //-----------------------------------------------------------------------------
 // Routines to compute the CRCs (two different flavours, just for confusion)
@@ -16,8 +16,9 @@
 //-----------------------------------------------------------------------------
 #define        CRC_14443_A     0x6363  /* ITU-V.41 */
 #define        CRC_14443_B     0xFFFF  /* ISO/IEC 13239 (formerly ISO/IEC 3309) */
 //-----------------------------------------------------------------------------
 #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 */
+#define CRC_ICLASS     0xE012  /* ICLASS PREFIX */
 
 
+unsigned short UpdateCrc14443(unsigned char ch, unsigned short *lpwCrc);
 void ComputeCrc14443(int CrcType,
                      const unsigned char *Data, int Length,
                      unsigned char *TransmitFirst,
 void ComputeCrc14443(int CrcType,
                      const unsigned char *Data, int Length,
                      unsigned char *TransmitFirst,
Impressum, Datenschutz