]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - include/legic_prng.h
FIX: 'hf iclass dump' / 'hf iclass readtagfile' - the faulty output from these...
[proxmark3-svn] / include / legic_prng.h
index 77c5ec2955b5e827758e038d92bf70a8789d0acc..85d40e794ab43f7b826de08b65dc3c79ec9191c2 100644 (file)
@@ -1,10 +1,19 @@
-#ifndef LEGIC_PRNG_H__
-#define LEGIC_PRNG_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 uint32_t legic_prng_count();
 extern uint8_t legic_prng_get_bit();
-
+extern uint32_t legic_prng_get_bits(uint8_t len);
 #endif
 
Impressum, Datenschutz