zephyr/drivers/random
Leandro Pereira db6ff4da60 drivers: random: Add ESP32 random number generator driver
The random number generator from ESP32 uses noise from Wi-Fi and
Bluetooth radios.  If these are off, a pseudo-random number is
generated instead; this is currently the case, but even though it's a
black box, it's arguably better than returning a timestamp as a
pseudo-random number generator.

According to the ESP32 Technical Reference manual, the RNG passed the
Dieharder Random Number Test suite (version 3.31.1)[1], but nothing has
been said about the quality of the PRNG.

The RNG register is read directly; no effort is made to use its
contents to feed an entropy pool in a way that's similar to /dev/random
on POSIX systems, as no such subsystem exists on Zephyr at the moment.

[1] http://webhome.phy.duke.edu/~rgb/General/dieharder.php

Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>
2017-08-09 12:26:14 -07:00
..
Kconfig drivers: random: Add ESP32 random number generator driver 2017-08-09 12:26:14 -07:00
Kconfig.esp32 drivers: random: Add ESP32 random number generator driver 2017-08-09 12:26:14 -07:00
Kconfig.mcux random: add MCUX TRNG driver 2017-03-02 14:13:27 +00:00
Kconfig.stm32 drivers: stm32: random: Initial STM32 random number generator driver 2017-07-07 07:27:39 -05:00
Makefile drivers: random: Add ESP32 random number generator driver 2017-08-09 12:26:14 -07:00
rand32_timer.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
rand32_timestamp.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
random_esp32.c drivers: random: Add ESP32 random number generator driver 2017-08-09 12:26:14 -07:00
random_mcux_rnga.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
random_mcux_trng.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
random_stm32_rng.c drivers: stm32: random: Initial STM32 random number generator driver 2017-07-07 07:27:39 -05:00