Skip to content

Release notes fail to mention older MBEDTLS version #11361

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
dirkx opened this issue May 13, 2025 · 1 comment
Open
1 task done

Release notes fail to mention older MBEDTLS version #11361

dirkx opened this issue May 13, 2025 · 1 comment
Labels
Type: Question Only question

Comments

@dirkx
Copy link
Contributor

dirkx commented May 13, 2025

Board

All

Device Description

any

Hardware Configuration

any

Version

v3.2.0

IDE Name

any

Operating System

any

Flash frequency

any

PSRAM enabled

yes

Upload speed

any

Description

From the migration documentation

    https://github.com/espressif/arduino-esp32/blob/543fad2/docs/en/migration_guides/2.x_to_3.0.rst

it is not readily apparent that the MBED TLS version has changed (backwards).

And that matters, for example in 2.0.17, mbedtls_sha256_starts_ret() replaces the legacy mbedtls_sha256_starts()

While the MBED TLS version in 3.2.0 does not yet have mbedtls_sha256_starts_ret() but only mbedtls_sha256_starts().

Sketch

#include "mbedtls/sha256.h"

void setup() {
    mbedtls_sha256_context sha_ctx;
    mbedtls_sha256_init(&sha_ctx);
    mbedtls_sha256_starts_ret(&sha_ctx, 0);
}
void loop() { }

Debug Message

na

Other Steps to Reproduce

na

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@dirkx dirkx added the Status: Awaiting triage Issue is waiting for triage label May 13, 2025
@lbernstone
Copy link
Contributor

lbernstone commented May 13, 2025

What makes you think that is newer? AFAICT, esp-idf 5.4 is running the latest release of mbedtls (3.6.3), while arduino-esp32 v2.0.17 is running 2.28.8

@Jason2866 Jason2866 added Type: Question Only question and removed Status: Awaiting triage Issue is waiting for triage labels May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Question Only question
Projects
None yet
Development

No branches or pull requests

3 participants