Manuel Pégourié-Gonnard
b59bf585ac
Merge pull request #1247 from gilles-peskine-arm/ecdsa-conversion-overflow
...
Fix stack buffer overflow in ECDSA signature format conversions
2024-07-31 12:39:32 +02:00
Elena Uziunaite
6121a344dd
Replace MBEDTLS_SSL_HAVE_AES with PSA_WANT_KEY_TYPE_AES
...
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-07-30 18:42:19 +01:00
Paul Elliott
9ac64b83d7
Merge pull request #9351 from eleuzi01/replace-ecp-have-secp256r1
...
Replace MBEDTLS_ECP_HAVE_SECP256R1 with PSA_WANT_ECC_SECP_R1_256
2024-07-30 15:01:18 +00:00
Thomas Daubney
bda3e46846
Check for file at script startup
...
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
2024-07-30 15:52:58 +01:00
Gilles Peskine
cfe8c4c57d
Merge pull request #9431 from ronald-cron-arm/fix-basic-build-test
...
basic-build-test.sh: Restore make only command
2024-07-29 12:10:11 +00:00
Elena Uziunaite
87e0550890
Replace MBEDTLS_PSA_UTIL_HAVE_ECDSA with PSA_HAVE_ALG_SOME_ECDSA
...
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-07-29 12:15:22 +01:00
Elena Uziunaite
665eda7031
Introduce crypto_adjust_config_derived.h
...
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-07-29 12:15:22 +01:00
Thomas Daubney
b991ac2d90
Remove suprious whitespace
...
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
2024-07-29 12:10:27 +01:00
Thomas Daubney
5e9ffa9096
Redirect error message to stderr
...
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
2024-07-29 12:09:57 +01:00
Elena Uziunaite
417d05f7c5
Replace MBEDTLS_ECP_HAVE_SECP256R1 with PSA_WANT_ECC_SECP_R1_256
...
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-07-29 11:31:20 +01:00
Ronald Cron
fd79fe595c
basic-build-test.sh: Restore make only command
...
Fix local testing leftover when working on
PR 9394. This was causing basic-build-test.sh
to fail on the Open CI (not the internal one
though).
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-07-29 11:05:19 +02:00
Thomas Daubney
6a864dc5fe
Add check for existence of project name file
...
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
2024-07-26 17:31:46 +01:00
Gabor Mezei
91f1746f35
Remove sanity check for None
value
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-07-25 11:00:20 +02:00
Gabor Mezei
4706fe7f03
Update documentation and comments
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-07-25 11:00:08 +02:00
Gabor Mezei
3de658664b
Adjust temporarily the crypto config file location
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-07-25 11:00:08 +02:00
Gabor Mezei
33dd293723
Give better name for class
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-07-25 11:00:08 +02:00
Gabor Mezei
c5ff33cedf
Move config file modification checking to the Config
superclass
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-07-25 11:00:08 +02:00
Gabor Mezei
3e2a550f12
Pass ConfigFile
object as parameter for MultiConfig
constructor
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-07-25 11:00:07 +02:00
Gabor Mezei
8d72ac60b3
Fix error type
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-07-25 11:00:07 +02:00
Gabor Mezei
de6e192fd4
Add documentation
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-07-25 11:00:07 +02:00
Gabor Mezei
f77722d67f
Rename calss
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-07-25 11:00:07 +02:00
Gabor Mezei
9b0f9e77a0
Simplify set creation
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-07-25 11:00:07 +02:00
Gabor Mezei
e7742b360d
Unify the _format_parameter
function among the ConfigFile
subclasses
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-07-25 11:00:07 +02:00
Gabor Mezei
93a6d1f6ec
Make the name
parameter mandatory for the constructor of ConfigFile
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-07-25 11:00:07 +02:00
Gabor Mezei
8a64d8e346
Only write config files if it is modified
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-07-25 11:00:07 +02:00
Gabor Mezei
542fd38437
Update unsupported and deprecated psa fearues handling
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-07-25 11:00:06 +02:00
Gabor Mezei
d723b51bef
Fix for crypto config default value
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-07-25 11:00:06 +02:00
Gabor Mezei
ee521b6137
Restructure the configuration representation
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-07-25 11:00:06 +02:00
Gabor Mezei
92065ed28d
Fix pylint issues
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-07-25 11:00:06 +02:00
Gabor Mezei
62a9bd0f5d
Update and add documentation
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-07-25 11:00:06 +02:00
Gabor Mezei
3678deed9d
Add crypto config support for config.py
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
2024-07-25 11:00:00 +02:00
Ronald Cron
f938f4ff06
Merge pull request #9394 from ronald-cron-arm/move-crypto-test-suites
...
Move crypto test suites
2024-07-24 09:24:09 +00:00
Ronald Cron
b16b8c2c0c
Updated auto-generated psa_test_wrappers.
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-07-23 18:19:57 +02:00
Ronald Cron
636e9ef649
Update the framework submodule to the merge of PR38
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-07-23 18:18:58 +02:00
Manuel Pégourié-Gonnard
e5bcb6c9ed
Merge pull request #1254 from waleed-elmelegy-arm/merge-devel-to-resricted
...
Merge Public development into restricted
2024-07-23 09:59:47 +02:00
Ronald Cron
7262b47d79
all.sh: psasim: Start server in tf-psa-crypto/tests
...
Start a server in tf-psa-crypto/tests in addition to
tests to be able to run test suites from
tf-psa-crypto/tests.
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-07-22 12:29:23 +02:00
Ronald Cron
0b796a42e6
psasim: Rename kill_server.sh to kill_servers.sh
...
Rename kill_server.sh to kill_servers.sh as it
kills all started PSA servers.
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-07-22 12:29:23 +02:00
Ronald Cron
e0e26f7d8e
psasim: Move file clean-up to all.sh
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-07-22 12:29:23 +02:00
Ronald Cron
594ab41893
psasim: Fix IPCs removal
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-07-22 12:29:23 +02:00
Ronald Cron
3943467863
psasim: Fix doorbell file path
...
Do not apply twice TMP_FILE_BASE_PATH
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-07-22 12:29:23 +02:00
Ronald Cron
c04c2ed2eb
Revert "Adapt psasim"
...
This reverts commit b6f6cc89d08b01eddc1b1f20aa9e6ee56f566bc7.
The usage of files /tmp/ could result in race conditions if
several several are run on the same machine.
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-07-22 12:29:17 +02:00
Paul Elliott
c884b29b95
Add generated files for new iop key agreement funcs
...
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
2024-07-19 18:28:11 +01:00
Paul Elliott
088fd7ec85
Add psa_key_agreement_iop_abort() documentation
...
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
2024-07-19 18:27:53 +01:00
Paul Elliott
b06727e463
Add psa_key_agreement_iop_complete() documentation
...
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
2024-07-19 18:25:24 +01:00
Paul Elliott
2dc58fe717
Add psa_key_agreement_iop_setup() documentation
...
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
2024-07-19 18:22:23 +01:00
Paul Elliott
d791062fee
Add psa_key_agreement_iop_get_num_ops() docs
...
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
2024-07-19 18:17:20 +01:00
Paul Elliott
03d62b1958
Add psa_key_agreement_iop_t structs and docs
...
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
2024-07-19 17:29:57 +01:00
Ronald Cron
3f8275e93a
Scripts improvements
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-07-19 16:51:33 +02:00
Ronald Cron
b6f6cc89d0
Adapt psasim
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-07-19 10:07:27 +02:00
Ronald Cron
c29dd98908
Adapt check-generated-files.sh
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-07-19 10:07:27 +02:00