Contiki-NG
|
Wrapper around rand() using the hardware RNG for seeding. More...
#include <stdlib.h>
#include <nrfx_rng.h>
Go to the source code of this file.
Functions | |
unsigned short | random_rand (void) |
Generates a new random number using the cc2538 RNG. More... | |
void | random_init (unsigned short seed) |
Initialize the libc random number generator from the hardware RNG. More... | |
Wrapper around rand() using the hardware RNG for seeding.
This file overrides os/lib/random.c.
Definition in file random.c.