From c629a359b74d1908bed2dd74532fe7318df72865 Mon Sep 17 00:00:00 2001 From: Xu Si Yu Date: Wed, 24 Jun 2026 17:32:26 +0800 Subject: [PATCH] feat(openthread): update openthread submodule --- components/openthread/openthread | 2 +- .../openthread-core-esp32x-radio-config.h | 31 ++++++++++++++++++- components/openthread/sbom_openthread.yml | 2 +- components/openthread/srcs_radio.cmake | 1 + 4 files changed, 33 insertions(+), 3 deletions(-) diff --git a/components/openthread/openthread b/components/openthread/openthread index a98813b30ae..b678a4f63b6 160000 --- a/components/openthread/openthread +++ b/components/openthread/openthread @@ -1 +1 @@ -Subproject commit a98813b30ae58f9a95ece680b9cc46c3874de6ea +Subproject commit b678a4f63b6f9397d1a0fa8f31e5b8e0271a4d00 diff --git a/components/openthread/private_include/openthread-core-esp32x-radio-config.h b/components/openthread/private_include/openthread-core-esp32x-radio-config.h index 215d82f9203..3941c4cf35d 100644 --- a/components/openthread/private_include/openthread-core-esp32x-radio-config.h +++ b/components/openthread/private_include/openthread-core-esp32x-radio-config.h @@ -280,5 +280,34 @@ #define OPENTHREAD_CONFIG_MAC_SOFTWARE_TX_TIMING_ENABLE 1 #endif +/** + * @def OPENTHREAD_CONFIG_PLATFORM_MAC_KEYS_EXPORTABLE_ENABLE + * + * Define to 1 if you want to make MAC keys exportable. + */ +#ifndef OPENTHREAD_CONFIG_PLATFORM_MAC_KEYS_EXPORTABLE_ENABLE +#define OPENTHREAD_CONFIG_PLATFORM_MAC_KEYS_EXPORTABLE_ENABLE 1 +#endif + +/** + * @def OPENTHREAD_CONFIG_CRYPTO_LIB + * + * Selects the crypto backend library for OpenThread. + * + * There are several options available + * - @sa OPENTHREAD_CONFIG_CRYPTO_LIB_MBEDTLS + * - @sa OPENTHREAD_CONFIG_CRYPTO_LIB_PSA + * - @sa OPENTHREAD_CONFIG_CRYPTO_LIB_PLATFORM + */ +#ifndef OPENTHREAD_CONFIG_CRYPTO_LIB #define OPENTHREAD_CONFIG_CRYPTO_LIB OPENTHREAD_CONFIG_CRYPTO_LIB_PSA -#define OPENTHREAD_CONFIG_PLATFORM_KEY_REFERENCES_ENABLE 0 +#endif + +/** + * @def OPENTHREAD_CONFIG_PLATFORM_KEY_REFERENCES_ENABLE + * + * Define to 1 if you want to enable key ref usage support as defined by platform. + */ +#ifndef OPENTHREAD_CONFIG_PLATFORM_KEY_REFERENCES_ENABLE +#define OPENTHREAD_CONFIG_PLATFORM_KEY_REFERENCES_ENABLE 1 +#endif diff --git a/components/openthread/sbom_openthread.yml b/components/openthread/sbom_openthread.yml index 9d7a43b78f7..6d40f289e71 100644 --- a/components/openthread/sbom_openthread.yml +++ b/components/openthread/sbom_openthread.yml @@ -5,7 +5,7 @@ supplier: 'Organization: Espressif Systems (Shanghai) CO LTD' originator: 'Organization: Google LLC' description: OpenThread released by Google is an open-source implementation of the Thread networking url: https://github.com/espressif/openthread -hash: a98813b30ae58f9a95ece680b9cc46c3874de6ea +hash: b678a4f63b6f9397d1a0fa8f31e5b8e0271a4d00 cve-exclude-list: - cve: CVE-2026-8369 reason: We use Espressif’s NAT64 implementation and hence this CVE from the upstream NAT64 implementation is not applicable. diff --git a/components/openthread/srcs_radio.cmake b/components/openthread/srcs_radio.cmake index 9d929c10059..4c5a8680668 100644 --- a/components/openthread/srcs_radio.cmake +++ b/components/openthread/srcs_radio.cmake @@ -41,6 +41,7 @@ set(rcp_srcs openthread/src/core/radio/radio.cpp openthread/src/core/radio/radio_callbacks.cpp openthread/src/core/radio/radio_platform.cpp + openthread/src/core/radio/radio_types.cpp openthread/src/core/thread/link_quality.cpp openthread/src/core/utils/otns.cpp openthread/src/core/utils/parse_cmdline.cpp