This is the documentation for the latest (main) 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.

CONFIG_CTR_DRBG_CSPRNG_GENERATOR

Use CTR-DRBG CSPRNG

Type: bool

Help

Enables the CTR-DRBG pseudo-random number generator. This CSPRNG
shall use the entropy API for an initialization seed. The CTR-DRBG
is a a FIPS140-2 recommended cryptographically secure random number
generator.

Direct dependencies

(MBEDTLS || TINYCRYPT) && ENTROPY_HAS_DRIVER && <choice CSPRNG_GENERATOR_CHOICE: Cryptographically secure random generator>

(Includes any dependencies from ifs and menus.)

Symbols selected by this symbol

Kconfig definition

At subsys/random/Kconfig:87

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

Menu path: (Top) → Sub Systems and OS Services → Random Number Generators → Cryptographically secure random generator

config CTR_DRBG_CSPRNG_GENERATOR
    bool "Use CTR-DRBG CSPRNG"
    select TINYCRYPT_CTR_PRNG if TINYCRYPT
    select TINYCRYPT_AES if TINYCRYPT
    depends on (MBEDTLS || TINYCRYPT) && ENTROPY_HAS_DRIVER && <choice CSPRNG_GENERATOR_CHOICE>
    help
      Enables the CTR-DRBG pseudo-random number generator. This CSPRNG
      shall use the entropy API for an initialization seed. The CTR-DRBG
      is a a FIPS140-2 recommended cryptographically secure random number
      generator.

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