]>
Commit | Line | Data |
---|---|---|
bf5d7992 | 1 | //----------------------------------------------------------------------------- |
2 | // Micolous Jan 2017 | |
3 | // Iceman Jan 2017 | |
4 | // This code is licensed to you under the terms of the GNU GPL, version 2 or, | |
5 | // at your option, any later version. See the LICENSE.txt file for the text of | |
6 | // the license. | |
7 | //----------------------------------------------------------------------------- | |
8 | // pseudo rng generator. To be used when PM3 simulates Mifare tag. | |
9 | // i.e. 'hf mf sim' | |
10 | // 'hf 14a sim' | |
11 | //----------------------------------------------------------------------------- | |
12 | ||
13 | #ifndef __RANDOM_H | |
14 | #define __RANDOM_H | |
15 | ||
16 | #include "common.h" | |
17 | #include "ticks.h" | |
e99acd00 | 18 | void fast_prand(); |
19 | void fast_prandEx(uint32_t seed); | |
bf5d7992 | 20 | uint32_t prand(); |
bf5d7992 | 21 | #endif |