:orphan: .. title:: choice CSPRNG_GENERATOR_CHOICE: Cryptographically secure random generator .. _choice_17: .. describe:: choice CSPRNG_GENERATOR_CHOICE: Cryptographically secure random generator *Cryptographically secure random generator* Type: ``bool`` Help ==== Platform dependent cryptographically secure random number support. If the hardware entropy support of the platform has sufficient performance to support CSRNG then select that. Otherwise, select CTR-DRBG CSPRNG as that is a FIPS140-2 recommmended CSPRNG. Defaults ======== - \ :option:`CTR_DRBG_CSPRNG_GENERATOR ` - \ :option:`CTR_DRBG_CSPRNG_GENERATOR ` - \ :option:`HARDWARE_DEVICE_CS_GENERATOR ` Choice options ============== - \ :option:`HARDWARE_DEVICE_CS_GENERATOR ` - \ :option:`CTR_DRBG_CSPRNG_GENERATOR ` Kconfig definitions =================== .. highlight:: kconfig At ``soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.mkw40z4:45`` 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 CSPRNG_GENERATOR_CHOICE bool default \ :option:`CTR_DRBG_CSPRNG_GENERATOR ` depends on \ :option:`SOC_MKW40Z4 ` && \ :option:`SOC_SERIES_KINETIS_KWX ` ---- At ``soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.mkw41z4:72`` 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 CSPRNG_GENERATOR_CHOICE bool default \ :option:`CTR_DRBG_CSPRNG_GENERATOR ` depends on \ :option:`SOC_MKW41Z4 ` && \ :option:`SOC_SERIES_KINETIS_KWX ` ---- At ``subsys/random/Kconfig:69`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``subsys/Kconfig:49`` Menu path: (Top) → Sub Systems and OS Services → Random Number Generators .. parsed-literal:: choice CSPRNG_GENERATOR_CHOICE bool "Cryptographically secure random generator" default \ :option:`HARDWARE_DEVICE_CS_GENERATOR ` help Platform dependent cryptographically secure random number support. If the hardware entropy support of the platform has sufficient performance to support CSRNG then select that. Otherwise, select CTR-DRBG CSPRNG as that is a FIPS140-2 recommmended CSPRNG. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*