]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - include/legic_prng.h
FIX: increased time-out to match 2.7sec it takes to write 256bytes.
[proxmark3-svn] / include / legic_prng.h
index 87354dff5dc0b627395ac1f1f89a216322e304f2..85d40e794ab43f7b826de08b65dc3c79ec9191c2 100644 (file)
@@ -1,10 +1,19 @@
+//-----------------------------------------------------------------------------
+// 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);
 #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 uint8_t legic_prng_get_bit();
-
+extern uint32_t legic_prng_get_bits(uint8_t len);
 #endif
 
 #endif
 
Impressum, Datenschutz