BitPunch McEliece  v0.0.4
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
prng.c File Reference
#include "prng.h"
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>

Go to the source code of this file.

Functions

uint32_t BPU_prngGetRand (int from, int to)
 Get random unsigned int 32 value from given range (from <= return <= to) More...
 

Function Documentation

uint32_t BPU_prngGetRand ( int  from,
int  to 
)

Get random unsigned int 32 value from given range (from <= return <= to)

Get random unsigned int 32 value from given range (from <= return <= to)

Parameters
fromminimum
tomaximum
Returns
random value

Definition at line 28 of file prng.c.