1
0
mirror of https://github.com/ARMmbed/mbedtls.git synced 2025-10-20 21:50:48 +08:00
Commit Graph

33927 Commits

Author SHA1 Message Date
Bence Szépkúti
9defedb833 Fix comment too long for pylint
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
2025-09-29 14:25:12 +02:00
Minos Galanakis
55e4bf8acd Changelog: Introduced oid.txt
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-09-29 11:42:30 +01:00
Minos Galanakis
8120169554 Changelog: Removed check-config.txt
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-09-29 11:38:39 +01:00
Minos Galanakis
30f42edd43 Changelog: Reworded fix-clang-psa-build-without-dhm
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-09-29 11:38:10 +01:00
Minos Galanakis
cc3f987c4f Changelogs: Added CVEs
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-09-29 11:34:24 +01:00
Manuel Pégourié-Gonnard
9114d4ae0c all.sh: prepare component for hiding small curves
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2025-09-29 11:49:40 +02:00
Minos Galanakis
9364208e33 Changelogs: Fixed aligment issues
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-09-29 10:39:23 +01:00
David Horstmann
ee1991a387 Merge pull request #10408 from ronald-cron-arm/historical-libmbedcryto
Restore historical libmbedcrypto.* libraries
2025-09-29 08:41:06 +00:00
Manuel Pégourié-Gonnard
4da73986f3 Merge pull request #10424 from davidhorstmann-arm/add-missing-include-psasim
Add missing include of `stdio.h` in PSASIM
2025-09-28 20:06:15 +00:00
Bence Szépkúti
0f2a4f3d1f Prevent unnecessary submodule fetches
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
2025-09-26 20:27:57 +02:00
Gilles Peskine
ce9f08a11b More removals found in changelog entries
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-09-26 19:21:15 +02:00
David Horstmann
98dfcd4908 Add missing include of stdio.h
This is required in util.h in PSASIM as it uses fprintf. Previously
stdio was inadvertantly included via psa/crypto_struct.h (of all
places).

Signed-off-by: David Horstmann <david.horstmann@arm.com>
2025-09-26 16:30:36 +01:00
Minos Galanakis
48bfaa9353 Changelog: Removed psa migrated entries
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-09-26 15:53:04 +01:00
Minos Galanakis
9b1db5da78 Moved entries back to Changelog.d
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-09-26 15:53:04 +01:00
Minos Galanakis
514375e8c1 Changelog: Brought entries from tf-psa-crypto
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-09-26 15:53:04 +01:00
Minos Galanakis
1789bbdde8 Changelog: Moved entries to tf-psa-psa
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-09-26 15:53:04 +01:00
Minos Galanakis
4b0923f653 Changelog: Brought forward changelog changes from #4716308
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-09-26 15:53:04 +01:00
Minos Galanakis
92a2154ed2 Changelog: Split changelogs for both libraries
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-09-26 15:53:04 +01:00
Minos Galanakis
582cb04c6c Changelog: Moved fix-clang-psa-build-without-dhm to MbedTLS
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-09-26 15:53:04 +01:00
Minos Galanakis
a439ac57d1 moved psa changelogs
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-09-26 15:53:04 +01:00
Minos Galanakis
f47c86561d Moved x509 related changelogs
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-09-26 15:53:04 +01:00
Minos Galanakis
5bb46ef737 Moved TLS related changelogs
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-09-26 15:53:04 +01:00
Minos Galanakis
120914be22 Removed entries already in tf-psa-crypto Clog
ripgrep was used to check against the
tf-psa-crypto.v1.0.0-beta Changelog.

rg --multiline -F -f {changelog_to_check}.txt -o ../tf-psa-crypto-ChangeLog
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-09-26 15:53:04 +01:00
Minos Galanakis
93145552cd Restored changelog entries
This commit restores all changelog entries between the
mbedtls-3.6.0 tag and the mbedtls-4.0.0-beta tag.

