Commit Graph

101 Commits (976ba7d4dab32aedafc42ca3a2b01b49029e9f40)

Author SHA1 Message Date
Alexander Zilberkant 117e3e82b6 Update PSA includes to autogenerated files 2019-04-30 14:41:09 +03:00
Alexander Zilberkant ab01bea46d Delete autogenerated files 2019-04-30 14:10:23 +03:00
Oren Cohen f51eb6215a Fix warnings on PSA secure builds 2019-04-17 10:37:51 +03:00
itayzafrir 75e4210633 Fix typos 2019-03-26 15:27:22 +02:00
itayzafrir 2dfafe6299 Crypto acl tests destroy keys 2019-03-19 17:57:24 +02:00
itayzafrir f1722cb8dc Add crypto acl test - key agreement 2019-03-19 17:47:48 +02:00
itayzafrir c8eb51d576 Add crypto acl test - key derivation 2019-03-19 13:35:24 +02:00
Oren Cohen fc97a75632 Remove #ifndef NO_GREENTEA from tests 2019-03-14 11:16:44 +02:00
Netanel Gonen f7a2d4a082 move init of test into greentea init function 2019-03-13 10:43:00 +02:00
Alexander Zilberkant 661613c998 Rename psa_system_reset to mbed_psa_system_reset
add noreturn attributes
update lifecycle service to use psa/error.h
fix doxygen
2019-03-11 10:43:19 +02:00
Oren Cohen 5677b386af Reset ITS before the test start 2019-03-10 10:53:38 +02:00
Michael Schwarcz 0b4f16f456 Disable SPM tests with TF-M issues for TF-M targets 2019-03-06 16:42:51 +02:00
Martin Kojtal fa65546aa2
Merge pull request #9913 from kfnta/fix_acl_test
Fix bug in crypto_acl test
2019-03-03 19:30:43 +01:00
Oren Cohen 4fe5a41734 Fix bug in crypto_acl test 2019-03-03 14:41:27 +02:00
Oren Cohen cfb60ec955 Fixes
* Add #include <stddef.h> to psa/client.h
* Add Attestation service to TFM
* Update FUTURE_SEQUANA_PSA secure binaries
* Remove MBED_SPM from K64F
* Refactor psa_manifest/sid.h
* Increase stackl size in spm-client tests
* Add handling of errors from psa_get in partitions
2019-03-03 13:30:58 +02:00
Michael Schwarcz b62c48977f Review fixes 2019-03-03 10:55:46 +02:00
Michael Schwarcz 20d7f817df Fix astyle 2019-03-03 10:55:46 +02:00
Michael Schwarcz ef76ec83ee Generate psa_manifest/sid.h 2019-03-03 10:55:46 +02:00
Oren Cohen a1bd657594 Test partition modification 2019-03-03 10:55:44 +02:00
Oren Cohen bd9a738473 Move SPM_PANIC to psa/service.h 2019-03-03 10:55:44 +02:00
Oren Cohen 306a51f6c0 Update psa_get() to return psa_status_t 2019-03-03 10:55:44 +02:00
Michael Schwarcz f9fbd6ae82 Align PSA SPM tests to TF-M 2019-03-03 10:55:42 +02:00
Oren Cohen 483b23c318 Fix SPM warnings 2019-03-03 10:54:55 +02:00
Oren Cohen 68d91fb277 Remove osDelay from smoke test 2019-03-03 10:54:55 +02:00
Oren Cohen 5e4649bae8 Remove obsolete test 2019-03-03 10:54:54 +02:00
Oren Cohen dfbc7b6b7a Adapt partitons 2019-03-03 10:54:54 +02:00
Oren Cohen aad114aa55 Genrerate SPM data 2019-03-03 10:54:54 +02:00
Michael Schwarcz 3c0c5759bf Regenerate mbed-spm files 2019-03-01 09:40:45 +02:00
Cruz Monrreal befed111f5
Merge pull request #9668 from moranpeker/psa-init-attestation
PSA Initial Attestation service
2019-02-28 18:25:16 -06:00
itayzafrir b8bdaf9e9f Fix acl test asymmetric encrypt decrypt 2019-02-28 10:29:53 +02:00
itayzafrir 31d202b3f6 Change error code handling of calls to psa_call 2019-02-28 10:29:52 +02:00
itayzafrir 2918f74883 Free dynamic memory in test partition 2019-02-27 16:28:36 +02:00
itayzafrir 2227e33e5a Add acl test - use other partitions' key - asymmetric encrypt decrypt 2019-02-27 16:28:36 +02:00
itayzafrir 5a7ed318ae Add acl test - use other partitions' key - asymmetric sign verify 2019-02-27 16:28:36 +02:00
itayzafrir db90606a34 Add acl test - use other partitions' key - aead 2019-02-27 16:28:36 +02:00
itayzafrir b8079c3d09 Add acl test - use other partitions' key - cipher 2019-02-27 16:28:36 +02:00
itayzafrir d1e61a0df4 Add acl test - use other partitions' key - mac 2019-02-27 16:28:35 +02:00
itayzafrir 200930d752 Refactor test partition helper function to create and generate a key 2019-02-27 16:28:35 +02:00
itayzafrir 2c1f0b37f2 Add acl test - use other partitions' key - manage key 2019-02-27 16:28:35 +02:00
itayzafrir 8c21f10696 Add acl test - create key same id different partitions 2019-02-27 16:28:35 +02:00
itayzafrir 9adda5b88e Add acl test - open other partitions' key 2019-02-27 16:28:35 +02:00
itayzafrir 2146e74c84 Prepare for crypto access control tests
- Add a secure side test partition
- Add a proxy to communicate with the test partition
- Add main test file
2019-02-27 16:28:35 +02:00
Moran Peker e819b23638 Fix attestation main to check PSA target before includes 2019-02-27 14:14:33 +02:00
Moran Peker 41bd381462 General fixes of spelling, newline, un needed code
-Correct spelling errors
-Add newline at end of file
-Remove un needed code
2019-02-27 14:14:27 +02:00
Moran Peker e12f5eeaa7 Add ifdef TARGET_PSA and MBEDTLS_PSA_CRYPTO_C to test file
if not supported return error
2019-02-27 14:14:23 +02:00
Moran Peker 2117a26cb1 Get security lifecycle by psa_security_lifecycle_state function
-Add bug fix for psa_security_lifecycle_state function - PR #9745
-Remove lifecycle data from temp boot status data
-Update attesttation_partition_json file to use
PSA_PLATFORM_LC_GET and generate partition
code - auto generated files update
2019-02-27 14:14:17 +02:00
Moran Peker 4101ee92df Add checks ,initialization,remove unneeded code and files license update 2019-02-27 14:14:14 +02:00
Moran Peker 636753b404 Attestation: Add a new define for attestation private key id 2019-02-27 14:14:13 +02:00
Moran Peker 8fc9c8fdab Attestation: astyle fixs
Runing astyle over attestation file to pass CI
2019-02-27 14:14:11 +02:00
Moran Peker a994499bf3 Atteststaion: Update header files
-Remove psa_initial_attesttaion.h
-Move psa_initial_attesttaion_api.h and psa_attest_inject_key.h into
inc folder
-Update include in test file
2019-02-27 14:14:11 +02:00