subsys/random: sys_rand32_get() implementation that uses entropy API
Instead of every hardware number generator driver providing an implementation of this function, use the random device API to centralize the implementation of this function. This is a very simplistic function that can be seen as a stepping stone to refactor the random number generation in Zephyr. Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>
This commit is contained in:
parent
da9b0ddf5b
commit
8b883a61a3
10 changed files with 52 additions and 43 deletions
|
@ -9,7 +9,6 @@ config ENTROPY_ESP32_RNG
|
|||
depends on ENTROPY_GENERATOR && SOC_ESP32
|
||||
default n
|
||||
select ENTROPY_HAS_DRIVER
|
||||
select ENTROPY_DEVICE_ENTROPY_GENERATOR
|
||||
help
|
||||
This option enables the entropy number generator for ESP32 SoCs.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue