Ben Taylor
6816fd781e
Adjust for change in mbedtls_pk_verify_new function prototype
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-08-07 08:25:52 +01:00
Ben Taylor
1c118a564d
reverted enum in pk_verify_new
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-08-07 08:25:52 +01:00
Ben Taylor
adf5d537b2
Fix code style
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-08-07 08:25:52 +01:00
Ben Taylor
d95ea27e8c
Create new enum mbedtls_pk_sigalg_t
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-08-07 08:25:52 +01: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
80a623089d
tests: ssl: allow more groups in conf_group()
...
Previously 3 different groups were allowed, but since the removal of
secp192r1 and secp224r1 only secp256r1 was left. This commit adds
other 2 options.
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-08-06 11:38:45 +02: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
Ben Taylor
4a43804d69
Remove deprecated items
...
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
c454b5b658
Fix rebase failure
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-30 07:55:14 +01:00
Ben Taylor
4df61d408d
fix style issues
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-30 07:55:14 +01:00
Ben Taylor
dbea0a9cc5
Remove additional unused no rng case
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-30 07:55:14 +01:00
Ben Taylor
1e2e2ea36d
Added back crypto treatment of certs as the keyfile is now passed in and the previous rng issue should no longer be relevent
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-30 07:55:14 +01:00
Ben Taylor
8519c3e0ba
corrected copy paste error for MBEDTLS_USE_PSA_CRYPTO enabled/disabled
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-30 07:55:14 +01:00
Ben Taylor
6164e92d3b
Restore comment in ssl-opt.sh as it is still relevent
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-30 07:55:14 +01: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
98ecfdb440
corrected code style
...
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
4bb98be277
initial remove of MBEDTLS_USE_PSA_CRYPTO
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-30 07:55:13 +01:00
Ben Taylor
b3a2005141
Remove copy from Makefile
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-29 15:19:06 +01:00
Gilles Peskine
d6f881e8ca
Merge pull request #10319 from gilles-peskine-arm/move-check-config-to-library
...
check_config.h: move to library and test
2025-07-29 14:07:33 +00:00
Valerio Setti
cd1b7ffa70
tests: x509write: replace MBEDTLS_ECDSA_DETERMINISTIC with PSA_WANT one
...
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-07-29 10:40:12 +02: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
Ben Taylor
1787ea43a7
Removed debug comment
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-29 07:57:44 +01:00
Ben Taylor
532dfeeacb
Add copy of header file for libtestdriver1
...
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
Gilles Peskine
1819a915bc
Include limits.h where needed
...
This will be needed when TF-PSA-Crypto's `build_info.h` stops including
`limits.h`, which it currently does by accident because it includes
`check_config.h` which wants `limits.h` to check `CHAR_BIT`.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2025-07-28 15:45:12 +02:00
Ronald Cron
b23424cc61
Merge pull request #10317 from ronald-cron-arm/legacy-crypto-options-cleanup
...
Clean-up following the removal of crypto config options but ECC ones
2025-07-25 15:11:34 +00:00
Ben Taylor
361ce2b484
Rename mbedtls_pk_setup_opaque to mbedtls_pk_wrap_psa
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-24 08:25:28 +01:00
Ronald Cron
dfd501d3fb
depends.py: Adapt to the removal of legacy crypto config options
...
Adapt to the removal of the legacy hash, cipher,
cmac, aead and RSA configuration options.
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2025-07-24 08:42:16 +02:00
Ronald Cron
fb03d1391b
depends.py: Remove cipher_padding domain
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2025-07-24 08:42:16 +02:00
Ronald Cron
0668036ada
Replace MBEDTLS_AES_C
...
Replace the remaining instances of MBEDTLS_AES_C
as a configuration option.
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2025-07-24 08:42:16 +02:00
Ronald Cron
e13c7015ea
all.sh: Remove unset of now removed legacy symmetric crypto options
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2025-07-24 08:42:16 +02:00
Ronald Cron
892bb61294
all.sh: Remove unset of now removed legacy RSA config options
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2025-07-24 08:42:16 +02:00
Ronald Cron
772a8ad219
all.sh: Remove unset of now removed legacy hash config options
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2025-07-24 08:42:16 +02:00
Bence Szépkúti
27125ceacf
Update references to tf-psa-crypto/core/common.h
...
This commit was generated using the following command:
sed -i 's/\(^\|[^_]\)common\.h/\1tf_psa_crypto_common.h/g' \
$(git ls-files . \
':!:programs/fuzz' \
':!:tests/psa-client-server' \
':!:tf-psa-crypto' \
':!:framework') \
$(git grep -l 'tf-psa-crypto/core/common.h')
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com >
2025-07-21 20:02:30 +02:00
Ben Taylor
5be8511151
Fix too many arguments in mbedtls_pk_verify_new
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-21 07:53:15 +01:00
Ben Taylor
0c787e3de8
Remove additional calls to mbedtls_pk_verify_ext
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-21 07:53:15 +01:00
Ronald Cron
b5fd7b9a54
Merge pull request #10295 from gilles-peskine-arm/nv-seed-only-prepare-mbedtls
...
Allow builds with no RNG but entropy in an NV seed: prepare Mbed TLS
2025-07-18 11:56:41 +00:00
Gilles Peskine
4e9d91005f
Merge pull request #10272 from bjwtaylor/include-private-pk
...
include private pk.h internally
2025-07-18 05:20:27 +00:00
Ben Taylor
c801d3293e
include private pk.h internally
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-17 15:18:53 +01:00
Anton Matkin
375fab7c73
Added a fix for the CI failure due to private access error
...
Signed-off-by: Anton Matkin <anton.matkin@arm.com >
2025-07-17 13:48:36 +02:00
Ronald Cron
abafe32c79
Merge pull request #10297 from ronald-cron-arm/remove-legacy-crypto-options-preparation-1
...
Remove legacy crypto options preparation-1
2025-07-16 14:06:30 +00:00
Gilles Peskine
3c2a1cb1d6
Prepare to ignore a new test case
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2025-07-15 19:09:28 +02:00
Ronald Cron
9edf4c54b6
test_psa_crypto_config_accel_rsa_crypto: Disable MBEDTLS_GENPRIME
...
Disable MBEDTLS_GENPRIME in the
test_psa_crypto_config_accel_rsa_crypto component.
This should likely have been the case already,
as all RSA crypto in this component is expected
to be provided by the test driver.
This change is necessary following the previous
commit to prevent analyze_outcomes.py from
complaining that, as MBEDTLS_GENPRIME tests are
passing in both the driver and reference
components, they should not be ignored.
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2025-07-15 15:40:57 +02:00