]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - common/iso15693tools.h
fix 'hf iclass replay' (#888)
[proxmark3-svn] / common / iso15693tools.h
index a2eab2938edc03b8c4d51b04812237b8700e4855..9825eb04bad9cdcad665fd987295cb0cd0aa6c31 100644 (file)
@@ -4,12 +4,13 @@
 #ifndef ISO15693TOOLS_H__
 #define ISO15693TOOLS_H__
 
 #ifndef ISO15693TOOLS_H__
 #define ISO15693TOOLS_H__
 
+#include <stdint.h>
+
 // ISO15693 CRC
 #define ISO15693_CRC_CHECK   ((uint16_t)(~0xF0B8 & 0xFFFF))  // use this for checking of a correct crc
 // ISO15693 CRC
 #define ISO15693_CRC_CHECK   ((uint16_t)(~0xF0B8 & 0xFFFF))  // use this for checking of a correct crc
-
 uint16_t Iso15693Crc(uint8_t *v, int n);
 int Iso15693AddCrc(uint8_t *req, int n);
 char* Iso15693sprintUID(char *target, uint8_t *uid);
 uint16_t Iso15693Crc(uint8_t *v, int n);
 int Iso15693AddCrc(uint8_t *req, int n);
 char* Iso15693sprintUID(char *target, uint8_t *uid);
-unsigned short iclass_crc16(char *data_p, unsigned short length);
+unsigned short iclass_crc16(uint8_t *data_p, unsigned short length);
 
 #endif
 
 #endif
Impressum, Datenschutz