]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - common/crc16.c
ADD: @marshmellow42 's fixed version of the ISO11784 FDX-B
[proxmark3-svn] / common / crc16.c
index 973cd103c009b16697b7523b1cbf60b107500f7a..a04c40127c82a996cff60985c1650ca629772c19 100644 (file)
@@ -43,3 +43,7 @@ uint16_t crc16(uint8_t const *message, int length, uint16_t remainder, uint16_t
 uint16_t crc16_ccitt(uint8_t const *message, int length) {
     return crc16(message, length, 0xffff, 0x1021);
 }
+
+uint16_t crc16_ccitt_rev(uint8_t const *message, int length) {
+    return crc16(message, length, 0x0000, 0x1021);
+}
\ No newline at end of file
Impressum, Datenschutz