Which parts of Mbed TLS belong in our cryptographic inventory?
Your inventory owner needs one dated entry for each place Mbed TLS uses cryptography. The library is used in TLS 1.2, TLS 1.3 and DTLS, in X.509 certificate verification, in PSA key and random handling through TF-PSA-Crypto, and in build-time algorithm selection. Each area needs its own record set, because each is configured in a different place and changes on a different schedule. The version scope is the latest release shown on GitHub as of 3 December 2026, which is 4.3.0, published 16 November 2026. The long-term support branches in the project's BRANCHES file are mbedtls-4.1, with support ending March 2029, and mbedtls-3.6, with support ending March 2027. Entries should name the branch and release you deploy, since 3.6 and 4.x configure keys and algorithms differently.
Two roles own the entries. The engineer who builds the product owns the build-side records: the Mbed TLS version and branch, the mbedtls_config.h and crypto_config.h files, and the PSA_WANT_ALG_* and PSA_WANT_ECC_* settings that select key agreement, signature and curve support. The security lead who signs the inventory confirms that each entry matches the shipped build, that the TLS versions set through mbedtls_ssl_conf_min_tls_version() and mbedtls_ssl_conf_max_tls_version() match policy, and that the certificate verification profile in use is recorded. For Mbed TLS 4.x, the entry should also state that psa_crypto_init() is called before any cryptographic operation, which the 4.0 migration guide requires. Ask the build team which library file is linked, libtfpsacrypto or the legacy libmbedcrypto name, and record that name.
Do not stop at the list of areas. The public-key dependencies for each area belong in the sibling page on which Mbed TLS functions depend on RSA and elliptic-curve keys, so this inventory only needs to point to that record. Support status and the release history behind the branch table sit with the support and roadmap pages, and the effort to upgrade sits with the upgrade page. Use this page to settle the entries and their owners, then pull the detail from those pages. Before signing, confirm in your own environment which Mbed TLS branch, TF-PSA-Crypto version and build options your product ships. The release facts here describe the project as of 3 December 2026, and they will change as new releases are published.
Which Mbed TLS areas belong in the cryptographic inventory, and which use public keys?
This table lists the Mbed TLS areas to record in a cryptographic inventory and marks which ones depend on public-key algorithms. Read the public-key column first: TLS key exchange, certificate verification and the PSA signature options depend on public keys, and random generation shows no documented dependency. The post-quantum rows show what is documented as of 3 December 2026: experimental ML-DSA-87 at driver level only, and no ML-KEM support, so inventory the public-key rows first.
| Area | What it protects and algorithm family | Public-key dependency | Where it is configured |
|---|---|---|---|
| TLS 1.2, TLS 1.3 and DTLS 1.2 handshakes | Session keys and server or client authentication. ECDHE, finite-field DH, and RSA or ECDSA signatures | Depends on configuration. Ephemeral key exchange and certificate authentication use public keys. PSK-only modes need confirmation | mbedtls_config.h (TLS options), crypto_config.h (PSA_WANT_ALG_ECDH, PSA_WANT_ALG_FFDH), ssl.h calls |
| X.509 certificate verification | Certificate chain trust. Default profile (4.3.0): SHA-2 and SHA3 hashes, RSA 2048 bits or larger, secp256r1, secp384r1, secp521r1, Brainpool curves | Yes. Certificates carry public keys and their signatures are checked with public-key algorithms | Built-in default profile in x509_crt.c (4.3.0). Confirm any profile override in your application |
| PSA key and signature operations in TF-PSA-Crypto (built as libtfpsacrypto, legacy name libmbedcrypto) | Key agreement and signatures used by TLS and X.509: ECDH, FFDH, ECDSA, RSA PKCS#1 v1.5 and RSA-PSS | Yes, for each ECDH, FFDH, ECDSA and RSA option enabled in the build | crypto_config.h, PSA_WANT_ALG options selected at build time |
| Random generation | Random values for keys and handshakes, through the PSA random generator | No public-key dependency documented | PSA random generator. mbedtls_ssl_conf_rng() was removed in 4.0 |
| Experimental ML-DSA-87 signatures (TF-PSA-Crypto 1.3.0) | Driver-level pure ML-DSA-87 sign and verify. Experimental, may change without notice, not exposed to applications | Public-key signature family, but not offered in TLS or X.509 as documented on 3 December 2026 | Only with TF_PSA_CRYPTO_PQCP_MLDSA_ENABLED and TF_PSA_CRYPTO_PQCP_MLDSA_87_ENABLED in crypto_config.h |
| ML-KEM key encapsulation | Not documented as supported. No ML-KEM support in Mbed TLS or TF-PSA-Crypto as of 3 December 2026 | Not in use as documented. TLS key exchange uses ECDHE and finite-field DH groups | No option documented. Roadmap lists ML-KEM under Future with no quarter |
| Management access | Administrative interface of the library. Mbed TLS exposes none as of 3 December 2026 | Undocumented here. Depends on the product that embeds the library | Record the management path in the embedding product. Undocumented here |
| Firmware and updates | Firmware images and update delivery in the device. Covered in its own section of this page | Undocumented here. See the firmware and updates section | Device build and update tooling, outside the Mbed TLS configuration files |
| Embedding application and integration | Calls psa_crypto_init() before any cryptography, then sets TLS versions, groups and signature algorithms | Depends on configuration. Groups and signature algorithms the application sets decide which public-key algorithms run | Application code: psa_crypto_init(), mbedtls_ssl_conf_min_tls_version(), mbedtls_ssl_conf_groups(), mbedtls_ssl_conf_sig_algs() |
Which Mbed TLS protocol settings choose the algorithms, and where are they set?
Mbed TLS picks TLS and certificate algorithms from a few layers: application calls on the SSL configuration, the build options in crypto_config.h and mbedtls_config.h, and the library's default X.509 profile. The cards below list each setting, the file or call that controls it, and what to check in your own build.
TLS 1.3 key exchange and groups
TLS 1.3 offers three key exchange modes (PSK, ephemeral and PSK-ephemeral), chosen at build time and through mbedtls_ssl_conf_tls13_key_exchange_modes(). Possible ECDHE groups are secp256r1, x25519, secp384r1, x448 and secp521r1, possible DHE groups are ffdhe2048 through ffdhe8192, and mbedtls_ssl_conf_groups() sets the list in use. The default group list in the 4.3.0 header is all supported curves at 255 bits and above plus all supported finite fields at 2048 bits and above, so confirm the enabled groups in your own build.
TLS 1.2 and DTLS 1.2 suites
Mbed TLS 4.0 removed the RSA, RSA-PSK, DHE-PSK, DHE-RSA and static ECDH key exchanges from TLS 1.2 and DTLS 1.2, along with about 150 cipher suites. ECDHE and RSA signature suites remain, and finite-field DH stays supported in TLS 1.3. Set the version range with mbedtls_ssl_conf_min_tls_version() and mbedtls_ssl_conf_max_tls_version(), using MBEDTLS_SSL_VERSION_TLS1_2 or MBEDTLS_SSL_VERSION_TLS1_3, and check that the range your code sets matches the suites you need.
Signature algorithm list
mbedtls_ssl_conf_sig_algs() sets which signature algorithms a TLS handshake offers, so it is the place to check which signature families a server or client advertises. Which families are available depends on the build options covered in the build-time card below. The TLS 1.2 suites that remain after 4.0 are ECDHE and RSA signature suites, so check the list against those. Record the list each endpoint sets, because it decides which signatures a peer can negotiate.
X.509 verification profile
mbedtls_x509_crt_profile_default is the default verification profile and is defined in the library source at library/x509_crt.c, so confirm in your build how any other profile is applied. In 4.3.0 it accepts SHA-256, SHA-384, SHA-512, SHA3-256, SHA3-384 and SHA3-512 hashes, any public-key type, the curves secp256r1, secp384r1, secp521r1 and Brainpool 256, 384 and 512, and RSA keys of at least 2048 bits. Compare your service's certificate chains against this list, since a chain outside it can fail verification.
Build-time algorithm selection
In TF-PSA-Crypto, crypto_config.h holds the algorithm options (PSA_WANT_ALG_*, PSA_WANT_ECC_* and PSA_WANT_DH_*), and mbedtls_config.h keeps the TLS and X.509 options. Curves and finite-field groups are switched on there too, for example PSA_WANT_ECC_SECP_R1_256 and PSA_WANT_DH_RFC7919_2048. No constrained-device profile is described for this section, so read the enabled set from your own build before recording an answer.
Which certificates and keys does a Mbed TLS deployment hold, and how are they recorded?
A TLS or DTLS server presents its own certificate and proves possession of the matching private key during the handshake. In Mbed TLS 4.3.0, the library parses and verifies that certificate and key under its default profile. It does not decide where the key is stored or how the certificate was issued, so those answers come from the embedding application and the device.
- Library behavior: Call
psa_crypto_init()before parsing the key or certificate and before starting a handshake. This has been required since Mbed TLS 4.0, as described in the 4.0 migration guide. - Key storage: The application chooses whether the private key sits in a file, the PSA key store, a secure element or other storage. Confirm which of these the build and the device support.
- Key types: The default profile accepts RSA keys of at least 2048 bits and the curves secp256r1, secp384r1 and secp521r1, plus Brainpool curves at 256, 384 and 512 bits. Check the server key type against the signature algorithms enabled in
crypto_config.h. - Issuance and rotation: The sources checked do not document how server certificates are issued or who rotates them. Confirm both in the application configuration and the device documentation.
Record the issuer, expiry date, public-key type and key size for each server certificate, and note the file or store that holds its key.
When a deployment uses client certificates, the client presents its own certificate and proves possession of its private key during the handshake. The default profile applies to certificates the library verifies, so the key type rules are the same on this side. Storage and issuance for client credentials usually sit with a different owner than the server credentials.
- Library behavior: The library parses and verifies the client certificate and key under the same default profile. As on the server,
psa_crypto_init()must run before the parse and before the handshake. - Key storage: Client keys may be held in a file, the PSA key store, a secure element or device storage. The sources checked do not say which options apply to a given client build, so confirm this in the application configuration and the device documentation.
- Issuance path: Name the issuing CA and the enrollment step for each client type in the inventory. The sources checked do not document issuance for client certificates in this library.
- Rotation owner: Confirm who can rotate client certificates and keys, and how a new credential reaches clients that are already in service.
For each client certificate, record the issuer, expiry date, public-key type and key size, and the device or application that holds the key.
Trust anchors are the CA certificates the application loads so that Mbed TLS can verify a peer's certificate chain. The library checks each chain against them under the default profile. Which anchors are loaded, and when they change, is an application decision that the sources checked do not document.
- Library behavior: The default profile in 4.3.0 accepts SHA-256, SHA-384, SHA-512, SHA3-256, SHA3-384 and SHA3-512 hashes, and any public-key type, with RSA keys at least 2048 bits.
- Anchor set: The application decides which CA certificates it trusts. Record each anchor's subject, issuer, expiry date, public-key type and key size, so reviewers can see the full trust set.
- Post-quantum status: The TF-PSA-Crypto 1.3.0 release describes ML-DSA-87 as experimental driver-level code that applications cannot yet call. The sources checked show no ML-DSA certificate or trust anchor support in TLS or X.509, so treat each anchor as a classical key type in the inventory unless the application documentation says otherwise.
- Update path: The sources checked do not describe how anchors are distributed, replaced or removed. Confirm the update path and who approves a change in the application or device documentation.
Ask the application owner for the complete list of loaded anchors with the fields above, and confirm who owns anchor updates before the inventory is signed off.
Which Mbed TLS release and licence records do we need for updates?
Each record below answers one question about which Mbed TLS version, branch, build component and licence a product carries, as of 3 December 2026. Versions, support dates and licence terms come from the project's own repositories and release pages, so check them against the copy inside your device or product image.
Current release lines
The latest Mbed TLS release shown on the project's releases page as of 3 December 2026 is 4.3.0, published 16 November 2026. The same day the project also published 4.1.2 and 3.6.8, so a fleet can run three release lines at once. Record the exact version string from each device or build, because that string determines which fixes apply. The 4.3.0 release notes list 23 CVE fixes and new CMake options for configuration files, and they do not mention any post-quantum feature.
Mbed TLS releasesLong-term support branches
The project's BRANCHES file lists mbedtls-4.1 and mbedtls-3.6 as long-term support branches. As of 3 December 2026, mbedtls-3.6 support ends March 2027 and mbedtls-4.1 support ends March 2029. Those dates set the window in which a product on 3.6 can move to a supported line without relying on an unsupported branch. Ask the product vendor which branch their build starts from, and whether they apply fixes from that branch to their shipped copy.
TF-PSA-Crypto versions and changes
TF-PSA-Crypto supplies the cryptography that Mbed TLS uses and builds as libtfpsacrypto, also available under the legacy name libmbedcrypto. Its 1.1.0 release, dated 31 March 2026, added SHAKE128 and SHAKE256 and moved the LMS stateful hash-based signature module into a new extras directory, so check where LMS is built from. Version 1.3.0, released 16 November 2026, adds an experimental ML-DSA subset at driver level only, with only pure ML-DSA-87 supported. The release states that this interface may change without notice and is not yet exposed to applications. Record the TF-PSA-Crypto version a build links against, since it can differ from the Mbed TLS version.
Licence and image provenance
Mbed TLS is dual-licensed under Apache-2.0 or GPL-2.0-or-later, and TF-PSA-Crypto carries the same dual licence apart from third-party code in its drivers directory. Record which licence option your product uses and which third-party drivers are compiled in, and confirm with counsel what the chosen option requires. Image signing, secure boot and vendor update channels are not documented in the sources checked. The embedded copy inside a device or product image changes only when the product vendor or the integrator rebuilds it, so record the vendor's signing and update channel from the product's own documentation.
Mbed TLS repositoryWhat to record for each Mbed TLS cryptographic inventory item
This table lists the fields to record for each Mbed TLS item in a cryptographic inventory, with what to enter, where the value comes from and whether the item depends on public-key algorithms. Check each row against the build, the running device and the data owner's records, because the library version alone does not show which groups, signatures or certificates a connection uses. The main takeaway is that protocol, algorithm and configuration rows need build-level evidence, while the confidentiality lifetime is set by the data owner.
| Field | What to enter for Mbed TLS | Source of the value | Depends on public keys |
|---|---|---|---|
| Product | Mbed TLS for TLS, DTLS and X.509. Record TF-PSA-Crypto as a separate line with its own version. | Product and component names from the Mbed TLS and TF-PSA-Crypto repositories. | Not directly. See the algorithm row. |
| Version and patch level | Release tag such as mbedtls-4.3.0, or the branch in use such as mbedtls-4.1 or mbedtls-3.6, plus the TF-PSA-Crypto version. | Build manifest or checked-out tag. Latest GitHub release on 3 December 2026 was 4.3.0. | Not applicable |
| Owner | Build team and named security owner, both recorded by name. | Your asset register. The project does not supply this. | Not applicable |
| Location | Repository and path of the vendored copy, or the device image or product family. | Your source tree and firmware image manifest. | Not applicable |
| Protocol | TLS 1.2, TLS 1.3 or DTLS 1.2, from the minimum and maximum versions set in the application. | Application code calling mbedtls_ssl_conf_min_tls_version() and mbedtls_ssl_conf_max_tls_version(). | Yes for certificate-based handshakes. See the public-key dependencies section. |
| Algorithm and key size | Enabled key agreement, signature, curve and group options, plus the certificate profile and RSA key length. | crypto_config.h options, mbedtls_ssl_conf_groups() calls, and the 4.3.0 default group list when no call is made. | Yes, key agreement and signatures use public-key algorithms. |
| Certificate issuer and expiry | Issuer and expiry date of each certificate presented, including the chain. | The certificate files and your PKI or certificate lifecycle records. | Yes, certificates carry public keys and signatures. |
| Configurable or fixed | Configurable through crypto_config.h, mbedtls_config.h and API calls, or fixed by the vendor image. | Your build configuration, and the vendor's image documentation for fixed devices. | Not applicable |
| Confidentiality lifetime | How long the data each connection protects must stay confidential, as set by the data owner. | Data owner's classification record. The library does not set this. | Not applicable |
Which Mbed TLS items depend on public-key algorithms and fall in migration scope?
The Mbed TLS items in scope for a later migration review are the public-key operations in TLS, DTLS and X.509. In TLS 1.3, the possible ECDHE groups are secp256r1, x25519, secp384r1, x448 and secp521r1, and the possible finite-field DHE groups are ffdhe2048 through ffdhe8192. After Mbed TLS 4.0, TLS 1.2 keeps ECDHE, and certificate chains and handshake signatures use ECDSA, RSA PKCS#1 v1.5 or RSA-PSS. Each of these is selected in TF-PSA-Crypto's crypto_config.h through options such as PSA_WANT_ALG_ECDH, PSA_WANT_ALG_ECDSA, PSA_WANT_ALG_FFDH, PSA_WANT_ALG_RSA_PSS and PSA_WANT_ALG_RSA_PKCS1V15_SIGN, so the inventory should begin with each build's configuration files. The TLS 1.3 support document lists the TLS 1.3 groups and key exchange modes.
Symmetric and hash items belong in a separate group for this review. The default X.509 verification profile, mbedtls_x509_crt_profile_default in 4.3.0, accepts the SHA-256, SHA-384 and SHA-512 hashes and the SHA3-256, SHA3-384 and SHA3-512 hashes, so those hashes appear in certificate verification. The same profile accepts any public-key type, the curves secp256r1, secp384r1, secp521r1 and Brainpool 256, 384 and 512, and RSA keys of at least 2048 bits, so the profile's public-key limits should be recorded for each deployment. The bulk ciphers in the enabled suites are not listed in the sources checked, so confirm them from the build's configuration files for the exact TLS and cipher options compiled in.
The post-quantum status of these items is narrow. As of 3 December 2026, TF-PSA-Crypto 1.3.0, released 16 November 2026, adds an experimental ML-DSA subset at driver level, with only pure ML-DSA-87 supported. It is enabled only through TF_PSA_CRYPTO_PQCP_MLDSA_ENABLED and TF_PSA_CRYPTO_PQCP_MLDSA_87_ENABLED, the release states that ML-DSA is not yet exposed to applications, and the sources checked show that TLS and X.509 do not use it. The sources checked show no ML-KEM support in Mbed TLS or TF-PSA-Crypto, and the roadmap lists ML-KEM only under Future with no quarter. The 4.3.0 release notes mention no post-quantum feature. Record each in-scope item with the Mbed TLS and TF-PSA-Crypto versions in use, and use Which Mbed TLS functions depend on RSA and elliptic-curve keys for the detail on each connection, login and signature.
How do the application, Mbed TLS and TF-PSA-Crypto fit together in one TLS handshake?
The diagram starts with the application, which calls the Mbed TLS TLS module for a TLS 1.2, TLS 1.3 or DTLS 1.2 connection, and the X.509 module to verify certificates. Both modules pass their cryptography to TF-PSA-Crypto through the PSA Cryptography API: key agreement (ECDH and FFDH), signatures (ECDSA, RSA PKCS#1 v1.5 and RSA-PSS), hashes and the PSA random generator. Key agreement and signatures are separate hand-offs, so check each one. Call psa_crypto_init() before any operation, including certificate parsing. mbedtls_config.h holds the TLS and X.509 options, and crypto_config.h holds the algorithm and curve options. The ML-DSA driver is experimental and is not connected to TLS. This is a simplified view.
Simplified view of the components in one TLS handshake.
How to gather the Mbed TLS cryptographic inventory data from your build
This sequence turns an Mbed TLS build into an inventory of its TLS versions, groups, signature algorithms, certificates, keys and open vendor questions. Each step names the file, call or endpoint to check and what the finished record must contain. Run the steps against the build that ships, because one source tree can be built with different options.
Record the release, branch and commit
Record the Mbed TLS version the product ships, with its commit or tag. For vendored source, take the version from the copied tree and the commit from the vendoring record or repository history. For a package, take it from the package manifest or lock file. Note the branch as well: the project's BRANCHES file lists mbedtls-4.1 and mbedtls-3.6 as long-term support branches, with support ending March 2029 and March 2027, respectively. Also record the TF-PSA-Crypto version, because it supplies the cryptography. This step is done when every build has one recorded version, tag or commit and branch.
Export the enabled build options
Export the options the build uses, from TF-PSA-Crypto's crypto_config.h and from mbedtls_config.h. From crypto_config.h, capture the enabled PSA_WANT_ALG_*, PSA_WANT_ECC_* and PSA_WANT_DH_* entries, which select key agreement, signature and curve support. From mbedtls_config.h, capture the TLS and X.509 entries. Also record the CMake values of MBEDTLS_CONFIG_BASE_FILE, MBEDTLS_CONFIG_NAME, MBEDTLS_CONFIG_SET and MBEDTLS_CONFIG_UNSET from the build command or CMake cache, since they control the configuration the build uses. Record whether TF_PSA_CRYPTO_PQCP_MLDSA_ENABLED or TF_PSA_CRYPTO_PQCP_MLDSA_87_ENABLED is set, as both are marked experimental. Done when you hold one file that lists each option with its value and the build that produced it.
Find the TLS configuration calls
Search the application source for calls to mbedtls_ssl_conf_min_tls_version() and mbedtls_ssl_conf_max_tls_version(), mbedtls_ssl_conf_groups(), mbedtls_ssl_conf_sig_algs() and mbedtls_ssl_conf_tls13_key_exchange_modes(). Record each call with its file and the value passed, such as MBEDTLS_SSL_VERSION_TLS1_2 or MBEDTLS_SSL_VERSION_TLS1_3. Where a function is never called, record that the library default applies, and confirm that default in the documentation for your version. The 4.3.0 header gives the group default as all supported curves at 255 bits and above plus finite fields at 2048 bits and above, so check it against your version. Done when every call, and every missing call, appears in the inventory with its value or default.
Confirm psa_crypto_init runs first
Confirm that psa_crypto_init() is called before any key, certificate or handshake work. Since Mbed TLS 4.0 the call is required before any cryptographic operation, including parsing a key or certificate and starting a TLS handshake, so check the startup path as well as the handshake code. Also check that the random generator comes from PSA, because mbedtls_ssl_conf_rng() was removed in that release. Confirm that a failed return stops startup. Done when the call's file and line are recorded with that check.
List certificates and keys with expiry
List every certificate and private key the application loads through Mbed TLS, including trust anchors, server and client certificates, and key files or key handles. For each certificate, record the subject, issuer, public-key algorithm, key size and expiry date, using the certificate tooling your team already runs. Mark the entries that use RSA or elliptic-curve keys, since they are the public-key items in this inventory. Done when the list matches the configuration the build loads and every row has an issuer and an expiry date.
Compare endpoint offers with the build
Scan each TLS and DTLS endpoint the product exposes, using the scanner your team already runs, and record the TLS versions, key exchange groups and signature algorithms the server offers. Confirm that the scanner covers DTLS endpoints before you rely on its results for them. Compare each offer with the values recorded from the build and the calls found in the code. Note any mismatch, such as a group offered on the wire that the build did not list, or a build option that no endpoint offers. Done when each endpoint has a row that shows its offers beside the recorded build values, with each mismatch explained.
Send unanswered questions to the vendor
Send the questions the project's public pages leave open to the vendor or device maker, and file each dated answer with the inventory. As of 3 December 2026, those pages do not cover image signing or the update channel for devices built on Mbed TLS. Ask for any post-quantum plan with a date for your product, and ask whether ML-DSA or ML-KEM will reach TLS in its build. The Mbed TLS roadmap lists ML-DSA work by quarter and ML-KEM under Future, and it says the quarters are rough estimates that may change. Done when each question has a written, dated reply.
Questions about Mbed TLS cryptographic inventory and post-quantum readiness
Is Mbed TLS quantum safe today?
No, the sources reviewed as of 3 December 2026 do not support describing Mbed TLS as quantum safe or describe any quantum-safe configuration. The only post-quantum algorithm found is ML-DSA-87, and only at driver level. TF-PSA-Crypto 1.3.0, released 16 November 2026, labels its ML-DSA support experimental, says it may change without notice, and says it is not yet exposed to applications. It is enabled only through build options such as TF_PSA_CRYPTO_PQCP_MLDSA_ENABLED and TF_PSA_CRYPTO_PQCP_MLDSA_87_ENABLED. ML-DSA-87 is not offered in TLS or X.509, and no ML-KEM support appears in Mbed TLS or TF-PSA-Crypto. The TLS 1.3 support document does not mention post-quantum or hybrid key exchange, and the 4.3.0 release notes do not mention any post-quantum feature. Record TLS and certificate use as not offered, and note the experimental driver-level ML-DSA-87 separately.
Which Mbed TLS version should our inventory record?
Record 4.3.0 as the latest release, and also record the exact version and branch in your own build or package. The Mbed TLS releases page showed 4.3.0 as the latest release on 3 December 2026, published 16 November 2026, with 4.1.2 and 3.6.8 published the same day. The BRANCHES file lists two long-term support branches: mbedtls-4.1, supported until March 2029, and mbedtls-3.6, supported until March 2027. For each product, capture the version string from your build, the branch it came from, and the TF-PSA-Crypto version it uses, since TF-PSA-Crypto is versioned separately (1.3.0 was released 16 November 2026). Compare each branch end date with your own support calendar, because a deployment on 3.6 reaches its end of support first.
Does inventorying Mbed TLS cost extra for an open-source library?
Mbed TLS is open source, dual-licensed under Apache-2.0 or GPL-2.0-or-later, so there is no licence fee to budget for. The sources give no price for outside work, so the cost is your team's time plus any help you buy. Your team can do the inventory itself: list every product and firmware image that includes Mbed TLS, record each version and branch, and note the TLS versions, key exchanges, groups and certificate settings in use. Most of this is one-time work, while the record needs refreshing at each upgrade or release. Costs rise with the number of products, firmware images and device fleets that embed the library, and with the number of build configurations you maintain. If you buy outside help, ask for a written, fixed-scope quote that names the systems covered, the deliverables and the evidence format. Have legal review the licence choice if you ship firmware.
What breaks when we move Mbed TLS from 3.x to 4.x?
Moving to 4.x changes code and configuration, so plan a build and test cycle before the change. The 4.0 migration guide lists the changes most likely to break builds and connections:
- psa_crypto_init() must be called before any cryptographic operation, including parsing a key or certificate and starting a TLS handshake.
- mbedtls_ssl_conf_rng() was removed, and the library uses the PSA random generator.
- Algorithm options moved to TF-PSA-Crypto's crypto_config.h, while mbedtls_config.h keeps the TLS and X.509 options.
- The TLS 1.2 and DTLS 1.2 key exchanges RSA, RSA-PSK, DHE-PSK, DHE-RSA and static ECDH were removed, along with about 150 cipher suites. ECDHE and RSA signature suites remain.
- The curves secp192r1, secp192k1, secp224r1 and secp224k1 were removed from certificates and TLS.
Before you upgrade, confirm which peers and devices still need the removed key exchanges or curves. For the build and dependency steps, read the sibling page on what a post-quantum upgrade of Mbed TLS involves.
What should we ask the Mbed TLS vendor about post-quantum plans?
Ask for written answers with dates on five points. First, release signing: which key signs each release, where the signature and public key are published, and how you verify a download. Second, the update channel: where security fixes and point releases for 4.x and 3.6 are announced, and how long each branch receives them. Third, post-quantum plans: whether ML-DSA will reach TLS and X.509, and whether ML-KEM or hybrid key exchange is planned. Fourth, the Mbed TLS roadmap lists ML-DSA investigation in 2025 CQ4, a prototype in 2026 CQ1 and initial support in 2026 CQ2, and it says the quarters are rough estimates that may change. Ask which items are complete and what has moved. Fifth, FIPS and CNSA 2.0 status: the FIPS FAQ says Mbed TLS is not FIPS certified and shows no date, and the roadmap says nothing about CNSA 2.0. Keep the answers in your evidence file.
Can our own team run the Mbed TLS inventory without outside help?
Yes, your team can record and gather the inventory alone, and many teams do. Your engineers know the firmware, build systems and service configurations, and the core work is reading configuration files, listing products and versions, and noting which TLS and certificate settings are in use. Outside help is most useful for a configuration review of TLS and certificate settings, for upgrade testing across the builds you run, and for assembling evidence that an assessor can follow. DeployOpen works on fixed scopes agreed in writing before work starts, and it plans, upgrades, documents and tests self-hosted platforms inside your own infrastructure. It prepares systems and evidence for compliance assessments but does not issue audit reports or attestations. Name one owner for the inventory record and one reviewer for each product.
How DeployOpen helps build and maintain a cryptographic inventory for Mbed TLS
DeployOpen works on Mbed TLS inventories inside the client's own infrastructure, including build environments, device firmware projects and servers that run the library. The work starts with a written scope that names the products, builds, TLS and DTLS endpoints, and certificate sources in scope. Each step ends in documentation the client's security and compliance teams can review.
How we scope
- The written scope lists which products, builds and devices use Mbed TLS before work starts.
- Scope records each Mbed TLS version in use, because 4.0 moved algorithm options to TF-PSA-Crypto.
- Fixed-scope engagements set deliverables and timelines in writing before any inventory work starts.
How we build
- We trace TLS, DTLS and X.509 call sites in the client's own source trees and build configurations.
- We record crypto_config.h and mbedtls_config.h settings for each build, including the PSA_WANT_ALG and curve options.
- We list the TLS 1.2 and 1.3 key exchange, group and signature settings each endpoint negotiates.
How we hand over
- The inventory lists each component, library version, protocol, certificate and public-key algorithm in use.
- Each item notes the source file or configuration key where the setting was found.
- Handover includes a dated record of what was checked, so the client can repeat the review.
How we support
- Retainers cover ongoing support, upgrades and continuous testing when Mbed TLS releases change the inventory.
- Re-run the inventory after each Mbed TLS release, such as the 16 November 2026 releases of 4.3.0 and 3.6.8.
- Ask the vendor-risk or audit team which evidence they need; DeployOpen prepares evidence and does not issue audit reports.

