CONFIG_MBEDTLS_CFG_FILE

mbed TLS configuration file

mbed TLS configuration file

Type: string

Help

Use a specific mbedTLS configuration file. The default config file file can be tweaked with Kconfig. The default configuration is suitable to communicate with majority of HTTPS servers on the Internet, but has relatively many features enabled. To optimize resources for special TLS usage, use available Kconfig options, or select an alternative config.

Direct dependencies

NORDIC_SECURITY_BACKEND || (MBEDTLS_BUILTIN && MBEDTLS)

(Includes any dependencies from ifs and menus.)

Defaults

  • “nrf-config.h”

  • “config-tls-generic.h”

Kconfig definitions

At <nrfxlib>/nrf_security/Kconfig:35

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:9<BuildDir>/Kconfig/Kconfig.modules:5<nrfxlib>/Kconfig.nrfxlib:13

Menu path: (Top) → Modules → Nordic nrfxlib → Nordic Security → Use Nordic provided security backend

config MBEDTLS_CFG_FILE
    string "mbed TLS configuration file"
    default "nrf-config.h"
    depends on NORDIC_SECURITY_BACKEND

At <Zephyr>/modules/Kconfig.mbedtls:32

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:10<Zephyr>/modules/Kconfig:17

Menu path: (Top) → Modules → mbedTLS Support

config MBEDTLS_CFG_FILE
    string "mbed TLS configuration file"
    default "config-tls-generic.h"
    depends on MBEDTLS_BUILTIN && MBEDTLS
    help
      Use a specific mbedTLS configuration file. The default config file
      file can be tweaked with Kconfig. The default configuration is
      suitable to communicate with majority of HTTPS servers on the Internet,
      but has relatively many features enabled. To optimize resources for
      special TLS usage, use available Kconfig options, or select an
      alternative config.

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