]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - include/legic_prng.h
syntax sugar
[proxmark3-svn] / include / legic_prng.h
index edcf49cc0f8cac3c295de78bd8a8ccb32a55a817..85d40e794ab43f7b826de08b65dc3c79ec9191c2 100644 (file)
@@ -1,5 +1,19 @@
-#include "unistd.h"
-#include "stdint.h"
+//-----------------------------------------------------------------------------
+// This code is licensed to you under the terms of the GNU GPL, version 2 or,
+// at your option, any later version. See the LICENSE.txt file for the text of
+// the license.
+//-----------------------------------------------------------------------------
+// LEFIC's obfuscation function
+//-----------------------------------------------------------------------------
+
+#ifndef __LEGIC_PRNG_H
+#define __LEGIC_PRNG_H
+
+#include <stdint.h>
 extern void legic_prng_init(uint8_t init);
 extern void legic_prng_forward(int count);
 extern void legic_prng_init(uint8_t init);
 extern void legic_prng_forward(int count);
+extern uint32_t legic_prng_count();
 extern uint8_t legic_prng_get_bit();
 extern uint8_t legic_prng_get_bit();
+extern uint32_t legic_prng_get_bits(uint8_t len);
+#endif
+
Impressum, Datenschutz