itayzafrir
e53e8b9f94
Remove uneeded TODO comment from the code
2019-04-05 12:26:22 +01:00
itayzafrir
f45801a611
Unify code style
...
- Use designated initializers for IPC structs
- Unify variables declaration and initialization
2019-04-05 12:26:22 +01:00
itayzafrir
e2eea51eaa
Unify sections titles/comments & fix typo in comment
2019-04-05 12:26:22 +01:00
itayzafrir
0bd2275c04
Set handle to PSA_NULL_HANDLE when closing IPC connection
2019-04-05 12:26:22 +01:00
itayzafrir
8bc0c45d00
Use PSA_NULL_HANDLE when testing for invalid handles
2019-04-05 12:26:21 +01:00
itayzafrir
f8cdd41415
Use psa prefix for crypto.h include
2019-04-05 12:26:21 +01:00
itayzafrir
9a5839ab8f
Refactor crypto service proxy
2019-04-05 12:26:21 +01:00
Alexander Zilberkant
64530095b9
Rename psa_system_reset to mbed_psa_system_reset
...
add noreturn attributes
update lifecycle service to use psa/error.h
fix doxygen
2019-03-12 10:06:40 -05:00
Oren Cohen
2c49ae1cf1
Fix error codes for psa_attestation_inject_key
2019-03-12 10:06:40 -05:00
Ryan Morse
cf4e4364a6
Fixed issue with wrong floating point literal
2019-03-12 10:06:33 -05:00
Nir Sonnenschein
339d481c07
Define psa_storage_info_t for backward compatibility
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
Martin Kojtal
bb61ea1433
Merge pull request #9917 from kfnta/attest_doxy
...
Add attestation doxygen
2019-03-06 09:14:26 +01:00
Oren Cohen
064dc7d154
Attestation doxygen
2019-03-03 18:46:20 +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
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
Michael Schwarcz
faf5fcf795
Fix typo
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
Cruz Monrreal
befed111f5
Merge pull request #9668 from moranpeker/psa-init-attestation
...
PSA Initial Attestation service
2019-02-28 18:25:16 -06:00
Moran Peker
83d084afef
add casting to increased void pointer
2019-02-28 20:30:05 +02:00
Moran Peker
116e14ade6
change license to file that mostly based on TF-M implementation
...
from Apache-2.0 to BSD-3-Clause
2019-02-28 16:00:53 +02:00
Moran Peker
2b8621aa6c
initialized psa_hash_operation_t to zeros before calling hash_setup
...
-initialized psa_hash_operation_t to zeros
-fix TF-M attestation code - increase t_cose_crypto_hash bytes to
handle max psa_hash_operation_t size
2019-02-28 15:54:45 +02:00
Moran Peker
6346442f03
Add SW_SIGNER_ID data to boot status
2019-02-28 15:52:16 +02:00
Moran Peker
bca8091e52
astyle fix
2019-02-28 14:13:24 +02:00
itayzafrir
362c307d84
Free dynamic memory in crypto proxy
2019-02-28 11:36:31 +02:00
Moran Peker
49c6a1caaf
fix void pointer increasing with bytes
2019-02-28 11:17:31 +02:00
avolinski
e4c7144355
Prevent compiler warning, converting psa_key_policy_t to const in call to psa_set_key_policy
2019-02-27 18:57:58 +02:00
Moran Peker
b847138819
astyle fix
2019-02-27 16:33:06 +02:00
Martin Kojtal
7656891179
Merge pull request #9638 from itayzafrir/crypto-access-control
...
Crypto Service - keys access control
2019-02-27 14:47:49 +01:00
Moran Peker
97a9652f3f
Use less stack
2019-02-27 15:34:22 +02:00
Moran Peker
4a2b06ed0d
Remove includes from mbedtls
2019-02-27 15:04:28 +02:00
Moran Peker
6e3d238ffd
Styling
2019-02-27 15:03:45 +02:00
Moran Peker
47f59b16cb
Correct psa-crypto include
2019-02-27 15:02:47 +02:00
Moran Peker
89ac1075df
Documented any non apache files
2019-02-27 14:14:45 +02:00
Moran Peker
7dd58b99cc
Add free to allocated buffer while error
2019-02-27 14:14:33 +02:00
Moran Peker
a268b81a57
Remove extra buffers used
...
outputting straight into the final destination
2019-02-27 14:14:32 +02:00
Moran Peker
25fa5a6138
Remove TEMP_IMPL_ID_DATA and TEMP_IMPL_ID_DATA_SIZE
...
remove from public header into attestation_bootloader_data.c and add
const to impl_id_data
2019-02-27 14:14:31 +02:00
Moran Peker
c97cecc273
Update TFM attestation code to latest version
...
The latest and greatest version is:
c43181daf54f69f53de58593a50dd6a9c233eecd
- Add new header file and implement tfm_memcpy (used in
attetstaion_core c file)
2019-02-27 14:14:30 +02:00
Moran Peker
2810d369f9
Remove incorrect free place
2019-02-27 14:14:29 +02:00
Moran Peker
661e2f92aa
Remove header files from inc into services/attestation folder
2019-02-27 14:14:29 +02:00