Skip to content

Release notes fail to mention older MBEDTLS version #11361

Closed
@dirkx

Description

@dirkx

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions