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

(Includes any dependencies from ifs and menus.)

Kconfig definition

At <Zephyr>/modules/Kconfig.tls-generic:324

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

Menu path: (Top) → Modules → mbedTLS 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
    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.)