mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
remove spurious spaces & tabs at end of lines
This commit is contained in:
parent
edc19f202a
commit
60f292b18e
249 changed files with 8481 additions and 8481 deletions
|
@ -6,20 +6,20 @@ static uint32_t g_nextrandom;
|
|||
*
|
||||
* We don't have an implementation of the "rand" function. Instead we use a
|
||||
* method of seeding with the time it took to call "autoseed" from first run.
|
||||
*
|
||||
*
|
||||
* https://github.com/Proxmark/proxmark3/pull/209/commits/f9c1dcd9f6e68a8c07cffed697a9c4c8caed6015
|
||||
*
|
||||
* Iceman, rand needs to be fast.
|
||||
* https://software.intel.com/en-us/articles/fast-random-number-generator-on-the-intel-pentiumr-4-processor/
|
||||
*/
|
||||
|
||||
|
||||
inline void fast_prand(){
|
||||
fast_prandEx(GetTickCount());
|
||||
}
|
||||
inline void fast_prandEx(uint32_t seed) {
|
||||
g_nextrandom = seed;
|
||||
}
|
||||
|
||||
|
||||
uint32_t prand() {
|
||||
// g_nextrandom *= 6364136223846793005;
|
||||
// g_nextrandom += 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue