The latest development version of this page may be more current than this released 2.7.5 version.

CONFIG_MBEDTLS_OPENTHREAD_OPTIMIZATIONS_ENABLED

Enable mbedTLS optimizations for OpenThread

Type: bool

Help

Enable some OpenThread specific mbedTLS optimizations that allows to
save some RAM/ROM when OpenThread is used. Note, that when application
aims to use other mbedTLS services on top of OpenThread (e.g. secure
sockets), it's advised to disable this option.

Direct dependencies

NET_L2_OPENTHREAD && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = “config-tls-generic.h” && MBEDTLS && 0

(Includes any dependencies from ifs and menus.)

Default

Kconfig definition

At modules/mbedtls/Kconfig.tls-generic:324

Included via Kconfig:8Kconfig.zephyr:33modules/Kconfig:74modules/mbedtls/Kconfig:62

Menu path: (Top) → Modules → mbed TLS Support → TLS configuration

config MBEDTLS_OPENTHREAD_OPTIMIZATIONS_ENABLED
    bool "Enable mbedTLS optimizations for OpenThread"
    default y if !NET_SOCKETS_SOCKOPT_TLS
    depends on NET_L2_OPENTHREAD && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls-generic.h" && MBEDTLS && 0
    help
      Enable some OpenThread specific mbedTLS optimizations that allows to
      save some RAM/ROM when OpenThread is used. Note, that when application
      aims to use other mbedTLS services on top of OpenThread (e.g. secure
      sockets), it's advised to disable this option.

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