git diff ce4683e..09dc57d --name-status -- ChangeLog.d

Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-09-26 15:53:04 +01:00
Gilles Peskine
7d3cf9b3dc Add section on the config file split
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-09-26 16:16:59 +02:00
Gilles Peskine
cf9b557d1c Removed static ECDH
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-09-26 16:07:38 +02:00
Bence Szépkúti
8d95062aeb Eliminate use of git worktree prune
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
2025-09-26 15:44:11 +02:00
Bence Szépkúti
dc88f6e1f3 Use f-string literal
This makes path-construction a bit more readable

Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
2025-09-26 15:37:42 +02:00
David Horstmann
0da9ce0ee7 Merge pull request #10418 from mpg/fix-udp-proxy
Fix includes in udp_proxy.c
2025-09-26 11:45:43 +00:00
Manuel Pégourié-Gonnard
355b00e8e0 Fix includes in udp_proxy.c
The program uses atoi() unconditionally, so it should include stdlib.h
unconditionally. Previously this happened to be indirectly included by
some other header (via pk.h via ssl.h) but we should not rely on that.

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2025-09-26 12:11:03 +02:00
Gilles Peskine
3415d2dd5f Merge pull request #10306 from gilles-peskine-arm/config-error-on-removed-options-mbedtls
Mechanism to error out on removed configuration options
2025-09-25 16:35:51 +00:00
Bence Szépkúti
effa534e71 Use worktrees instead of fetches for submodules
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
2025-09-25 15:51:07 +02:00
David Horstmann
9c1f18a99a Merge pull request #10414 from ronald-cron-arm/deprecate-make-follow-up
Make deprecation follow-up
2025-09-24 16:05:16 +00:00
Gilles Peskine
3cee43e8ab Be more consistent about method naming
Indicate which config file has the most relevant tweak.

Duplicate a few test cases so that both the crypto config and the mbedtls
config are tested.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-09-24 17:20:35 +02:00
Gilles Peskine
f7ed4e506f Add test case for allowing setting an always-on removed option
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-09-24 17:20:35 +02:00
Gilles Peskine
4bb82fdb16 Fix copypasta in documentation
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-09-24 17:20:35 +02:00
Gilles Peskine
562763b5bd Add dependency of mbedtls_config on generated config check headers
Fix the build of libmbedx509 when generated files are not already present.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-09-24 17:20:35 +02:00
Gilles Peskine
c45d9ac4c2 Allow setting removed options that are now always on
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-09-24 17:20:35 +02:00
Gilles Peskine
cc1ac1d3dc CMake: support generated headers
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-09-24 17:20:35 +02:00
Gilles Peskine
379d38de1c Unit tests for checks for removed options in the config file
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-09-24 17:20:35 +02:00
Gilles Peskine
8e44a94d39 Automatically generate checkers for removed options
Read the list of historical config options in 3.6, compare that to 1.0/4.0
and emit the appropriate checkers.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-09-24 17:20:35 +02:00
Gilles Peskine
24273c06db Checks for crypto options or internal macros set in mbedtls
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-09-24 17:20:35 +02:00
Gilles Peskine
24d058bc6c Enable checks for bad options in the config file
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-09-24 17:20:35 +02:00
Gilles Peskine
d3d0652dca Update framework submodule with config_history.py
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-09-24 17:20:33 +02:00
Ronald Cron
3a252dda0c Adapt code_size_compare.py to make deprecation and submodules
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-09-24 16:31:12 +02:00
Ronald Cron
37148d0fe3 Adapt memory.sh to make deprecation
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-09-24 12:39:29 +02:00
Ronald Cron
15cd8b0a63 Adapt footprint.sh to make deprecation
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-09-24 12:38:35 +02:00
Ronald Cron
e5bae0dde3 Adapt basic-build-test.sh to make deprecation
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-09-24 12:38:02 +02:00
Gilles Peskine
caaf52d6d0 Merge pull request #10391 from bjwtaylor/remove-deprecated-compilation-options-2
Remove deprecated compilation options 2
2025-09-23 08:40:11 +00:00
Ronald Cron
90979728ee Merge pull request #10382 from ronald-cron-arm/deprecate-make
Deprecate Make build system and remove MS visual studio files
2025-09-23 08:14:28 +00:00