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.

Kconfig definitions

At <Zephyr>/soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.mkw40z4:45

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<BuildDir>/Kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/nxp_kinetis/Kconfig.defconfig:3<Zephyr>/soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.series:11

Menu path: (Top)

choice CSPRNG_GENERATOR_CHOICE
    bool
    default CTR_DRBG_CSPRNG_GENERATOR
    depends on SOC_MKW40Z4 && SOC_SERIES_KINETIS_KWX

At <Zephyr>/soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.mkw41z4:72

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<BuildDir>/Kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/nxp_kinetis/Kconfig.defconfig:3<Zephyr>/soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.series:11

Menu path: (Top)

choice CSPRNG_GENERATOR_CHOICE
    bool
    default CTR_DRBG_CSPRNG_GENERATOR
    depends on SOC_MKW41Z4 && SOC_SERIES_KINETIS_KWX

At <Zephyr>/subsys/random/Kconfig:69

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:46

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

choice CSPRNG_GENERATOR_CHOICE
    bool "Cryptographically secure random generator"
    default 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.)