![]() |
EVE 1.0
|
Hardware random number generator driver. More...
#include <stdbool.h>#include <stdint.h>#include <hal/nrf_rng.h>#include <sdk_errors.h>
Go to the source code of this file.
Data Structures | |
| struct | rng_config_t |
| Struct for RNG configuration. More... | |
Macros | |
| #define | NRF_DRV_RNG_DEFAULT_CONFIG |
| RNG default configuration. | |
Functions | |
| uint32_t | RngInit (void) |
| Function for initializing the nrf_drv_rng module. More... | |
| void | RngDeinit (void) |
| Function for deinitializing the nrf_drv_rng module. | |
| uint32_t | RngBytesAvailable (uint8_t *bytes_available) |
| Function for getting the number of currently available random bytes. More... | |
| uint32_t | RngPoolCapacity (uint8_t *pool_capacity) |
| Function for querying the capacity of the application random pool. More... | |
| uint32_t | RngRand (uint8_t *buffer, uint8_t length) |
| Function for getting the vector of random numbers. More... | |
| uint32_t | RngBlockRand (uint8_t *buffer, uint32_t length) |
| Blocking function for getting an arbitrary array of random numbers. More... | |
Hardware random number generator driver.
Definition in file rng.h.