]>
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); | |
c71c5ee1 | 15 | extern uint32_t legic_prng_count(); |
8e220a91 | 16 | extern uint8_t legic_prng_get_bit(); |
ad5bc8cc | 17 | extern uint32_t legic_prng_get_bits(uint8_t len); |
5e174a51 | 18 | #endif |
19 |