Bluenet
5.7.0
Bluenet, firmware for nRF52 smart home devices
|
Random number generator using softdevice called peripheral. More...
#include <cs_RNG.h>
Public Member Functions | |
uint32_t | getRandom32 () |
uint16_t | getRandom16 () |
uint8_t | getRandom8 () |
Static Public Member Functions | |
static RNG & | getInstance () |
static void | fillBuffer (uint8_t *buffer, uint8_t length) |
Private Member Functions | |
RNG () | |
RNG (RNG const &) | |
void | operator= (RNG const &) |
Private Attributes | |
uint8_t | _randomBytes [4] |
Random number generator using softdevice called peripheral.
|
private |
|
static |
|
inlinestatic |
uint16_t RNG::getRandom16 | ( | ) |
uint32_t RNG::getRandom32 | ( | ) |
uint8_t RNG::getRandom8 | ( | ) |
|
private |
|
private |