Paparazzi UAS  v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
rng.h File Reference

arch independent Random Number Generator API More...

#include <inttypes.h>
#include "std.h"
+ Include dependency graph for rng.h:
+ This graph shows which files directly or indirectly include this file:

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)
 

Detailed Description

arch independent Random Number Generator API

Definition in file rng.h.

Function Documentation

void rng_deinit ( void  )

Definition at line 36 of file rng_arch.c.

bool rng_get ( uint32_t rand_nr)

Definition at line 40 of file rng_arch.c.

References fd, and last.

Referenced by rng_wait_and_get().

+ Here is the caller graph for this function:

void rng_init ( void  )

Definition at line 34 of file rng_arch.c.

References last, and rng_wait_and_get().

Referenced by mcu_init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uint32_t rng_wait_and_get ( void  )

Definition at line 62 of file rng_arch.c.

References last, and rng_get().

Referenced by gec_generate_ephemeral_keys(), and rng_init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: