Skip to content
Laukik Hase edited this page Mar 16, 2022 · 9 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.

Users can 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
master v3.x
release/v4.4 v2.28.x (LTS)
release/v4.3 v2.28.x (LTS)
release/v4.2 and previous v2.16.12
Clone this wiki locally