The latest development version of this page may be more current than this released 2.1.0 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:94

Included via Kconfig:8Kconfig.zephyr:41subsys/Kconfig:30

Menu path: (Top) → Random subsystem → 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: Cryptographically secure random generator>
    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.)