:orphan: .. title:: choice RNG_GENERATOR_CHOICE: Random generator .. _choice_18: .. describe:: 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 =================== (\ :option:`SOC_MKW40Z4 ` && \ :option:`SOC_SERIES_KINETIS_KWX `) || (\ :option:`SOC_MKW41Z4 ` && \ :option:`SOC_SERIES_KINETIS_KWX `) || \ :option:`ENTROPY_GENERATOR ` || \ :option:`ENTROPY_HAS_DRIVER ` || \ :option:`TEST_RANDOM_GENERATOR ` *(Includes any dependencies from ifs and menus.)* Defaults ======== - \ :option:`XOROSHIRO_RANDOM_GENERATOR ` - \ :option:`XOROSHIRO_RANDOM_GENERATOR ` - \ :option:`XOROSHIRO_RANDOM_GENERATOR ` if \ :option:`ENTROPY_RV32M1_TRNG ` - \ :option:`ENTROPY_DEVICE_RANDOM_GENERATOR ` Choice options ============== - \ :option:`TIMER_RANDOM_GENERATOR ` - \ :option:`ENTROPY_DEVICE_RANDOM_GENERATOR ` - \ :option:`XOROSHIRO_RANDOM_GENERATOR ` Kconfig definitions =================== .. highlight:: kconfig At ``soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.mkw40z4:49`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` → ``soc/arm/nxp_kinetis/Kconfig.defconfig:3`` → ``soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.series:11`` Menu path: (Top) .. parsed-literal:: choice RNG_GENERATOR_CHOICE bool default \ :option:`XOROSHIRO_RANDOM_GENERATOR ` depends on \ :option:`SOC_MKW40Z4 ` && \ :option:`SOC_SERIES_KINETIS_KWX ` ---- At ``soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.mkw41z4:88`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` → ``soc/arm/nxp_kinetis/Kconfig.defconfig:3`` → ``soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.series:11`` Menu path: (Top) .. parsed-literal:: choice RNG_GENERATOR_CHOICE bool default \ :option:`XOROSHIRO_RANDOM_GENERATOR ` depends on \ :option:`SOC_MKW41Z4 ` && \ :option:`SOC_SERIES_KINETIS_KWX ` ---- At ``drivers/entropy/Kconfig.rv32m1:16`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:32`` → ``drivers/Kconfig:30`` → ``drivers/entropy/Kconfig:20`` Menu path: (Top) → Device Drivers → Entropy Drivers .. parsed-literal:: choice RNG_GENERATOR_CHOICE bool default \ :option:`XOROSHIRO_RANDOM_GENERATOR ` if \ :option:`ENTROPY_RV32M1_TRNG ` depends on \ :option:`ENTROPY_GENERATOR ` ---- At ``subsys/random/Kconfig:18`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``subsys/Kconfig:49`` Menu path: (Top) → Sub Systems and OS Services → Random Number Generators .. parsed-literal:: choice RNG_GENERATOR_CHOICE bool "Random generator" default \ :option:`ENTROPY_DEVICE_RANDOM_GENERATOR ` depends on \ :option:`ENTROPY_HAS_DRIVER ` || \ :option:`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.)*