Ronald Cron
d98477d5a6
tf-psa-crypto: config.py: Adjust EXCLUDE_FROM_FULL
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-12-11 22:32:45 +01:00
Ronald Cron
524f75bdde
Remove library as header path
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-12-11 22:32:45 +01:00
Gilles Peskine
e7e704ac83
p256-m: allow deterministic ECDSA verification
...
For ECDSA verification, there is no difference between the deterministic and
randomized algorithm. The PSA core consider the two variants as identical as
far as key policies are concerned, and the built-in implementation accepts
either variant even if only the other variant is supported for signature.
In p256-m, accept to perform an ECDSA verification when the algorithm is
specified as deterministic ECDSA. This makes the behavior identical to the
built-in implementation, which is less surprising for users and saves us
from having to cope with a difference in our testing.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2024-12-09 18:31:59 +01: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
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
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
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
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
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
Gabor Mezei
4e657bbc1c
Add python module serach path library for TF PSA Crypto
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-12-04 14:25:02 +01:00
Harry Ramsey
fb4824b496
Fix incorrect paths to generate_psa_constants.py
...
This commit fixes incorrect paths to generate_psa_constants.py after
being moves to tf-psa-crypto.
Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
2024-11-20 16:20:52 +00:00
Harry Ramsey
e1d6f74b92
Move generate_psa_constants.py to tf-psa-crypto
...
This commit moves generate_psa_constants.py to tf-psa-crypto and updates
the paths inside the script necessary for that move.
Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
2024-11-20 16:20:52 +00:00
Ronald Cron
932878137a
Use scripts/project_name.txt in Python scripts
...
Use scripts/project_name.txt in Python scripts
to detect between Mbed TLS and TF-PSA-Crypto
project.
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-09-10 10:43:02 +02:00