![]() |
Contiki-NG
|
Files | |
| file | random.c |
| Wrapper around rand() using the hardware RNG for seeding. | |
Functions | |
| unsigned short | random_rand (void) |
| Generates a new random number using the cc2538 RNG. | |
| void | random_init (unsigned short seed) |
| Initialize the libc random number generator from the hardware RNG. | |
| void random_init | ( | unsigned short | seed | ) |
| unsigned short random_rand | ( | void | ) |