8b883a61a3
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>
18 lines
526 B
Plaintext
18 lines
526 B
Plaintext
# Kconfig.esp32 - esp32 entropy generator driver configuration
|
|
#
|
|
# Copyright (c) 2017 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config ENTROPY_ESP32_RNG
|
|
bool "ESP32 entropy number generator driver"
|
|
depends on ENTROPY_GENERATOR && SOC_ESP32
|
|
default n
|
|
select ENTROPY_HAS_DRIVER
|
|
help
|
|
This option enables the entropy number generator for ESP32 SoCs.
|
|
|
|
With Wi-Fi and Bluetooth disabled, this will produce pseudo-entropy
|
|
numbers: noise from these radios are used to feed entropy in this
|
|
generator.
|