Oren Cohen
49aae7b43e
Update secure binaries
2019-02-22 02:04:00 +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
Michael Schwarcz
60c6740c88
Build SPM tests only for MBED_SPM targets
2019-02-19 15:19:05 +02:00
Cruz Monrreal
da5719113c
Merge pull request #9701 from kfnta/entorpy_inject_test_refactor
...
Refactor psa entropy inject test
2019-02-13 17:28:53 -06:00
Oren Cohen
45c44eb07c
Fix dependencies of platform partition
2019-02-13 17:10:12 +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
3f92beb08b
Update FUTURE_SEQUANA_PSA secure binaries
2019-01-31 19:31:53 +02:00
Oren Cohen
ea9f104463
Fix Licenses
2019-01-31 17:17:58 +02:00
Oren Cohen
f5e4f69c02
Update FUTURE_SEQUANA_PSA secure_binaries
2019-01-31 17:17:56 +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
035e8e0b77
Merge pull request #8964 from kfnta/parser_empty_tests
...
Correct behavior of PSA code generator
2018-12-06 21:25:42 -06: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
935f2bdfbc
Correct behavior of PSA code generator
...
* Don't generate files if a test does not contain additional partitions
2018-12-06 18:17:09 +02:00
Oren Cohen
cb58b34581
Prebuilt images
2018-12-06 11:33:35 +02:00
Oren Cohen
86c7a59b36
Basic test can run on single v7's
2018-12-05 15:37:52 +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
Netanel Gonen
5f36447eb6
do not run crypto init SPM test if not SPM target
2018-11-27 15:29:14 +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
Alexander Zilberkant
abf1ccc722
Disable crypto_init tests when Mbed Crypto is OFF
2018-11-27 11:57:00 +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
59c3c9fff7
crypto init with multiple client guard & tests
2018-11-27 11:56:48 +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
72037747b1
Update auto generated SPM files
2018-11-27 11:56:35 +02:00
Mohammad AboMokh
1325084b1a
Add tests to PSA entropy injection
2018-11-27 11:56:33 +02:00
Oren Cohen
f4581faab0
Create a new partition for the crypto service
...
The following files initially were taken
from https://github.com/ARMmbed/psa-crypto-spm/releases/tag/spm-crypto-5.11
* crypto_platform_spe.h
* crypto_struct.h
* crypto_struct_ipc.h
* psa_crypto_spm.c
* crypto_spe.h
* crypto_partition_psa.json
The rest of the files were autimatically generated
by tools/spm/generate_psa_partition.py
2018-11-27 11:56:29 +02:00
Oren Cohen
aea9713c89
Doxygen fixes in tests
2018-11-27 09:16:47 +02:00
Oren Cohen
773ac8dd95
CR fixes
2018-11-27 09:16:45 +02:00
Alexander Zilberkant
2b9f94a0ad
Remove dead code
2018-11-27 09:16:45 +02:00
Oren Cohen
6cd4f7789f
Add Version to SPM templates and generator
2018-11-27 09:16:43 +02:00
Alexander Zilberkant
9cc017fd48
Normalize license headers
...
- add SPDX license identifier
- add missing license headers
- update year in license headers
2018-11-27 09:16:40 +02:00
Alexander Zilberkant
aea01a86f6
astyle changes
2018-11-27 09:16:38 +02:00
Oren Cohen
dd73fa689c
PSA SPM
...
* Intorduce PSA-SPM to mbed-os
* Add SPM tests (for PSA targets)
* Add PSA PRoT internal storage Secure implementation
* Integrate SPM into the boot proccess
* PSA manifest data generator
* Introduce PSA targets skeleton to mbed-os
* Add artifact delivery to the tools
2018-11-27 09:16:35 +02:00
Michael Schwarcz
aa7e1ce0e5
Fix its tests in non-psa targets
2018-11-25 09:57:23 +02:00
Alexander Zilberkant
9b13e240c3
Add SPDX license identifier
2018-11-25 09:57:23 +02:00
Alexander Zilberkant
9fa1f5a3d5
astyle changes
2018-11-25 09:57:22 +02:00
Danny Shavit
53728e45b7
Add a new PSA Internal Trusted Storage APIs
2018-11-25 09:57:22 +02:00