Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
arch independent Random Number Generator API More...
Go to the source code of this file.
Functions | |
void | rng_init (void) |
void | rng_deinit (void) |
bool | rng_get (uint32_t *rand_nr) |
uint32_t | rng_wait_and_get (void) |
arch independent Random Number Generator API
Definition in file rng.h.
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 fd, last, TRNGClearErrors(), and TRNGGenerate().
Referenced by rng_wait_and_get().
void rng_init | ( | void | ) |
Definition at line 77 of file rng_arch.c.
References last, rng_wait_and_get(), and TRNGStart().
Referenced by mcu_init().
uint32_t rng_wait_and_get | ( | void | ) |
Definition at line 104 of file rng_arch.c.
References last, rng_get(), and TRNGGenerate().
Referenced by gec_generate_ephemeral_keys(), and rng_init().