Commit Graph

32 Commits (d5295dbde2727c9b51f9a10c8d388750e3aa20a6)

Author SHA1 Message Date
Oren Cohen 91ea832957 Bugfix: send the correct parameter to _get_target_info() 2019-03-12 10:06:41 -05:00
Oren Cohen 4972263933 Minor changes fixing the script from getting stuck
* git diff of bin/hex files could be huge print and make
* calling python unbuffered with stdout=subprocess.PIPE could be problematic
2019-03-12 10:06:40 -05:00
Oren Cohen 12d63be6c3 Enhancements
* Replace call with check_call to throw exception on failure
* Check if binaries actually been changes before calling git commit
* Docstrings for all functions
* Small refactor
2019-03-12 10:06:40 -05:00
Oren Cohen 799deb8169 Add git commit option 2019-03-12 10:06:40 -05:00
Oren Cohen a9ad0f9c7c Update docs for PSA tools 2019-03-12 10:06:40 -05:00
Netanel Gonen 815372455c add needed crypto macros to secure side 2019-03-12 10:06:40 -05:00
kegilbert 92e076e3ad Allow baremetal to build by removing PSA 2019-03-12 10:06:39 -05:00
Oren Cohen 322ca83a68 Add build profile option
Default set to release
2019-03-12 10:06:37 -05:00
Oren Cohen 5efec7ee54 Fix tool 2019-03-12 10:06:30 -05:00
Amanda Butler 3e6723c849 Edit README.md
Edit file for minor grammar and style tweaks, mostly for consistent capitalization and tense across docs.
2019-03-12 10:06:29 -05:00
Oren Cohen abbb2ffbe6 Fix typo 2019-03-12 10:06:29 -05:00
Oren Cohen abc90c354c Remove python from code block 2019-03-12 10:06:29 -05:00
Oren Cohen bc8f53218e Add README.md for tools/psa 2019-03-12 10:06:29 -05:00
Oren Cohen d3fd113cbe Add option to run on a single target 2019-03-12 10:06:29 -05:00
Oren Cohen a5019e6051 Secure binaries release script
This script will find all the PSA targets and compile their secure binaries
Including test secure binaries
2019-03-12 10:06:29 -05:00
Michael Schwarcz e8246bb40b Compare non-secure image name without extension
- For cases where non-secure image is HEX and secure image is BIN
2019-03-12 10:06:28 -05:00
Michael Schwarcz 7321545116 Add missing license header 2019-03-12 10:06:28 -05:00
Michael Schwarcz 259e257f1e Add assertions and tests 2019-03-12 10:06:28 -05:00
Michael Schwarcz 12390f662b tools: Add find_secure_image function
- Used by Non-secure targets post-build hooks to find
  the relevant secure image.
2019-03-12 10:06:28 -05:00
Oren Cohen f234a1dc5b
Unify PSA code generators 2019-03-03 21:15:49 +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 ef76ec83ee Generate psa_manifest/sid.h 2019-03-03 10:55:46 +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 21d09b4156 Unify flags 2019-03-03 10:54:53 +02:00
Cruz Monrreal 870bd05904
Merge pull request #9708 from davidsaada/david_protected_storage
Implement PSA protected storage & restructure PSA storage implementation
2019-02-21 17:30:56 -06: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 7016ac7d8c Add image signing scripts from TF-M bl2 library 2019-02-21 17:42:58 +02:00
Oren Cohen 8800ad5c80 TFM: Add defines to mbed_lib.json 2019-02-21 17:38:30 +02:00
Michael Schwarcz 01a78e98a2 Add mbed_app.json for TF-M bare-metal build 2019-02-19 15:19:06 +02:00
Michael Schwarcz 516af50cb7 Consolidating tools/tfm and tools/spm into tools/psa 2019-02-19 15:19:06 +02:00