Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
arch specific Random Number Generator API More...
Go to the source code of this file.
Functions | |
static void | TRNGStart (void) |
static void | TRNGStop (void) |
static uint32_t | TRNGGet (void) |
static bool | TRNGGetErrors (void) |
static void | TRNGClearErrors (void) |
static bool | TRNGGenerate (size_t size, uint32_t *out) |
void | rng_init (void) |
void | rng_deinit (void) |
bool | rng_get (uint32_t *rand_nr) |
uint32_t | rng_wait_and_get (void) |
arch specific Random Number Generator API
Definition in file rng_arch.c.
void rng_deinit | ( | void | ) |
Definition at line 82 of file rng_arch.c.
References TRNGStop().
bool rng_get | ( | uint32_t * | rand_nr | ) |
Definition at line 89 of file rng_arch.c.
References TRNGClearErrors(), and TRNGGenerate().
Referenced by rng_wait_and_get().
void rng_init | ( | void | ) |
Definition at line 77 of file rng_arch.c.
References TRNGStart().
Referenced by mcu_init().
uint32_t rng_wait_and_get | ( | void | ) |
Definition at line 104 of file rng_arch.c.
References TRNGGenerate().
Referenced by gec_generate_ephemeral_keys(), and rng_init().
|
static |
Definition at line 59 of file rng_arch.c.
Referenced by rng_get().
|
static |
Definition at line 64 of file rng_arch.c.
References TRNGGet(), and TRNGGetErrors().
Referenced by rng_get(), and rng_wait_and_get().
|
static |
Definition at line 47 of file rng_arch.c.
Referenced by TRNGGenerate().
|
static |
Definition at line 54 of file rng_arch.c.
Referenced by TRNGGenerate().
|
static |
Definition at line 35 of file rng_arch.c.
Referenced by rng_init().
|
static |
Definition at line 41 of file rng_arch.c.
Referenced by rng_deinit().