80e7ad7a23
Adds an entropy driver that uses Bluetooth HCI commands as its source of randomness. As this method is blocking, the ISR API is not supported. As this method will range from relatively slow (same core Bluetooth HCI controller) to extremely slow (UART HCI Bluetooth controller), use the xoshiro PRNG by default for RNG generation. Implements #37186 Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
44 lines
1.2 KiB
Plaintext
44 lines
1.2 KiB
Plaintext
# Entropy generator driver configuration options
|
|
|
|
# Copyright (c) 2014-2015 Wind River Systems, Inc.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig ENTROPY_GENERATOR
|
|
bool "Entropy Drivers"
|
|
help
|
|
Include entropy drivers in system config.
|
|
|
|
if ENTROPY_GENERATOR
|
|
|
|
module = ENTROPY
|
|
module-str = entropy
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
config ENTROPY_INIT_PRIORITY
|
|
int "Entropy driver init priority"
|
|
default KERNEL_INIT_PRIORITY_DEVICE
|
|
help
|
|
Entropy driver device initialization priority.
|
|
|
|
source "drivers/entropy/Kconfig.b91"
|
|
source "drivers/entropy/Kconfig.cc13xx_cc26xx"
|
|
source "drivers/entropy/Kconfig.mcux"
|
|
source "drivers/entropy/Kconfig.stm32"
|
|
source "drivers/entropy/Kconfig.esp32"
|
|
source "drivers/entropy/Kconfig.nrf5"
|
|
source "drivers/entropy/Kconfig.sam"
|
|
source "drivers/entropy/Kconfig.native_posix"
|
|
source "drivers/entropy/Kconfig.rv32m1"
|
|
source "drivers/entropy/Kconfig.litex"
|
|
source "drivers/entropy/Kconfig.gecko"
|
|
source "drivers/entropy/Kconfig.neorv32"
|
|
source "drivers/entropy/Kconfig.bt_hci"
|
|
|
|
config ENTROPY_HAS_DRIVER
|
|
bool
|
|
help
|
|
This is an option to be enabled by individual entropy driver
|
|
to signal that there is a true entropy driver.
|
|
|
|
endif
|