mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
13 lines
303 B
C
13 lines
303 B
C
#ifndef AVR_RNG_H_
|
|
#define AVR_RNG_H_
|
|
|
|
#include <inttypes.h>
|
|
|
|
//! Returns a byte with eight random bits.
|
|
/*! This function is very slow, and should only
|
|
** be used when true random entropy is required.
|
|
** The time it will take to complete is non-deterministic.
|
|
*/
|
|
extern uint8_t rng_get_uint8();
|
|
|
|
#endif |