Michael Schwarcz
0b4f16f456
Disable SPM tests with TF-M issues for TF-M targets
2019-03-06 16:42:51 +02:00
Martin Kojtal
355f09bbac
Merge pull request #9875 from tymoteuszblochmobica/testfix
...
Apply proper network interface verification.
Only run for platforms which have two interfaces and prevent crashes otherwise.
2019-03-04 15:24:41 +01:00
Martin Kojtal
e75794ec6e
Merge pull request #9888 from ARMmbed/feature-armc6
...
ARM Toolchain update to ARM Compiler 6.11(ARMC6)
2019-03-04 12:23:38 +01:00
Tymoteusz Bloch
f420a5551d
Fix multihoming tests for case of no ethernet device
2019-03-04 11:25:56 +01:00
Martin Kojtal
9f6156abb3
Merge pull request #9916 from kfnta/skip_spm_hal_m33
...
Skip test on Cortex M33 devices
2019-03-04 10:51:14 +01:00
Oren Cohen
577d286639
Skip test on Cortex M33 devices
...
On platforms using coretx m33 accessing the secure memory will cause SecureFault instead of Hardfault.
SecureFault is implemented in the secure image and cannot be changed in runtime.
2019-03-03 18:43:04 +00: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
3edcf455a6
mbed-crypto sanity tests enable run without greentea
2019-03-03 10:55:43 +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
kegilbert
194fa129fb
Update recently added previous macro name uses in tests
2019-03-01 13:53:47 -06: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
Cruz Monrreal
e393c2dc0b
Merge pull request #9785 from c1728p9/default_to_us_ticker
...
Use us ticker for tickless on devs with wrapper
2019-02-28 18:25:01 -06:00
Cruz Monrreal
e6caa122cb
Merge pull request #9812 from kjbracey-arm/wait_ns
...
Add wait_ns API
2019-02-28 18:21:46 -06:00
Senthil Ramakrishnan
15cb4a4fee
Fix compiler flags for ARMC6 in sys stats test
2019-02-28 12:03:15 -06:00
Russ Butler
8d880bb63e
Skip deep sleep test when running from US ticker
...
Skip the systimer deep sleep test when running from the microsecond
ticker, since the microsecond ticker doesn't support operation in deep
sleep mode.
2019-02-28 10:57:00 -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