This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_ENTROPY_STM32_RNG

STM32 RNG driver

Type: bool

Help

This option enables the RNG processor, which is a entropy number
generator, based on a continuous analog noise, that provides
a entropy 32-bit value to the host when read. It is available for
F4 (except STM32F401 & STM32F411), L4, F7, H7 and G4 series.

Defaults

  • y

  • y

  • y

  • y

  • n

Symbols selected by this symbol

Kconfig definitions

At soc/arm/st_stm32/stm32f4/Kconfig.defconfig.stm32f427xx:16

Included via Kconfig:8Kconfig.zephyr:27soc/arm/st_stm32/Kconfig.defconfig:3soc/arm/st_stm32/stm32f4/Kconfig.defconfig.series:10

Menu path: (Top)

config ENTROPY_STM32_RNG
    bool
    default y
    depends on ENTROPY_GENERATOR && SOC_STM32F427XX && SOC_SERIES_STM32F4X

At soc/arm/st_stm32/stm32f7/Kconfig.defconfig.stm32f767xx:16

Included via Kconfig:8Kconfig.zephyr:27soc/arm/st_stm32/Kconfig.defconfig:3soc/arm/st_stm32/stm32f7/Kconfig.defconfig.series:10

Menu path: (Top)

config ENTROPY_STM32_RNG
    bool
    default y
    depends on ENTROPY_GENERATOR && SOC_STM32F767XX && SOC_SERIES_STM32F7X

At soc/arm/st_stm32/stm32h7/Kconfig.defconfig.series:21

Included via Kconfig:8Kconfig.zephyr:27soc/arm/st_stm32/Kconfig.defconfig:3

Menu path: (Top)

config ENTROPY_STM32_RNG
    bool
    default y
    depends on ENTROPY_GENERATOR && SOC_SERIES_STM32H7X

At soc/arm/st_stm32/stm32l5/Kconfig.defconfig.series:23

Included via Kconfig:8Kconfig.zephyr:27soc/arm/st_stm32/Kconfig.defconfig:3

Menu path: (Top)

config ENTROPY_STM32_RNG
    bool
    default y
    depends on ENTROPY_GENERATOR && SOC_SERIES_STM32L5X

At drivers/entropy/Kconfig.stm32:8

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:30drivers/entropy/Kconfig:15

Menu path: (Top) → Device Drivers → Entropy Drivers

menuconfig ENTROPY_STM32_RNG
    bool "STM32 RNG driver"
    default n
    select ENTROPY_HAS_DRIVER
    select USE_STM32_LL_RNG
    depends on SOC_FAMILY_STM32 && ENTROPY_GENERATOR
    help
      This option enables the RNG processor, which is a entropy number
      generator, based on a continuous analog noise, that provides
      a entropy 32-bit value to the host when read. It is available for
      F4 (except STM32F401 & STM32F411), L4, F7, H7 and G4 series.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)