33974 Commits

Author SHA1 Message Date
Gilles Peskine
339a122d57 Suppress expected output from commands when support_xxx is false
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-11-03 19:35:19 +01:00
Gilles Peskine
64066d79d4 Update comment in support_test_aesni
The comment was out-of-date since the addition of `component_test_aesni_m32`
in b6d39c2f8cba00eca52bc8d1081b7ddbb2c44b29 and the change from inspecting
`/proc/cpuinfo` to calling `lscpu` in a7de78d050aa62197e105d963af926a1b82a64bb.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-11-03 19:33:16 +01:00
Gilles Peskine
93d150f9b6 Hide spurious error message if uncrustify is not present
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-11-03 18:53:55 +01:00
Valerio Setti
ee72a20288
Merge pull request #10481 from gilles-peskine-arm/cmake-package-version-mbedtls
Fix duplication of product version in CMakeLists.txt
2025-10-31 13:02:09 +00:00
Valerio Setti
525dd917dc
Merge pull request #10477 from Cube707/fix/iar-compiler-warning
add cast to fix IAR compiler errors
2025-10-31 12:33:26 +00:00
minosgalanakis
32b597bd31
Merge pull request #10469 from Begasus/includedir
Use GNUInstallDirs CMAKE_INSTALL_INCLUDEDDIR path for headers installation
2025-10-29 15:21:32 +00:00
Jan Wille
64e7d4b64b format: apply suggestions (add spaces)
Signed-off-by: Jan Wille <jan.wille@siemens.com>
2025-10-29 15:49:10 +01:00
Gilles Peskine
574aae2146 Fix duplication of product version in CMakeLists.txt
The CMake package version definition had its own line with a copy of the
version number since 2.27.0. Until recently, `bump_version.sh` updated both
copies, and that was still the case when we bumped the version to 4.0.0
(7ba04a298cc648255b820d9b5ad184528a6ea5ca). However, since then, we changed
the format of the product version definition
(879cba1a67d01317422870ff736057ca2d23247f), and after that,
`bump_version.sh` would only have updated the product version, not the CMake
package version.

TF-PSA-Crypto 1.0.0 has the same problem, and there we did ship with an
outdated CMake package version:
https://github.com/Mbed-TLS/TF-PSA-Crypto/issues/553

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-10-29 12:31:57 +01:00
Jan Spannberger
a5384bdf09 add cast to fix IAR compiler errors
IAR throws a warning "mixed ENUM with other type"

