]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - include/legic_prng.h
Merge branch 'master' of https://github.com/Proxmark/proxmark3
[proxmark3-svn] / include / legic_prng.h
index edcf49cc0f8cac3c295de78bd8a8ccb32a55a817..36c6d550b1bfd91c628e9c3f2e40369323e26a6b 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 int  legic_prng_count();
 extern uint8_t legic_prng_get_bit();
 extern uint8_t legic_prng_get_bit();
+
+#endif
+
Impressum, Datenschutz