]>
Commit | Line | Data |
---|---|---|
bd20f8f4 | 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 | ||
e30c654b | 9 | #ifndef __LEGIC_PRNG_H |
10 | #define __LEGIC_PRNG_H | |
5e174a51 | 11 | |
12 | #include <stdint.h> | |
8e220a91 | 13 | extern void legic_prng_init(uint8_t init); |
14 | extern void legic_prng_forward(int count); | |
3612a8a8 | 15 | extern int legic_prng_count(); |
8e220a91 | 16 | extern uint8_t legic_prng_get_bit(); |
5e174a51 | 17 | |
18 | #endif | |
19 |