Support for random number generator is required for most of the
cryptographic operations, including support for WiFi and TLS.
This driver has been tested with tests/drivers/entropy:
*** Booting Zephyr OS build v3.7.0-4339-g1ec5ce05f9f8 ***
Running TESTSUITE entropy_api
===================================================================
START - test_entropy_get_entropy
random device is 0x8217298, name is rng@45090000
0x93
0x3e
0xf1
0x68
0xd4
0x22
0xbf
0x4d
0xad
PASS - test_entropy_get_entropy in 0.012 seconds
===================================================================
TESTSUITE entropy_api succeeded
------ TESTSUITE SUMMARY START ------
SUITE PASS - 100.00% [entropy_api]: pass = 1, fail = 0, skip = 0 ...
- PASS - [entropy_api.test_entropy_get_entropy] duration = 0.01 ...
------ TESTSUITE SUMMARY END ------
===================================================================
RunID: d1547c805699201af769cb01331efcce
PROJECT EXECUTION SUCCESSFUL
Co-authored-by: Tibor Laczko <tibor.laczko@silabs.com>
Signed-off-by: Tibor Laczko <tibor.laczko@silabs.com>
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
52 lines
1.5 KiB
Plaintext
52 lines
1.5 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.nrf_cracen"
|
|
source "drivers/entropy/Kconfig.sam"
|
|
source "drivers/entropy/Kconfig.smartbond"
|
|
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.siwx91x"
|
|
source "drivers/entropy/Kconfig.neorv32"
|
|
source "drivers/entropy/Kconfig.bt_hci"
|
|
source "drivers/entropy/Kconfig.psa_crypto"
|
|
source "drivers/entropy/Kconfig.npcx"
|
|
source "drivers/entropy/Kconfig.max32"
|
|
source "drivers/entropy/Kconfig.renesas_ra"
|
|
source "drivers/entropy/Kconfig.sy1xx"
|
|
|
|
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
|