Contiki-NG
Macros

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. More...
 

Functions

TRNG functions
uint64_t soc_trng_rand_synchronous ()
 Returns a minimum entropy random number. More...
 
uint8_t soc_trng_rand_asynchronous (uint32_t samples, soc_trng_callback_t cb)
 Request a 64-bit, configurable-entropy random number. More...
 
void soc_trng_init (void)
 Initialise the CC13xx/CC26xx TRNG driver.
 

Detailed Description

Implementation of the CC13xx/CC26xx RNG driver.

Definition in file soc-trng.c.