Michael Schwarcz
17312d428f
TF-M config: Add max_ns_thread_count parameter
2019-03-12 10:06:30 -05:00
Nir Sonnenschein
1d56ad44a6
use common flag to allow test 3 for PS and ITS
...
add a compilation flag to allow tests which fill up the entire device storage.
storage test 003 (for both PS and its) is unsuitable for the regular CI because:
1. it takes a long time causing timeouts
2. it places a very high attrition load on the storage of the CI boards
and this can cause them to fail much sooner.
2019-03-12 10:06:30 -05:00
Nir Sonnenschein
dc50ccb5bc
Fix for resource leak in crypto compliance test 43
...
Destroy key after import key in a loop
2019-03-12 10:06:30 -05:00
Nir Sonnenschein
339d481c07
Define psa_storage_info_t for backward compatibility
2019-03-12 10:06:30 -05:00
Netanel Gonen
932c09745e
rework for mbed-os intf for ACK tests
...
-rework test wrapper functions to simplify test main
-move greentea init before test setup code to avoid boards losing sync.
2019-03-12 10:06:30 -05:00
Nir Sonnenschein
1333f31a40
Allow PS test03 with PS_ALLOW_ENTIRE_STORAGE_FILL flag
2019-03-12 10:06:30 -05:00
Nir Sonnenschein
4a474cefcf
add main functions to each compliance test
...
add main function to each compliance test , moving shared code to a common file
2019-03-12 10:06:30 -05:00
Nir Sonnenschein
9621a04c7d
Delete unneeded .mk files after test import
...
delete unneeded .mk files imported as part of the PSA compliance test suite
2019-03-12 10:06:30 -05:00
Nir Sonnenschein
678ac50f67
Updated to cb58d2c
2019-03-12 10:06:30 -05:00
Oren Cohen
d2bf036fb9
Remove unused type which was conflicting wiith errno.h
2019-03-12 10:06:30 -05:00
Nir Sonnenschein
0cc6d1a448
indentation fix
2019-03-12 10:06:29 -05:00
Nir Sonnenschein
a79d9d1be7
fix resource leaks
2019-03-12 10:06:29 -05:00
Alon
7cb3205475
Fix crypto service get key info out params
2019-03-12 10:06:29 -05:00
Moran Peker
ee08d13395
Attestation doxygen
2019-03-12 10:06:29 -05:00
Michael Schwarcz
46e0dccb41
TF-M: Increase TFM_SPM_MAX_ROT_SERV_NUM from 30 to 32
2019-03-12 10:06:29 -05:00
Martin Kojtal
bb61ea1433
Merge pull request #9917 from kfnta/attest_doxy
...
Add attestation doxygen
2019-03-06 09:14:26 +01:00
Martin Kojtal
5c24ffefa4
Merge pull request #9915 from kfnta/tfm_import_new
...
Update TF-M sources
2019-03-04 10:53:12 +01:00
Oren Cohen
064dc7d154
Attestation doxygen
2019-03-03 18:46:20 +02:00
Michael Schwarcz
7a2c7d7df4
TF-M patch: Fix tfm_memory_check issue (TF-M issue #224 )
...
- Add Secure/non-secure code and secure heap to memory check
- Link to bug tracking: https://developer.trustedfirmware.org/T224
2019-03-03 16:47:53 +02:00
Michael Schwarcz
749faa6534
TF-M patch: Fix wrong check in tfm_spm_check_client_version (TF-M issue #236 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T236
(cherry picked from commit 008bf1b2d1
)
2019-03-03 16:47:47 +02:00
Michael Schwarcz
8a087a6504
TF-M patch: Fix tfm_psa_call_venner wrong argument type (TF-M issue #241 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T241
(cherry picked from commit da01e3411f
)
2019-03-03 16:47:41 +02:00
Michael Schwarcz
ea8bff57b1
TF-M patch: Fix fixed-size partitions stack size (TF-M issue #240 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T240
(cherry picked from commit fc78640559
)
2019-03-03 16:47:34 +02:00
Michael Schwarcz
03dbd4bb28
TF-M patch: Fix service handles not cleared issue (TF-M issue #230 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T230
(cherry picked from commit 0c23e86989
)
2019-03-03 16:47:28 +02:00
Michael Schwarcz
87f22efcb5
TF-M patch: Fix tfm_ns_lock_init issue (TF-M issue #239 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T239
(cherry picked from commit 5f2e4b3911
)
2019-03-03 16:47:22 +02:00
Michael Schwarcz
71cd34df32
TF-M patch: General modifications
...
- Remove un-needed files
- Disable printf and uart
- Modify include paths
- Guard macros from mbed_lib with ifndef
(cherry picked from commit 1f30b52488
)
2019-03-03 16:47:17 +02:00
Michael Schwarcz
823e5a2a7f
[trusted-firmware-m]: Updated to f876e5c
2019-03-03 16:47:11 +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
8fefa25a84
TF-M: Remove not-used platform headers
2019-03-03 10:55:47 +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
98efb44ea8
Remove another psa_identity
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
798e3c393a
Call tfm_panic for SPM_PANIC
2019-03-03 10:55:45 +02:00
Michael Schwarcz
faf5fcf795
Fix typo
2019-03-03 10:55:45 +02:00
Oren Cohen
0e74e09e56
Set default PSA client header for single v7 targets
2019-03-03 10:55:45 +02:00
Oren Cohen
737a3cc350
Advance to PSA-FF 1.0
2019-03-03 10:55:45 +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
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
Oren Cohen
21d09b4156
Unify flags
2019-03-03 10:54:53 +02:00
Oren Cohen
a65baf55c6
Update psa_wait() and client_id
2019-03-03 10:54:53 +02:00
Kevin Bracey
c368021e37
SPIFBlockDevice.h: include SingletonPtr.h
...
SPIFBlockDevice was using SingletonPtr without an include,
and only getting it via SPI.h.
Spotted while changing SPI to not use SingletonPtr - now
abandoned, but still this shouldn't have been relying on it.
2019-03-01 14:33:33 +02:00
Cruz Monrreal
9d9a076f10
Merge pull request #9885 from VeijoPesonen/esp8266_conn_timeout_err2trace
...
ESP8266: graceful disconnect on network state timeout
2019-02-28 19:56:11 -06: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
b84439552a
Merge pull request #9883 from itayzafrir/crypto-service-proxy-mem-fix
...
Free dynamic memory in Crypto Service proxy (PSA targets)
2019-02-28 18:23:17 -06:00
Cruz Monrreal
b5878b164d
Merge pull request #9871 from VeijoPesonen/bugfix-esp8266-recv_busy
...
ESP8266: receive is able to handle device busy indication
2019-02-28 18:22:54 -06:00
Moran Peker
83d084afef
add casting to increased void pointer
2019-02-28 20:30:05 +02:00