CONFIG_OPENTHREAD_MBEDTLS

Enable built-in mbedtls for use with OpenThread

Type: bool

Direct dependencies

NET_L2_OPENTHREAD && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At <Zephyr>/subsys/net/l2/openthread/Kconfig:152

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:37<Zephyr>/subsys/net/Kconfig:85<Zephyr>/subsys/net/l2/Kconfig:75

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Link layer options → OpenThread L2

config OPENTHREAD_MBEDTLS
    bool "Enable built-in mbedtls for use with OpenThread"
    default y
    select MBEDTLS
    select MBEDTLS_ENABLE_HEAP
    select MBEDTLS_CIPHER_AES_ENABLED
    select MBEDTLS_CIPHER_CCM_ENABLED
    select MBEDTLS_MAC_SHA256_ENABLED
    select MBEDTLS_ENTROPY_ENABLED
    select MBEDTLS_MAC_CMAC_ENABLED
    select MBEDTLS_CIPHER
    select MBEDTLS_MD
    select MBEDTLS_TLS_VERSION_1_2 if OPENTHREAD_COMMISSIONER || OPENTHREAD_JOINER
    select MBEDTLS_DTLS if OPENTHREAD_COMMISSIONER || OPENTHREAD_JOINER
    select MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED if OPENTHREAD_COMMISSIONER || OPENTHREAD_JOINER
    select MBEDTLS_ECP_DP_SECP256R1_ENABLED if OPENTHREAD_COMMISSIONER || OPENTHREAD_JOINER
    select MBEDTLS_ECP_NIST_OPTIM if OPENTHREAD_COMMISSIONER || OPENTHREAD_JOINER
    select MBEDTLS_SSL_EXPORT_KEYS if OPENTHREAD_COMMISSIONER || OPENTHREAD_JOINER
    select MBEDTLS_CTR_DRBG_ENABLED if OPENTHREAD_COMMISSIONER || OPENTHREAD_JOINER
    select MBEDTLS_HMAC_DRBG_ENABLED if OPENTHREAD_COMMISSIONER || OPENTHREAD_JOINER
    select MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED if OPENTHREAD_ECDSA
    depends on NET_L2_OPENTHREAD && NETWORKING

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