Commit Graph

24 Commits (496308e4aa7b94db030a7c47e184961a5f7afe6e)

Author SHA1 Message Date
Oren Cohen fc97a75632 Remove #ifndef NO_GREENTEA from tests 2019-03-14 11:16:44 +02:00
David Saada 41eb5cbfd9 Implement PSA protected storage & restructure PSA storage implementation
- Move all PSA storage code under psa/storage directory
- Create a global PSA error codes header, eliminating ITS specific ones
- Create a common header file for PSA storage type definitions,
  eliminating ITS specific ones
- Create a common implementation for PS & ITS
- Implement protected storage feature
- Change ITS test to be common to PS as well
2019-02-21 20:58:59 +02:00
Oren Cohen eb48d3cbeb Clear ITS environment in psa entropy tests
mbed_psa_reboot_and_request_new_security_state() API replaced its_reset() which is now a secure API only

This change is necessary for a clean environment for the test
2019-02-13 14:21:17 +02:00
Oren Cohen 6bb0894c47 Refactor psa entropy inject test
Replace TEST_ASSERT with more specific assertions
2019-02-13 14:20:55 +02:00
Oren Cohen 47365d4620 Update ITS test 2019-01-31 17:17:56 +02:00
Alexander Zilberkant 3d3ee3834d Update tests to use new APIs 2019-01-31 17:17:56 +02:00
Oren Cohen 51b76350d9 Remove ITS Reset partitions from tests 2019-01-31 17:17:55 +02:00
Oren Cohen 0de098e149 Add FUTURE_SEQUANA prebuilt binaries 2019-01-31 17:17:55 +02:00
Oren Cohen 156d3b785b Replace psa_prot_internal_storage.h with psa/internal_trusted_storage.h 2019-01-31 17:17:54 +02:00
Oren Cohen d2025b7150 Tests 2019-01-31 17:17:54 +02:00
Oren Cohen 34895a05ad CR fixes 2019-01-31 17:17:54 +02:00
Oren Cohen 8841ba69f8 Align to new spec changes and prep for TFM SPM
# Conflicts:
#	components/TARGET_PSA/services/crypto/COMPONENT_PSA_SRV_IPC/psa_crypto_spm.c
#	components/TARGET_PSA/services/crypto/COMPONENT_SPE/psa_crypto_partition.c
2019-01-31 17:17:53 +02:00
Alexander Zilberkant 435d944dd0 fix its_reset test 2019-01-13 18:30:22 +02:00
Cruz Monrreal 78d6018ecc
Merge pull request #8745 from kfnta/feature-new-target-future-sequana-psa
Add new target future sequana PSA
2018-12-06 13:13:36 -06:00
Oren Cohen cb58b34581 Prebuilt images 2018-12-06 11:33:35 +02:00
Alex Volinski d614fd8955 The inject test can run also on single core CPU's such as K64F 2018-12-04 17:07:28 +02:00
Oren Cohen c3bd6f12d2 Fix PSA crypto partiotion and tests
* Styling
* Correct error codes on failing connection
* Add panics where needed
* correct skip defines
* Fix psa_spm_init_refence_counter bug
2018-12-04 17:07:28 +02:00
Oren Cohen 01301387f8 Run SPM code generator 2018-11-28 14:40:01 +02:00
Oren Cohen 45bd4f305a Add SPM code generation test to Travis-CI 2018-11-28 14:38:44 +02:00
Alexander Zilberkant daeb19d167 Fix entropy_inject test compilation
Include to crypto.h file will fail on targets without TARGET_PSA support
Moving prerequisites check before include.
2018-11-27 11:57:01 +02:00
mohammad1603 88f4f48fac Astyle fixes for the source
Used running: astyle -n --options=.astylerc
2018-11-27 11:56:57 +02:00
Netanel Gonen 73cb013ac6 skip inject entropy test if they not supported 2018-11-27 11:56:43 +02:00
Mohammad AboMokh 73ebe1a247 Fix inject entropy tests
* Call greentea_case_teardown_handler() and greentea_case_setup_handler() instead of return STATUS_CONTINUE
* Introduce and use new macro MBEDTLS_PSA_INJECT_ENTROPY_MIN_SIZE
2018-11-27 11:56:37 +02:00
Mohammad AboMokh 1325084b1a Add tests to PSA entropy injection 2018-11-27 11:56:33 +02:00