Skip to content
Mahavir Jain edited this page Oct 7, 2024 · 10 revisions

Mbed TLS

Mbed TLS is a C library that implements cryptographic primitives, X.509 certificate manipulation and the SSL/TLS and DTLS protocols. Its small code footprint makes it suitable for embedded systems.

This repository, used by ESP-IDF, is a fork of Mbed TLS which includes a few patches (related to hardware routines of certain modules like bignum (MPI) and ECC) over vanilla Mbed TLS.

Please find the Mbed TLS API documentation at the old Mbed TLS site. ESP-IDF specific documentation for Mbed TLS can be found in the ESP-IDF Programming Guide.

Mbed TLS Support in ESP-IDF

The following table enlists the Mbed TLS versions present in different branches of ESP-IDF.

IDF Release Branch mbedTLS Release Status
master v3.6.x (LTS) Active
release/v5.4 v3.6.x (LTS) Active
release/v5.3 v3.6.x (LTS) Active
release/v5.2 v3.6.x (LTS) Active
release/v5.1 v3.6.x (LTS) Active
release/v5.0 v3.6.x (LTS) Active
release/v4.4 v2.28.x (LTS) EOL
release/v4.3 v2.28.x (LTS) EOL
release/v4.2 and previous v2.16.12 EOL
Clone this wiki locally