Contiki 2.5
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