Signed-off-by: Jan Spannberger <jan.spannberger@siemens.com>
2025-10-28 15:13:08 +01:00
Valerio Setti
4624f508d3
Merge pull request #10449 from bjwtaylor/mbedtls.remove-mbedtls_verify_new
Remove uses of mbedtls_pk_verify_new
2025-10-24 14:12:24 +00:00
Luc Schrijvers
ffc2606bf2 Use GNUInstallDirs CMAKE_INSTALL_INCLUDEDDIR path for headers installation
Signed-off-by: Luc Schrijvers <begasus@gmail.com>
2025-10-24 12:50:51 +02:00
Manuel Pégourié-Gonnard
b180696e94
Merge pull request #10459 from gilles-peskine-arm/fix-doc-submodule-links
Fix documentation link to submodule that doesn't work on GitHub
2025-10-17 08:28:40 +00:00
Gilles Peskine
58439de2ae Fix documentation link to submodule that doesn't work on GitHub
Fixes #10458

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-10-16 16:36:02 +02:00
Minos Galanakis
b2878ee402 Updated tf-psa-crypto pointer
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-10-15 16:59:12 +01:00
Minos Galanakis
2842c33e2c Merge tag 'v4.0.0' into mbedtls-4.0.0_mergeback
Mbed TLS 4.0.0

Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-10-15 16:58:25 +01:00
Minos Galanakis
ec4044008d ChangeLog: Added CVEs
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
v4.0.0 mbedtls-4.0.0
2025-10-13 16:51:48 +01:00
Minos Galanakis
411461a86e Doc: Removed references to beta version
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-10-13 16:51:48 +01:00
Minos Galanakis
38181b6d66 Assemble ChangeLog
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-10-13 16:51:48 +01:00
Minos Galanakis
e5862c0494 Removed Beta Changelog
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-10-13 16:51:48 +01:00
Minos Galanakis
21cd2ddb1e Updated tf psa-crypto submodule
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-10-13 16:51:48 +01:00
Ben Taylor
0ff335d715 Remove uses of mbedtls_pk_verify_new
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
2025-10-13 15:17:44 +01:00
Gilles Peskine
3765e5ca7e
Merge pull request #10438 from bjwtaylor/deprecated-functions
Remove internal deprecated items
2025-10-13 13:35:11 +00:00
Minos Galanakis
65c29f07c7 Updated framework submodule
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-10-11 21:44:26 +01:00
Minos Galanakis
ca4a1a117d Merge remote-tracking branch 'mbedtls4.0.0-documentation' into mbedtls-4.0.0.rc
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-10-11 21:42:39 +01:00
Minos Galanakis
0283fa0656 Merge remote-tracking branch 'restricted/development-restricted' into mbedtls-4.0.0.rc
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-10-11 21:41:49 +01:00
Gilles Peskine
ccd9e294e7
Merge pull request #10446 from gilles-peskine-arm/migration-guide-4.0-consolidate
Consolidate migration guide
2025-10-11 11:56:45 +02:00
Gilles Peskine
fa4e9461bd Add sentence that was in 3.0 and is in TF-PSA-Crypto 1.0
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-10-10 17:54:13 +02:00
Gilles Peskine
75a36bd9cd Fix copypasta in title
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-10-10 17:45:33 +02:00
Gilles Peskine
d83c476f3b Fix copypasta
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-10-10 16:36:42 +02:00
Gilles Peskine
66719098b8 Ensure there is a blank line before headers (markdown portability)
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-10-10 15:57:49 +02:00
Gilles Peskine
2c0cb9926a Add short introduction
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-10-10 15:57:49 +02:00
Gilles Peskine
e79923c65d Consolidate migration guide chapters into a single file
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-10-10 15:50:20 +02:00
Gilles Peskine
9fc5910bdc Remove 3.0 migration guide
Migrating from 2.x to 3.0 is no longer relevant: some of the advice wouldn't
work with 4.0. We don't really need a migration guide from 3.x any longer
since 2.x is no longer officially supported.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-10-10 15:48:06 +02:00
Gilles Peskine
5394731353
Merge pull request #10441 from ronald-cron-arm/migration-guide
Add repo-split migration guide
2025-10-09 19:54:04 +02:00
Ronald Cron
7c39b6055e Improve sections "Using Mbed TLS as a CMake subproject/package"
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-10-09 18:07:59 +02:00
Ronald Cron
dca3b381fa Various improvements
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-10-09 17:21:23 +02:00
Ronald Cron
15557d0d03 Various improvements
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-10-09 11:27:47 +02:00
Ronald Cron
f37dbf67cb Add missing typesettings
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-10-09 11:06:07 +02:00
Ronald Cron
de8bb9628d Change footnote indication
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-10-09 11:02:16 +02:00
Ronald Cron
25b1a02454 Rework "Impact on some usages of the library" section
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-10-08 17:22:00 +02:00
Ronald Cron
5d069c9989 Add Make to CMake migration section
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-10-08 17:21:56 +02:00
Ronald Cron
79a2631a11 Expand "Configuration file split" section
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-10-08 17:21:01 +02:00
Ronald Cron
d3f02cddd4 Improve file and directory relocation table
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-10-08 17:21:01 +02:00
Ronald Cron
c7646249bb Various small changes
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-10-08 17:20:43 +02:00
Ronald Cron
a5e1b6d328 Rework "CMake as the only build system" section
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-10-08 09:10:54 +02:00
Ronald Cron
9228e4a794 Add repo-split migration guide
Also a section about the CMake being now
the only build system.

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-10-07 17:19:48 +02:00
Gilles Peskine
2f13c8ce2b
Merge pull request #10436 from ronald-cron-arm/root-documentation
Update documentation at repo root
2025-10-07 13:29:20 +02:00
Ben Taylor
91b8310e54 Remove internal deprecated items
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
2025-10-07 08:19:44 +01:00
Ronald Cron
63180eb132 README.md: Adjust CMake minimum version
Adjust CMake minimum version to 3.20.2.
That is the version in CentOS which is
the rolling-delivery upstream of
RHEL 9.

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-10-06 11:12:44 +02:00
Ronald Cron
864c31a1f8 README.md: IAR not currently used in our testing
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-10-06 11:12:43 +02:00