Contiki-NG
Functions

This file overrides os/lib/random.c and calls SoC-specific RNG functions. More...

#include "contiki.h"
#include "dev/soc-trng.h"

Go to the source code of this file.

Functions

unsigned short random_rand (void)
 Generates a new random number using the hardware TRNG. More...
 
void random_init (unsigned short seed)
 Function required by the API. More...
 

Detailed Description

This file overrides os/lib/random.c and calls SoC-specific RNG functions.

Definition in file random.c.