This is the documentation for the latest (master) 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.
choice RNG_GENERATOR_CHOICE: Random generator

Random generator

Type: bool

Help

Platform dependent non-cryptographically secure random number support.

If the entropy support of the platform has sufficient performance to support random request then select that. Otherwise, select the XOROSHIRO algorithm

Direct dependencies

(SOC_MKW40Z4 && SOC_SERIES_KINETIS_KWX) || (SOC_MKW41Z4 && SOC_SERIES_KINETIS_KWX) || ENTROPY_GENERATOR || ENTROPY_HAS_DRIVER || TEST_RANDOM_GENERATOR

(Includes any dependencies from ifs and menus.)

Kconfig definitions

At soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.mkw40z4:49

Included via Kconfig:8Kconfig.zephyr:25doc/_build/Kconfig/Kconfig.soc.defconfig:1soc/arm/nxp_kinetis/Kconfig.defconfig:3soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.series:11

Menu path: (Top)

choice RNG_GENERATOR_CHOICE
    bool
    default XOROSHIRO_RANDOM_GENERATOR
    depends on SOC_MKW40Z4 && SOC_SERIES_KINETIS_KWX

At soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.mkw41z4:88

Included via Kconfig:8Kconfig.zephyr:25doc/_build/Kconfig/Kconfig.soc.defconfig:1soc/arm/nxp_kinetis/Kconfig.defconfig:3soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.series:11

Menu path: (Top)

choice RNG_GENERATOR_CHOICE
    bool
    default XOROSHIRO_RANDOM_GENERATOR
    depends on SOC_MKW41Z4 && SOC_SERIES_KINETIS_KWX

At drivers/entropy/Kconfig.rv32m1:16

Included via Kconfig:8Kconfig.zephyr:32drivers/Kconfig:30drivers/entropy/Kconfig:20

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

choice RNG_GENERATOR_CHOICE
    bool
    default XOROSHIRO_RANDOM_GENERATOR if ENTROPY_RV32M1_TRNG
    depends on ENTROPY_GENERATOR

At subsys/random/Kconfig:18

Included via Kconfig:8Kconfig.zephyr:34subsys/Kconfig:44

Menu path: (Top) → Sub Systems and OS Services → Random Number Generators

choice RNG_GENERATOR_CHOICE
    bool "Random generator"
    default ENTROPY_DEVICE_RANDOM_GENERATOR
    depends on ENTROPY_HAS_DRIVER || TEST_RANDOM_GENERATOR
    help
      Platform dependent non-cryptographically secure random number support.

      If the entropy support of the platform has sufficient performance
      to support random request then select that. Otherwise, select the
      XOROSHIRO algorithm

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