| 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 | //----------------------------------------------------------------------------- |
| 8 | |
| 9 | #ifndef __LEGIC_PRNG_H |
| 10 | #define __LEGIC_PRNG_H |
| 11 | |
| 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(); |
| 17 | |
| 18 | #endif |
| 19 | |