Skip to content

MbedTLS 4.1.0 update fixes for headers#108979

Open
krish2718 wants to merge 4 commits into
zephyrproject-rtos:mainfrom
krish2718:fix_mbedtls_version
Open

MbedTLS 4.1.0 update fixes for headers#108979
krish2718 wants to merge 4 commits into
zephyrproject-rtos:mainfrom
krish2718:fix_mbedtls_version

Conversation

@krish2718
Copy link
Copy Markdown
Contributor

Pull the fix to use TF-PSA-Crypto version header over MbedTLS.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 12, 2026

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
hal_espressif zephyrproject-rtos/hal_espressif@2a5bec2 zephyrproject-rtos/hal_espressif@fe981c5 (main) zephyrproject-rtos/hal_espressif@2a5bec22..fe981c5b
hostap zephyrproject-rtos/hostap@cffaf39 zephyrproject-rtos/hostap@0c05d78 (main) zephyrproject-rtos/hostap@cffaf393..0c05d780
mcuboot mcu-tools/mcuboot@e36d3c8 (main) mcu-tools/mcuboot#2732 mcu-tools/mcuboot#2732/files

Additional metadata changed:

Name URL Submodules West cmds module.yml Blobs
mcuboot

DNM label due to: 1 project with PR revision and 1 project with metadata changes

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@github-actions github-actions Bot added manifest manifest-hostap DNM (manifest) This PR should not be merged (controlled by action-manifest) labels May 12, 2026
@zephyrbot zephyrbot added size: XS A PR changing only a single line of code area: Wi-Fi Wi-Fi labels May 12, 2026
@zephyrbot zephyrbot requested review from MaochenWang1 and jukkar May 12, 2026 13:42
@krish2718 krish2718 force-pushed the fix_mbedtls_version branch 3 times, most recently from 26308db to 694e751 Compare May 13, 2026 17:21
@zephyrbot zephyrbot added platform: ESP32 Espressif ESP32 area: Mbed TLS area: MCUBoot platform: Silabs Silicon Labs and removed size: XS A PR changing only a single line of code labels May 13, 2026
Comment thread modules/mbedtls/legacy_support.cmake
@krish2718 krish2718 force-pushed the fix_mbedtls_version branch 2 times, most recently from 08ac791 to 28616d4 Compare May 13, 2026 19:14
Comment thread modules/mbedtls/legacy_support.cmake Outdated
Comment thread modules/mbedtls/legacy_support.cmake Outdated
@krish2718 krish2718 force-pushed the fix_mbedtls_version branch 3 times, most recently from 1217e58 to 6e38c16 Compare May 14, 2026 08:20
tomi-font
tomi-font previously approved these changes May 14, 2026
Comment thread modules/mbedtls/legacy_support.cmake Outdated
Comment thread modules/mbedtls/legacy_support.cmake Outdated
@krish2718 krish2718 changed the title manifest: hostap: Pull fix for MbedTLS version MbedTLS 4.1.0 update fixes for headers May 14, 2026
jukkar
jukkar previously approved these changes May 14, 2026
d3zd3z
d3zd3z previously approved these changes May 16, 2026
Copy link
Copy Markdown
Contributor

@d3zd3z d3zd3z left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a good idea, obviously needing the west.yml changes to merge and using sha hashes before this can merge.

@krish2718 krish2718 dismissed stale reviews from d3zd3z, jukkar, and tomi-font via fb8d03c May 18, 2026 15:00
@krish2718 krish2718 force-pushed the fix_mbedtls_version branch 2 times, most recently from fb8d03c to 71c27ab Compare May 18, 2026 15:09
krish2718 added 4 commits May 19, 2026 12:17
Use the MbedTLS private headers directly without copy.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Use MbedTLS private headers directly without copying.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Use MbedTLS private headers directly without copying them.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
CONFIG_MBEDTLS_DECLARE_PRIVATE_IDENTIFIERS no longer mirrors TF-PSA-Crypto
builtin private headers into CMAKE_BINARY_DIR without the private/
segment. Consumers must include mbedtls/private/... explicitly; the
mbedtls library INTERFACE already exposes drivers/builtin/include.

When building the MCUboot image, add drivers/builtin/src to the mbedTLS
INTERFACE include path so bootutil can include rsa_alt_helpers.h by
basename.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Assisted-by: Cursor: Auto
@krish2718 krish2718 force-pushed the fix_mbedtls_version branch from 71c27ab to 334bc9b Compare May 19, 2026 06:48
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants