Merge pull request #943 from dgorbunov/patch-1
[legacy-proxmark3.git] / include / legic_prng.h
blob36c6d550b1bfd91c628e9c3f2e40369323e26a6b
1 //-----------------------------------------------------------------------------
2 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
3 // at your option, any later version. See the LICENSE.txt file for the text of
4 // the license.
5 //-----------------------------------------------------------------------------
6 // LEFIC's obfuscation function
7 //-----------------------------------------------------------------------------
9 #ifndef __LEGIC_PRNG_H
10 #define __LEGIC_PRNG_H
12 #include <stdint.h>
13 extern void legic_prng_init(uint8_t init);
14 extern void legic_prng_forward(int count);
15 extern int legic_prng_count();
16 extern uint8_t legic_prng_get_bit();
18 #endif