1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-11-15 15:21:08 +03:00
Commit Graph

33980 Commits

Author SHA1 Message Date
Ben Taylor
00b04a6590 Update mbedtls_pk_sign_ext in x509write_crt.c to use mbedtls_pk_sigalg_t directly and remove casts
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
2025-10-30 15:11:09 +00:00
Ben Taylor
5f037c7fb3 Rename mbedtls_ssl_pk_alg_from_sig to mbedtls_ssl_pk_alg_from_sig_pk_alg and update to use mbedtls_pk_sigalg_t
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
2025-10-30 14:59:24 +00:00
Ben Taylor
0035cfb1f0 Removed unnecessary cast in mbedtls_pk_sign_ext
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
2025-10-30 13:42:56 +00:00
Ben Taylor
4565d5d4e6 Change the call to mbedtls_pk_verify_ext in pkcs7 to have a variable input cert->sig_pk
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
2025-10-30 13:37:09 +00:00
Ben Taylor
bc076f9f76 fix style isses
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
2025-10-28 07:58:37 +00:00
Ben Taylor
a2de40a100 Change the return type of mbedtls_ssl_get_ciphersuite_sig_pk_alg to mbedtls_pk_sigalg_t
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
2025-10-28 07:58:37 +00:00
Ben Taylor
4b4ca812e5 Corrected debug return
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
2025-10-28 07:58:37 +00:00
Ben Taylor
10d471a14d Correct debug return
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
2025-10-28 07:58:37 +00:00
Ben Taylor
b190c1bb0b Replace change to restartable with ext
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
2025-10-28 07:58:37 +00:00
Ben Taylor
1b32994bef Fix style issues
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
2025-10-28 07:58:37 +00:00
Ben Taylor
2c056721d1 Tidy up debug of non ext functions
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
2025-10-28 07:58:37 +00:00
Ben Taylor
cef9d2d31f Revert change to mbedtls_pk_{sign,verify}_restartable and replace with ext version
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
2025-10-28 07:58:37 +00:00
Ben Taylor
5e23093285 Fix code style issues
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
2025-10-28 07:58:37 +00:00
Ben Taylor
c3e2b37530 Remove mbedtls_ssl_write_handshake_msg as it now replaced by mbedtls_ssl_write_handshake_msg_ext
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
2025-10-28 07:58:37 +00:00
Ben Taylor
279dd4ab59 Remove dependencies on mbedtls_pk_verify
Replace mbedtls_pk_verify with mbedtls_pk_verify_restartable, as mbedtls_pk_verify has now been
removed and was origonally a pass through call to mbedtls_pk_verify_restartable.

Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
2025-10-28 07:58:37 +00:00
Ben Taylor
94f1628aca Remove dependencies on mbedtls_pk_sign
Replace mbedtls_pk_sign with mbedtls_pk_sign_restartable, as mbedtls_pk_sign has now been
removed and was origonally a pass through call to mbedtls_pk_sign_restartable.

Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
2025-10-28 07:58:37 +00: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
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