Gabor Mezei
1c49cff468
Use PSA macros for the curves domain
...
Exclude the SECP224K1 curve due it is unstable via the PSA API.
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com >
2025-01-27 15:03:13 +01:00
Valerio Setti
0ebd6de77b
ssl-opt.sh: remove tests forcing DHE-RSA for which have alternatives
...
Remove tests which are forcing DHE-RSA, but for which an ECDHE-RSA
alternative already exists.
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-01-27 12:46:26 +01:00
Valerio Setti
3b412e283f
ssl-opt.sh: remove tests which are specific for DHE-RSA
...
For these ones there is no ECDHE alternative as they are testing
specific features of DHE.
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-01-27 12:46:26 +01:00
Valerio Setti
309a7ec70e
ssl-opt.sh: adapt tests from DHE-RSA to ECDHE-RSA
...
Adapted tests do not already have an ECDHE-RSA test available.
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-01-27 12:46:26 +01:00
Valerio Setti
592f6826dd
test_suite_ssl: update description for conf_curve and conf_gruop tests
...
These tests are about EC curves/groups, not DH ones, so the description
should be updated accordingly.
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-01-27 12:46:25 +01:00
Valerio Setti
8638603ba7
test_suite_ssl: remove tests specific for DHE-RSA
...
These tests were specific for DHE-RSA (which is being removed on
development branch) and also for each of them there was already the
ECDHE-RSA counterpart available.
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-01-27 12:38:39 +01:00
Valerio Setti
b8ef2a4455
test_suite_ssl: adapt handshake_fragmentation() to use ECDHE-RSA
...
Use ECDHE-RSA instead of DHE-RSA.
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-01-27 12:38:39 +01:00
Valerio Setti
5b7bfd8d5a
test_suite_ssl: adapt DHE-RSA tests to ECDHE-RSA
...
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-01-27 12:38:39 +01:00
Ronald Cron
189dcf630f
Merge pull request #9910 from valeriosetti/issue9684
...
Remove DHE-PSK key exchange
2025-01-27 11:15:10 +00:00
Manuel Pégourié-Gonnard
7e1154c959
Merge pull request #9906 from mpg/rm-conf-curves
...
[dev] Remove deprecated function mbedtls_ssl_conf_curves()
2025-01-27 08:21:27 +00:00
Valerio Setti
6e892cb630
components-configuration-crypto.sh: remove references to DHE_PSK kex
...
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-01-24 11:49:59 +01:00
Valerio Setti
70cc4e6bd1
analyze_outcomes.py: remove exceptions related to DHE-PSK
...
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-01-24 11:49:59 +01:00
Valerio Setti
64d264d2e6
compat.sh: remove usage of DHE-PSK
...
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-01-24 11:49:59 +01:00
Valerio Setti
9a9c9a53c1
compat.sh: do not use DHE-PSK key exchange in gnutls tests
...
DHE-PSK is being removed from Mbed TLS so we cannot use this key
exchange with gnutls testing.
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-01-24 11:49:59 +01:00
Valerio Setti
5c730c1d54
ssl-opt.sh: remove DHE-PSK only test cases
...
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-01-24 11:49:59 +01:00
Manuel Pégourié-Gonnard
c4e768a8a6
Fix incorrect test function
...
We should not manually set the TLS version, the tests are supposed to
pass in 1.3-only builds as well. Instead do the normal thing of setting
defaults. This doesn't interfere with the rest of the testing, so I'm
not sure why we were not doing it.
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com >
2025-01-22 10:04:43 +01:00
Gilles Peskine
13c418dcee
Add ignore list entries for ECDH/FFDH algorithm without key type
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2025-01-20 16:00:46 +01:00
Gilles Peskine
fe683e7a1b
Remove test coverage exceptions that are no longer needed
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2025-01-20 16:00:46 +01:00
Ronald Cron
6daf4ef507
Merge pull request #9914 from Harry-Ramsey/remove-tf-psa-crypto-test
...
Remove check_test_dependencies TF-PSA-Crypto test from Mbed TLS
2025-01-20 10:38:53 +00:00
Harry Ramsey
e65bfe6449
Remove check_test_dependencies TF-PSA-Crypto test from Mbed TLS
...
This commit removes the check_test_dependencies from Mbed TLS as it has
been added to TF-PSA-Crypto.
Signed-off-by: Harry Ramsey <harry.ramsey@arm.com >
2025-01-17 09:20:23 +00:00
Valerio Setti
6487da15e9
tests: remove usage of mbedtls_x509write_crt_set_serial
...
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-01-16 15:02:15 +01:00
Manuel Pégourié-Gonnard
4c3134a396
Remove useless dependency from test function
...
This dependency was never right in the first place.
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com >
2025-01-14 12:25:52 +01:00
Manuel Pégourié-Gonnard
93d4591255
Remove deprecated function mbedtls_ssl_conf_curves()
...
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com >
2025-01-14 12:06:31 +01:00
Valerio Setti
ba8500b6b9
components-build-system.sh: fix path of pkgconfig.sh
...
The script was moved to the framework sub-repo.
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-01-14 09:46:07 +01:00
Valerio Setti
3533e9b761
Move files out of Mbed TLS
...
The following files are moved to the framework repo (deleted here):
tests/scripts/pkgconfig.sh
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-01-14 09:46:07 +01:00
Valerio Setti
c9e32b44b6
component-basic-checks: fix paths of files moved to framework
...
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-01-09 17:01:50 +01:00
Valerio Setti
6f1cedfcf3
Move files out of Mbed TLS
...
The following files are moved to the framework repo (deleted here):
tests/scripts/check_names.py
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-01-09 17:01:50 +01:00
Gilles Peskine
eef2a2e59b
Merge pull request #9841 from gilles-peskine-arm/psa-storage-test-cases-never-supported-positive-dev
...
Switch generate_psa_test.py to automatic dependencies for positive test cases
2025-01-09 11:37:43 +00:00
Gilles Peskine
49e48ef240
Remove test coverage exceptions that are no longer needed
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2025-01-09 10:42:00 +01:00
Gilles Peskine
bc7c523420
Remove uses of secp244k1
...
Remove all code guarded by `PSA_WANT_ECC_SECP_K1_224`, which is not and will
not be implemented. (It would be K1_225 anyway, but we don't intend to
implement it anyway.)
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2025-01-08 16:51:23 +01:00
Gilles Peskine
a074fe491a
Declare the new Python module used by generate_psa_tests.py
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2025-01-08 16:51:23 +01:00
Valerio Setti
976b53fc85
scripts: fix paths for files moved to framework
...
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-01-08 09:59:18 +01:00
Valerio Setti
cb333f24f0
Move files out of Mbed TLS
...
The following files are moved to the framework repo (deleted here):
scripts/assemble_changelog.py
tests/scripts/check-doxy-blocks.pl
tests/scripts/check-python-files.sh
tests/scripts/doxygen.sh
scripts/apidoc_full.sh
tests/scripts/recursion.pl
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-01-08 09:51:04 +01:00
Ronald Cron
9bdec11b31
Merge pull request #9815 from Harry-Ramsey/remove-irrelevant-components
...
Remove Irrelevant Components for 4.0
2025-01-07 13:18:15 +00:00
Elena Uziunaite
59fbed801e
Adujst paths
...
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com >
2024-12-19 20:48:59 +02:00
Elena Uziunaite
48a32dd8a8
Move files out of Mbed TLS
...
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com >
2024-12-19 20:48:59 +02:00
Paul Elliott
28c6290efa
Remove interruptible tests from TSAN component
...
No effort was made to make the interruptible ECC PSA functions thread
safe, as it was presumed that generally if you were using interruptible
functionality, then you were unlikely to have mulitple threads.
Signed-off-by: Paul Elliott <paul.elliott@arm.com >
2024-12-19 10:55:37 +00:00
Elena Uziunaite
e0d3ffe8af
Adjust paths
...
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com >
2024-12-18 12:16:35 +02:00
Ronald Cron
27a1ac7409
make: Generate test_keys.h in tf-psa-crypto/framework as well
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2024-12-16 10:48:03 +01:00
Ronald Cron
51f228cc1b
Switch to actual TF-PSA-Crypto build_info.h
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2024-12-11 22:32:45 +01:00
Ronald Cron
f6d17ca13c
Switch to tf-psa-crypto/build_info.h
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2024-12-11 22:32:45 +01:00
Ronald Cron
f3720c7ca9
Merge pull request #9828 from ronald-cron-arm/finalize-split-preparation-2
...
Finalize split preparation-2
2024-12-11 14:07:27 +00:00
Janos Follath
54f19e5372
Merge pull request #9783 from gilles-peskine-arm/psa-storage-test-cases-never-supported-preliminaries-dev
...
Make some edge cases of not-supported or invalid mechanisms more uniform
2024-12-10 18:15:54 +00:00
Ronald Cron
bced0c782d
Fix check that psa_test_wrappers.[hc] are up to date
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2024-12-10 16:58:02 +01:00
Ronald Cron
9fb40d7e01
Move PSA documentation to tf-psa-crypto
...
Move the docuumentation files that after
the split will fit better in TF-PSA-Crypto
than Mbed TLS. No comment update.
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2024-12-10 16:56:49 +01:00
Ronald Cron
faadfc2513
cmake: Remove unnecessary file generation disablement
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2024-12-10 16:56:49 +01:00
Ronald Cron
3dd1d3d1de
Fix test_sha3_variations
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2024-12-10 16:56:49 +01:00
Ronald Cron
42ba65d892
Fix test_malloc_0_null
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2024-12-10 16:56:49 +01:00
Ronald Cron
bfa03a2c3a
Fix build_zeroize_checks
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2024-12-10 16:56:49 +01:00
Ronald Cron
b7adf7bb77
Fix tls13_only
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2024-12-10 16:56:49 +01:00