]> cvs.zerfleddert.de Git - proxmark3-svn/blob - common/random.h
FIX: fixes warning for "%zu" string formatspecifier on MINGW systems. (Thanks to...
[proxmark3-svn] / common / random.h
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"
18 void fast_prand();
19 void fast_prandEx(uint32_t seed);
20 uint32_t prand();
21 #endif
Impressum, Datenschutz