Ben Taylor
1317d7f14d
Remove spurious make command
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-09-30 10:36:48 +01:00
Ben Taylor
c8e4fd3f1a
Initial removal of DES from mbedtls
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-09-30 10:36:48 +01:00
Manuel Pégourié-Gonnard
2706002c6f
Merge pull request #10426 from mpg/hide-small-curves
...
all.sh: prepare component for hiding small curves
2025-09-29 14:02:53 +00: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
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
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
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
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
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
Ronald Cron
e7bac84a22
Remove the generation of MS visual studio files
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2025-09-22 18:00:26 +02:00
Ronald Cron
31f63210ec
Deprecate Make
...
Move and rename the root Makefile to
scripts/legacy.make. That way running
make from the root fails.
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2025-09-22 18:00:26 +02:00
Ronald Cron
401f20fb35
Prepare test components to scripts/legacy.make
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2025-09-22 18:00:26 +02:00
Gilles Peskine
9da0dce845
Bypass config checks when setting a low-level option directly
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2025-09-22 15:55:10 +02:00
Ronald Cron
35d59c6cb6
cmake: Install libmbedcrypto.* libraries
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2025-09-22 15:08:39 +02:00
Ben Taylor
fec1c002d5
Revert changes to analyze outcomes after dependencies have been merged
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-09-22 09:07:12 +01:00
Ronald Cron
4fe3760a27
Cleanup following the removal of MBEDTLS_BIGNUM_C option
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2025-09-16 15:53:43 +02:00
Ronald Cron
feb5e26619
Cleanup following the removal of MBEDTLS_ECP_DP_.*_ENABLED options
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2025-09-16 15:53:43 +02:00
Ronald Cron
6cfab2880a
Cleanup following the removal of MBEDTLS_ECP_C option
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2025-09-16 15:53:43 +02:00
Ronald Cron
2ad1e5c1a2
Cleanup following the removal of MBEDTLS_ECJPAKE_C option
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2025-09-16 15:53:43 +02:00
Ronald Cron
3c6bbddfd4
Cleanup following the removal of MBEDTLS_ECDSA_C option
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2025-09-16 15:53:43 +02:00
Ronald Cron
a19ee2819e
Cleanup following the removal of MBEDTLS_ECDH_C option
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2025-09-16 15:53:43 +02:00
Ronald Cron
919a1e4e22
Cleanup following the removal of RSA legacy options
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2025-09-16 15:53:43 +02:00
Ronald Cron
2b7f59535f
Remove completely MBEDTLS_PLATFORM_GET_ENTROPY_ALT
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2025-09-16 15:53:43 +02:00
Ronald Cron
0dd31fe523
Introduce MBEDTLS_SSL_NULL_CIPHERSUITES
...
The support for TLS ciphersuites without
encryption does not rely anymore on the
MBEDTLS_CIPHER_NULL_CIPHER feature of
the cipher module. Introduce a specific
config option to enable these ciphersuites
and use it instead of MBEDTLS_CIPHER_NULL_CIPHER.
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2025-09-16 15:53:43 +02:00
Manuel Pégourié-Gonnard
07912c9e36
Merge pull request #10370 from bjwtaylor/remove-deprecated-compilation-options
...
Remove deprecated compilation options
2025-09-15 09:26:01 +00:00
Manuel Pégourié-Gonnard
1a81ab6390
Merge pull request #10379 from bjwtaylor/update-header-guards
...
Update header guard use in p256m test
2025-09-12 10:03:02 +00:00
Ben Taylor
14e1932935
Remove stray comment int components-platform.sh
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-09-12 10:52:23 +01:00
Ben Taylor
5a7a72ee41
testing with analyze_outcomes changes reverted for merge
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-09-12 10:52:23 +01:00
Ben Taylor
bb877a8cbf
remove further references to MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT and MBEDTLS_SHA256_USE_A64_CRYPTO_ONLY
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-09-12 10:52:23 +01:00
Ben Taylor
59474406a6
Re-instate MBEDTLS_PKCS1_V15 unset
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-09-11 13:22:40 +01:00
Ben Taylor
9e360b8f33
Remove MBEDTLS_RSA_C from depends.py
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-09-11 13:22:40 +01:00
Ben Taylor
a47fd0faf4
Add bug link to test modifications
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-09-11 13:22:40 +01:00
Ben Taylor
1a4f4b32a4
Add filter to test_tls13_only_ephemeral_ffdh to remove ffdh tests
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-09-11 13:22:40 +01:00
Ben Taylor
120bd868b6
add filter to component_full_without_ecdhe_ecdsa
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-09-11 13:22:40 +01:00
Ben Taylor
f57293654e
Revert change to Everest test message back to ECDH
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-09-11 13:22:40 +01:00
Ben Taylor
677994af64
Change ecdh to ecdhe on everest test
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-09-11 13:22:40 +01:00
Ben Taylor
59213b66df
Re-add everest test, as it was mislabelled
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-09-11 13:22:40 +01:00
Ben Taylor
844a264317
Remove stray MBEDTLS_PKCS1_V15 and MBEDTLS_PKCS1_V21
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-09-11 13:22:40 +01:00
Ben Taylor
fbd806ae95
Remove everest ECDH test as it is no longer required
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-09-11 13:22:40 +01:00
Ben Taylor
15f1d7f812
Remove support for static ECDH cipher suites
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-09-11 13:22:40 +01:00
Ronald Cron
ab7610c318
Cleanup following the removal of entropy options
...
Cleanup following the removal in TF-PSA-Crypto of:
- MBEDTLS_NO_PLATFORM_ENTROPY
- MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES
- MBEDTLS_ENTROPY_HARDWARE_ALT
- MBEDTLS_ENTROPY_MIN_HARDWARE
Only MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES was still
present in Mbed TLS.
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2025-09-10 15:23:32 +02:00
Ronald Cron
eb16a9d9ea
Prepare for the removal of MBEDTLS_PLATFORM_GET_ENTROPY_ALT
...
We cannot remove it completely yet.
It must remain in config.py so that it is not
included in the full configuration.
A temporary exception is required for it in
analyze_outcomes.py.
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2025-09-10 15:23:32 +02:00
Ronald Cron
3b30643143
Adapt configurations to stricter compile-time checks
...
Adapt configurations to stricter compile-time checks
for entropy enablement and MBEDTLS_ENTROPY_NV_SEED
option.
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2025-09-10 15:23:32 +02:00
Ronald Cron
efcec8cecd
Cleanup following the removal of MBEDTLS_ENTROPY_C option
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2025-09-10 15:23:32 +02:00