X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/eb891c385e5b580dfafbe3f1ffbae41054adbdd9..ffeb77fdc6c57449b6a5607b4468eb981a05dd4e:/client/util.h?ds=inline diff --git a/client/util.h b/client/util.h index 990a8444..e492fd49 100644 --- a/client/util.h +++ b/client/util.h @@ -13,8 +13,8 @@ #include #include #include -#include -#include "data.h" //for FILE_PATH_SIZE +#include +#include "data.h" //for FILE_PATH_SIZE #ifndef ROTR # define ROTR(x,n) (((uintmax_t)(x) >> (n)) | ((uintmax_t)(x) << ((sizeof(x) * 8) - (n)))) @@ -90,6 +90,7 @@ 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 le32toh (uint8_t *data); uint32_t PackBits(uint8_t start, uint8_t len, uint8_t* bits); void rol(uint8_t *data, const size_t len); uint32_t SwapBits(uint32_t value, int nrbits); \ No newline at end of file