Commit Graph

32726 Commits

Author SHA1 Message Date
Paul Elliott dc256d0934 Add test for incorrect key type in iop agreement
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
2024-12-17 15:53:39 +00:00
Paul Elliott 563788e577 Add iop key agreement to psa exercise key
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
2024-12-17 15:53:39 +00:00
Manuel Pégourié-Gonnard 843580f45b Merge pull request #59 from gilles-peskine-arm/github-issue-template-create
Add pull request template
2024-12-17 12:35:32 +01:00
Gilles Peskine 7a31061632 Add a line for a crypto PR
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2024-12-17 12:18:07 +01:00
Ronald Cron ff4c33600a Merge pull request #99 from ronald-cron-arm/finalize-split-preparation-2
Finalize split preparation-2
2024-12-11 12:04:30 +01:00
Ronald Cron 8e3b171218 Adapt default path of psa_test_wrappers.[hc]
Adapt default path of psa_test_wrappers.[hc]
in generate_psa_wrappers.py when called in
the context of Mbed TLS 4.x.

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-12-10 16:03:16 +01:00
Ronald Cron 4d16e0c3a6 Move test_keys.h to include/test
Move test_keys.h to tests/include/test
instead of tests/src as it is used
outside of tests/src namely by
test_suite_pk.

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-12-10 16:03:16 +01:00
Manuel Pégourié-Gonnard beb5dadbf2 Merge pull request #80 from eleuzi01/issue-74
Move scripts used by all-core.sh to the framework
2024-12-10 09:38:55 +01:00
Elena Uziunaite b5100e32f0 Simplify path
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-09 15:30:35 +00:00
Elena Uziunaite 64b53198e8 Adapt paths for scripts/quiet
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-09 15:30:28 +00:00
Elena Uziunaite c43c560fa5 Adapt paths for output_env.sh
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-09 15:30:21 +00:00
Elena Uziunaite baf8e1b93a Merge branch 'tmp-branch-move-files-to-framework' into issue-74 2024-12-09 15:29:30 +00:00
Elena Uziunaite ef0920fa91 Move files into the framework
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-09 15:29:21 +00:00
Ronald Cron 2ce86b0a1b Merge pull request #9792 from gabor-mezei-arm/9157_minimal_tf_psa_crypto_config.py
Minimal `config.py` for TF-PSA-Crypto
2024-12-09 11:47:12 +00:00
Manuel Pégourié-Gonnard 4a8e8f84d9 Merge pull request #9666 from Harry-Ramsey/remove-obsolete-ci-scripts-development
Remove obsolete CI Scripts
2024-12-09 10:49:45 +00:00
Gabor Mezei d1a5bb22ce Update framework
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-12-09 10:29:31 +01:00
Ronald Cron a13d4049ba Merge pull request #9717 from Harry-Ramsey/move-programs-psa-tf-psa-crypto-development
Move programs/psa to tf-psa-crypto
2024-12-09 07:38:16 +00:00
Ronald Cron 150bf84281 Merge pull request #81 from gabor-mezei-arm/9157_config.py_multiple_config
Update for TF-PSA-Crypto `config.py`
2024-12-09 08:07:35 +01:00
Gabor Mezei 5034a1f597 Fix PSA macro identification regexp
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-12-05 19:06:19 +01:00
Gabor Mezei 2e3f17a40f Remove not TF-PSA-Cripto related symbol
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-12-05 18:59:11 +01:00
Gabor Mezei c716aade4f Make the file path generation more transparent
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-12-05 18:59:11 +01:00
Gabor Mezei fc719d6e8c Unify PSA symbol identification
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-12-05 18:59:11 +01:00
Ronald Cron ce3c2dd30c Merge pull request #9806 from ronald-cron-arm/finalize-split-preparation-1
Finalize split preparation-1
2024-12-05 13:23:09 +00:00
Gabor Mezei 1a7bbe1ca8 Handle the _ALT macros in the full adapter
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-12-05 10:17:13 +01:00
Gabor Mezei fb36814669 Use default value for the filename parameter
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-12-05 10:11:46 +01:00
Gabor Mezei 75c7e13fa7 Update framework
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-12-05 10:02:39 +01:00
Gabor Mezei a53712d21d Rename tf_psa_crypto_config.py to config.py
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-12-05 10:00:41 +01:00
Gabor Mezei 680a7c30c2 Use only one config file in config.py
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-12-05 10:00:41 +01:00
Gabor Mezei 37bf61ee96 Fix crypto config path
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-12-05 10:00:41 +01:00
Gabor Mezei 1044a8066b Use better config name
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-12-05 10:00:41 +01:00
Gabor Mezei afc5fa5ad2 Rename TfPSA to TFPSA
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-12-05 10:00:41 +01:00
Gabor Mezei 871cde613d Add full adapter for tf-psa_crypto_config.py
Add the `full` adapter to enable most of the config feature.

Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-12-05 10:00:40 +01:00
Gabor Mezei 3191144e22 Add config.py for TF PSA Crypto
Add minimal required classes to use `get`, `set` and `unset` operations.

Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-12-05 10:00:40 +01:00
Gabor Mezei c707ac56fa Add python module serach path library for TF PSA Crypto
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-12-05 10:00:40 +01:00
Gabor Mezei d4585fde2c Fix pylint issue
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-12-05 09:58:20 +01:00
Gabor Mezei ef74a5c148 Update test generation to support TF-PSA-Crypto config.py
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-12-05 09:58:20 +01:00
Gabor Mezei 7a6b1b3617 Revert "Enable to specify multiple config file for config.py"
This reverts commit 721b7e14d39ab1ff0c3324302a8e66daec330f25.

Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-12-05 09:58:20 +01:00
Gabor Mezei 7cb68054bf Fix existence check of config files
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-12-05 09:58:20 +01:00
Gabor Mezei 7e4b36f2d7 Enable to specify multiple config file for config.py
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-12-05 09:58:14 +01:00
Ronald Cron 21837fc476 Merge pull request #9567 from minosgalanakis/config_split
PSA Crypto Configuration Split
2024-12-04 17:03:21 +00:00
Minos Galanakis 64d2238e4d Updated Framework Pointer
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2024-12-04 15:08:39 +00:00
Minos Galanakis 4ce27cb49b ssl-opt: CONFIGS_ENABLED list should always end with a space char.
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2024-12-04 15:08:39 +00:00
Minos Galanakis e2d0074d4f Added changelog for the configuration split.
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2024-12-04 15:08:39 +00:00
Minos Galanakis 848333de3a analyze_outcomes: Moved migrated to ts-psa-crypto tests cases.
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2024-12-04 15:08:39 +00:00
Ronald Cron a2c76945ca Merge pull request #85 from minosgalanakis/libtestdriver_companion_pr9567
all-core/helpers: Added support for libtestdriver post repo split
2024-12-04 15:27:54 +01:00
Ronald Cron 6a2cbe77fa Move driver wrappers generation to tf-psa-crypto
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-12-04 14:25:02 +01:00
Ronald Cron 1fe5277c88 Remove unnecessary error.h inclusions
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-12-04 14:25:02 +01:00
Ronald Cron 6924564970 Move back timing.c to mbedtls
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-12-04 14:25:02 +01:00
Ronald Cron 18047f0b01 Move config_adjust_legacy_crypto.h to tf-psa-crypto
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-12-04 14:25:02 +01:00
Ronald Cron 8b592d28f9 Move psa_to_ssl_errors
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-12-04 14:25:02 +01:00