]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/util.h
CHG: the mifare Auth command can make use of a random nonce aswell.
[proxmark3-svn] / client / util.h
index b158ec0aa6c02b4647cc31ca8221a05564fbd76d..593c9af7f7207effa056227b9a847f10d295a07b 100644 (file)
@@ -7,6 +7,8 @@
 //-----------------------------------------------------------------------------
 // utilities
 //-----------------------------------------------------------------------------
+#ifndef __UTIL_H_
+#define __UTIL_H_
 
 #include <stdio.h>
 #include <stdint.h>            //included in data.h
@@ -140,4 +142,6 @@ 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);
 uint32_t reflect(uint32_t v, int b);
-uint64_t HornerScheme(uint64_t num, uint64_t divider, uint64_t factor);
\ No newline at end of file
+uint64_t HornerScheme(uint64_t num, uint64_t divider, uint64_t factor);
+
+#endif
\ No newline at end of file
Impressum, Datenschutz