Contiki 3.x
rng.h
1 #ifndef AVR_RNG_H_
2 #define AVR_RNG_H_
3 
4 #include <inttypes.h>
5 
6 //! Returns a byte with eight random bits.
7 /*! This function is very slow, and should only
8 ** be used when true random entropy is required.
9 ** The time it will take to complete is non-deterministic.
10 */
11 extern uint8_t rng_get_uint8();
12 
13 #endif