]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/util.h
FIX: "hf legic decode" the stamp_len variable was int, but its used as a uint8_t.
[proxmark3-svn] / client / util.h
index 39ed51b4c9a4f53dd012804d3bd091c205503015..ce3bc24701a28d2288ef2ce19abce7df53c38b32 100644 (file)
@@ -78,4 +78,5 @@ void wiegand_add_parity(uint8_t *target, uint8_t *source, uint8_t length);
 void xor(unsigned char * dst, unsigned char * src, size_t len);
 int32_t le24toh (uint8_t data[3]);
 uint32_t PackBits(uint8_t start, uint8_t len, uint8_t* bits);
-void rol(uint8_t *data, const size_t len);
\ No newline at end of file
+void rol(uint8_t *data, const size_t len);
+uint32_t SwapBits(uint32_t value, int nrbits);
\ No newline at end of file
Impressum, Datenschutz