The latest development version of this page may be more current than this released 2.7.5 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
XOSHIRO algorithm

Direct dependencies

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

(Includes any dependencies from ifs and menus.)

Defaults

Choice options

Kconfig definitions

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

Included via Kconfig:8Kconfig.zephyr:27soc/arm/nxp_kinetis/Kconfig.defconfig:7soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.series:11

Menu path: (Top)

choice RNG_GENERATOR_CHOICE
    bool
    default XOSHIRO_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:27soc/arm/nxp_kinetis/Kconfig.defconfig:7soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.series:11

Menu path: (Top)

choice RNG_GENERATOR_CHOICE
    bool
    default XOSHIRO_RANDOM_GENERATOR
    depends on SOC_MKW41Z4 && SOC_SERIES_KINETIS_KWX

At drivers/entropy/Kconfig.mcux:38

Included via Kconfig:8Kconfig.zephyr:42drivers/Kconfig:32drivers/entropy/Kconfig:15

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

choice RNG_GENERATOR_CHOICE
    bool
    default XOSHIRO_RANDOM_GENERATOR if ENTROPY_MCUX_TRNG
    depends on ENTROPY_GENERATOR

At drivers/entropy/Kconfig.rv32m1:16

Included via Kconfig:8Kconfig.zephyr:42drivers/Kconfig:32drivers/entropy/Kconfig:21

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

choice RNG_GENERATOR_CHOICE
    bool
    default XOSHIRO_RANDOM_GENERATOR if ENTROPY_RV32M1_TRNG
    depends on ENTROPY_GENERATOR

At subsys/random/Kconfig:18

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

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
      XOSHIRO algorithm

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