]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - common/iso14443crc.h
ADD: next step ISO11784/85
[proxmark3-svn] / common / iso14443crc.h
index e70573efdd67c0425a66f595c5f47943126ae5ef..80941116332a81430091eadb7c08b5cc39d57a91 100644 (file)
@@ -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
Impressum, Datenschutz