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
Ben Taylor
a2aa7daaca
Change unset of MBEDTLS config to more standard method
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-09-04 11:22:52 +01:00
Ben Taylor
ecde0aaa41
replace undef with deletion in p256m test
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-09-02 11:13:05 +01:00
Ben Taylor
dfdac46163
Update header guard use in p256m test
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-09-02 11:13:05 +01:00
David Horstmann
f790fb84fc
Merge pull request #10367 from davidhorstmann-arm/configuration-crypto-sh-legacy-ecdsa-deterministic
...
Remove component uses of `MBEDTLS_ECDSA_DETERMINISTIC`
2025-09-02 09:36:46 +00:00
Anton Matkin
4e091786ca
Moved the MbedTLS config adjust headers to a private subdirectory
...
Signed-off-by: Anton Matkin <anton.matkin@arm.com >
2025-08-29 07:05:40 +02:00
David Horstmann
b907dbc4d3
Remove other cases of explicit crypto config file
...
Remove unnecessary passing of the crypto config filename either with the
'-f' or '-c' switch, throughout all of the all.sh component files.
Signed-off-by: David Horstmann <david.horstmann@arm.com >
2025-08-27 15:19:40 +01:00
David Horstmann
7cbeedc607
Remove uses of the -c $CRYPTO_CONFIG_H idiom
...
This is no longer needed as config.py knows where the crypto config file
is these days.
Signed-off-by: David Horstmann <david.horstmann@arm.com >
2025-08-26 17:27:49 +01:00
Ronald Cron
aad5f1bedd
tests: Prepare to switch to SHA-256 as the default CTR_DRBG hash
...
Ensure that when we switch from SHA-512 to SHA-256
as the default CTR_DRBG hash, we still properly
test CTR_DRBG with SHA-512.
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2025-08-25 15:35:42 +02:00
Minos Galanakis
906950d8dc
config/depends.py: Removed legacy options.
...
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com >
2025-08-21 15:57:00 +01:00
Minos Galanakis
5dbc24a255
components-configuration-crypto: Removed legacy options.
...
Removed setters for `MBEDTLS_CTR_DRBG_USE_128_BIT_KEY`
and `MBEDTLS_ENTROPY_FORCE_SHA256`
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com >
2025-08-21 15:56:59 +01:00
David Horstmann
3492807e0b
Remove component uses of MBEDTLS_ECDSA_DETERMINISTIC
...
Remove all references to MBEDTLS_ECDSA_DETERMINISTIC from
components-configuration-crypto.sh. Replace them with
PSA_WANT_ALG_DETERMINISTIC_ECDSA.
This is safe because:
* MBEDTLS_ECDSA_DETERMINISTIC is only ever unset in components in order
to avoid errors from disabling its dependency MBEDTLS_HMAC_DRBG_C.
* MBEDTLS_ECDSA_DETERMINISTIC is only ever defined in
config_adjust_legacy_from_psa.h, and only if
PSA_WANT_ALG_DETERMINISTIC_ECDSA is defined.
Therefore PSA_WANT_ALG_DETERMINISTIC_ECDSA's dependencies are a superset
of MBEDTLS_ECDSA_DETERMINISTIC's dependencies and must include
MBEDTLS_HMAC_DRBG_C, so disabling PSA_WANT_ALG_DETERMINISTIC_ECDSA is a
sufficient substitute for disabling MBEDTLS_ECDSA_DETERMINISTIC.
Signed-off-by: David Horstmann <david.horstmann@arm.com >
2025-08-20 10:26:11 +01:00
Minos Galanakis
f3486e198b
components-configuration-crypto.sh: Added setters for MBEDTLS_PSA_CRYPTO_RNG_HASH
...
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com >
2025-08-20 00:04:35 +01:00
Valerio Setti
a785eea41f
tests: configuration-crypto: enable p192 curves in test_psa_crypto_without_heap
...
Enable p192[k|r]1 curves which are disabled by default in tf-psa-crypto.
This is required to get the proper test coverage otherwise there are
tests in 'test_suite_psa_crypto_op_fail' that would never be executed.
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-08-13 10:57:46 +02:00
Manuel Pégourié-Gonnard
c7a10589cf
Merge pull request #10352 from valeriosetti/issue10283-development-prereq
...
[development] Remove 224-bit curves (3/5)
2025-08-12 11:39:20 +00:00
Valerio Setti
981a0c46b2
tests: remove leftover from debug session and extra spaces
...
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-08-12 11:31:11 +02:00
Valerio Setti
37a4281710
tests: configuration_crypto: fix selection of EC/DH group to accelerate
...
Some EC/DH group might be disabled in default configuration in
"crypto_config.h" so before running "helper_get_psa_key_type_list" and/or
"helper_get_psa_curve_list" it's better to set/unset what's required
for that test component and only then parse the enabled groups.
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-08-12 09:36:45 +02:00
Manuel Pégourié-Gonnard
5b74c79f00
Merge pull request #10298 from bjwtaylor/remove-deprecated-items
...
Remove deprecated items
2025-08-11 07:13:08 +00:00
Manuel Pégourié-Gonnard
2656eb9121
Merge pull request #10344 from valeriosetti/issue10283-development
...
[development] Remove 224-bit curves & Remove 192-bit curves from TLS & X.509 (2/3)
2025-08-07 10:40:49 +00:00
Minos Galanakis
2fc59949b2
Added MBEDTLS_PSA_CRYPTO_RNG_STRENGTH to tests.
...
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com >
2025-08-06 10:50:27 +01:00
Valerio Setti
fa648bacb2
depends.py: keep reverse dependencies for p192 and p224 curves
...
These reverse dependencies will be removed once tf-psa-crypto will
remove the corresponding build symbols.
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-08-06 11:02:25 +02:00
Valerio Setti
d0d0791aed
remove usage of secp192[k|r]1 curves
...
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-08-06 09:15:35 +02:00
Valerio Setti
70a4a31cb5
remove secp224[k|r]1 curves
...
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-08-06 09:15:35 +02:00
Ben Taylor
4265e91930
Remove test component_test_dtls_cid_legacy as it is no longer required
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-08-01 11:45:14 +01:00
Gilles Peskine
40486a404d
Merge pull request #10209 from bjwtaylor/remove-MBEDTLS_USE_PSA_CRYPTO-code
...
Remove mbedtls use psa crypto code
2025-07-30 11:46:09 +00:00
Gilles Peskine
ae9dbaae3f
Merge pull request #10315 from bjwtaylor/include-private-pk
...
Add copy of header file for libtestdriver1
2025-07-30 08:10:20 +00:00
Ben Taylor
07687266b9
restoring test comment that refer to USE_PSA
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-30 07:55:14 +01:00
Ben Taylor
39a68bf347
removed additional references to USE_PSA in tests and comments
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-30 07:55:14 +01:00
Ben Taylor
9020426b14
remove MBEDTLS_USE_PSA_CRYPTO from tests
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-30 07:55:14 +01:00
Ben Taylor
d56079944e
Adjust libtestdriver1_rewrite.pl to work on private
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-29 07:57:44 +01:00
Gilles Peskine
01def64425
Unit tests for check_config.h
...
Ensure that `mbedtls_check_config.h` is taken into account.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2025-07-28 15:46:06 +02:00