zephyr/drivers/entropy
Erwan Gouriou 8725edc134 drivers: entropy: stm32: Check clock config at runtime
RNG clock configuration constraints differ between each series.
Rather than providing complex build time code to verify RNG clock
configuration is correct, take advantage of CECS bit (Clock error
current status) to assess clock configuration.

This check is implemented under a specific ENTROPY_STM32_CLK_CHECK
Kconfig option. This allows user to disable this feature in specific
conditions:
- CED bit disabled in application (in which case CECS status is not valid)
- Clock configuration is deemed as correct by user. Note that RNG number
  are always generated, whatever the clock status.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2023-01-18 09:56:03 +01:00
..
CMakeLists.txt drivers: Add NXP CSS entropy driver 2022-11-02 16:54:10 -05:00
Kconfig drivers: entropy: Add the PSA Crypto Random entropy driver 2022-10-27 16:32:05 +02:00
Kconfig.b91
Kconfig.bt_hci
Kconfig.cc13xx_cc26xx
Kconfig.esp32
Kconfig.gecko drivers: entropy: Add Gecko trng driver for EFR32BG22 2023-01-12 15:22:11 +00:00
Kconfig.litex
Kconfig.mcux drivers: entropy: Fix MCUX CAAM Entropy 2022-12-01 17:57:12 +01:00
Kconfig.native_posix
Kconfig.neorv32
Kconfig.nrf5
Kconfig.psa_crypto drivers: entropy: PSA crypto RNG driver default 2022-12-05 14:20:52 +01:00
Kconfig.rv32m1
Kconfig.sam
Kconfig.stm32 drivers: entropy: stm32: Check clock config at runtime 2023-01-18 09:56:03 +01:00
entropy_b91_trng.c
entropy_bt_hci.c
entropy_cc13xx_cc26xx.c
entropy_esp32.c
entropy_gecko_se.c
entropy_gecko_trng.c drivers: entropy: Add Gecko trng driver for EFR32BG22 2023-01-12 15:22:11 +00:00
entropy_handlers.c
entropy_litex.c
entropy_mcux_caam.c drivers: entropy: Fix MCUX CAAM Entropy 2022-12-01 17:57:12 +01:00
entropy_mcux_css.c drivers: Add NXP CSS entropy driver 2022-11-02 16:54:10 -05:00
entropy_mcux_rng.c
entropy_mcux_rnga.c
entropy_mcux_trng.c
entropy_neorv32_trng.c
entropy_nrf5.c
entropy_psa_crypto.c drivers: entropy: Add the PSA Crypto Random entropy driver 2022-10-27 16:32:05 +02:00
entropy_rv32m1_trng.c
entropy_sam.c
entropy_stm32.c drivers: entropy: stm32: Check clock config at runtime 2023-01-18 09:56:03 +01:00
fake_entropy_native_posix.c