![]() |
Contiki-NG
|
Implementation of the CC13xx/CC26xx RNG driver. More...
#include "contiki.h"
#include "lpm.h"
#include "sys/process.h"
#include "dev/soc-trng.h"
#include "ti-lib.h"
#include <stdbool.h>
#include <stdint.h>
#include <stddef.h>
Go to the source code of this file.
Macros | |
#define | SOC_TRNG_CACHE_LEN 4 |
Size of the random number cache. | |
Functions | |
TRNG functions | |
uint64_t | soc_trng_rand_synchronous () |
Returns a minimum entropy random number. | |
uint8_t | soc_trng_rand_asynchronous (uint32_t samples, soc_trng_callback_t cb) |
Request a 64-bit, configurable-entropy random number. | |
void | soc_trng_init (void) |
Initialise the CC13xx/CC26xx TRNG driver. | |
Implementation of the CC13xx/CC26xx RNG driver.
Definition in file soc-trng.c.