Commit Graph

32582 Commits

Author SHA1 Message Date
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
Janos Follath
af8b3b5dfa
Merge pull request #9820 from waleed-elmelegy-arm/add-iop-export-pub-key-get-num-ops
Add PSA interruptible export public-key get num ops API
2024-12-19 15:58:00 +00:00
Paul Elliott
dfa0107a71
Merge pull request #9735 from paul-elliott-arm/add_iop_key_agrmnt_tests
Add interruptible key agreement negative tests
2024-12-19 15:37:51 +00:00
Waleed Elmelegy
e809ef4623 Update TF-PSA-Crypto submodule to add iop export public-key get_num_ops()
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-12-19 11:17:42 +00:00
Paul Elliott
b08dc92aaa Update tf-psa-crypto for exercise key tests
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
2024-12-19 10:59:03 +00:00
Paul Elliott
a05b8e2c9a Update framework for negative tests
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
2024-12-19 10:58:46 +00: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
Ronald Cron
3016d84408
Merge pull request #9836 from eleuzi01/issue-70-fw
Move scripts/code_style.py to the framework
2024-12-18 17:21:34 +00:00
Elena Uziunaite
fdb2047b36 Update submodule with the merge
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-18 16:30:52 +02:00
Elena Uziunaite
eed30fc5f3 Update submodule
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-18 12:17:46 +02:00
Elena Uziunaite
e0d3ffe8af Adjust paths
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-18 12:16:35 +02:00
Elena Uziunaite
f0c2a09f9e Move files out of Mbed TLS
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-18 12:16:35 +02:00
minosgalanakis
926b118aa4
Merge pull request #9847 from minosgalanakis/align_mbedtls_config_with_design
Align mbedtls_config.h with design
2024-12-18 09:01:52 +00:00
Minos Galanakis
fd6a810011 config_split.md: Removed reference to MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED.
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2024-12-16 15:00:26 +00:00
Ronald Cron
08909c94b9
Merge pull request #9852 from ronald-cron-arm/tf-psa-crypto-as-submodule
Move from tf-psa-crypto directory to tf-psa-crypto submodule
2024-12-16 13:59:58 +00:00
Ronald Cron
8064c023ca Add change log
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-12-16 12:29:06 +01:00
Ronald Cron
449141887b Include all submodules for readthedocs
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-12-16 10:48:03 +01:00
Ronald Cron
f25121c086 make_generated_files.bat: 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
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
674bd8fe43 Add tf-psa-crypto module
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-12-16 10:47:54 +01:00
Ronald Cron
08d8cc57db Remove tf-psa-crypto directory
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-12-16 10:39:44 +01:00
Minos Galanakis
9d51a54ba2 Updates generate_features.pl for new sections.
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2024-12-16 08:53:48 +00:00
Minos Galanakis
1bf85a8634 mbedtls_config: Cleaned up legacy sections.
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2024-12-16 08:53:48 +00:00
Minos Galanakis
80e76b66af Moved options to new sections.
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2024-12-16 08:53:47 +00:00
Minos Galanakis
acd560f887 mbedtls_config: Added new section placeholders.
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2024-12-16 08:53:47 +00:00
Paul Elliott
8ef932312f
Merge pull request #9809 from solardiz/development
Specify previously missed register clobbers in AES-NI asm blocks
2024-12-13 15:26:27 +00:00
Ronald Cron
a41d52a3f5
Merge pull request #9831 from ronald-cron-arm/finalize-split-preparation-3
Finalize split preparation-3
2024-12-12 14:31:53 +00:00
Ronald Cron
fd71abe8dc cmake: tf-psa-crypto: Add seedfile for testing
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-12-12 08:44:56 +01:00
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
14ace270ca tf-psa-crypto: Add cmake_package_install test program
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
Ronald Cron
45eec2295c Remove include as header path
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-12-11 22:32:45 +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
e11ae17c60 Split check_config.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
3955d8bdb4 tf-psa-crypto: cmake: Use TF-PSA-Crypto config.py
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-12-11 22:32:45 +01:00
Paul Elliott
99ed26e0f7
Merge pull request #9808 from waleed-elmelegy-arm/add-iop-export-pub-key-complete
Add PSA interruptible export public-key complete API
2024-12-11 17:47:54 +00: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
Ronald Cron
2d40a24a64 Update framework to the merge of #99
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-12-11 12:08:23 +01:00
Solar Designer
6b2ca180a8 Add change log entry on AES-NI asm block fixes
Co-authored-by: Gilles Peskine <gilles.peskine@arm.com>
Signed-off-by: Solar Designer <solar@openwall.com>
2024-12-11 02:47:20 +01:00
Solar Designer
4393dff8ca Specify previously missed XMM register clobbers in AES-NI asm blocks
Noticed by Gilles Peskine

Co-authored-by: Gilles Peskine <gilles.peskine@arm.com>
Signed-off-by: Solar Designer <solar@openwall.com>
2024-12-11 02:44:16 +01: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
8a09a411fc make: Add missing dependency
Add missing dependency of visualc
file generation on programs and
tests generated files.

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-12-10 17:00:48 +01:00
Ronald Cron
a747fa6127 make: Fix psa_constant_names_generated.c generation
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-12-10 16:59:52 +01: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