Commit Graph

23752 Commits (5664a928f1551b6160e40e68ea5e5b6501d9d145)

Author SHA1 Message Date
Jimmy Brisson 9873da1ae2 Recompute sector information for STM32xxxxx 2019-03-12 10:06:31 -05:00
Jimmy Brisson bb023fe957 Test for sector information 2019-03-12 10:06:31 -05:00
Nir Sonnenschein 65f632f8f4 add mbed_lib.json to prevent inclusion in bare-metal builds 2019-03-12 10:06:31 -05:00
Nir Sonnenschein 0ec8125a8a remove sid.h as it is now supplied by PSA 2019-03-12 10:06:31 -05:00
Nir Sonnenschein 4df870cf4f add comment explaining attestation keys for test use 2019-03-12 10:06:31 -05:00
Nir Sonnenschein 848c2da563 synchronize latest fix to tests
synchronize latest fix to test_c043
2019-03-12 10:06:30 -05:00
Oren Cohen 5efec7ee54 Fix tool 2019-03-12 10:06:30 -05:00
Michael Schwarcz 17312d428f TF-M config: Add max_ns_thread_count parameter 2019-03-12 10:06:30 -05:00
Oren Cohen 3a12cf6896 Remove _NS & _PSA from test_spec.json 2019-03-12 10:06:30 -05:00
Nir Sonnenschein e494c3c76c removed redundant code + added comment
Thanks @cmonr.
2019-03-12 10:06:30 -05:00
Nir Sonnenschein 25be6feb69 update importer hashes for latest changes 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 c178c1386e update importer hashes for latest fixes 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 7a80553c91 changes to test infrastructure to adapt it to green-tea
changes to test infrastructure to adapt it to green-tea
Make ITS testing default
Fix IAR build issues
2019-03-12 10:06:30 -05:00
Nir Sonnenschein a5e77c6d1f add imported PSA compliance tests to astyle ignore list 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
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
Nir Sonnenschein 0cc6d1a448 indentation fix 2019-03-12 10:06:29 -05:00
Netanel Gonen 6556f9483e Update PSoC 6 pre-build secure partition 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
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
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
Michael Schwarcz 0d7e548827 Disable SPM tests with TF-M issues for TF-M targets 2019-03-12 10:06:29 -05:00
Alexander Zilberkant 27f6e3b1bd align doxygen files
align PREDEFINED list in doxygen_options.json and doxyfile_options
2019-03-12 10:06:28 -05:00
Alexander Zilberkant 7f0b4d68ce Doxygen add TF-M flags 2019-03-12 10:06:28 -05:00
Vincent Coubard 35c48c255b BLE - Register the Att call handler whenever the GATT_SERVER is available. 2019-03-12 10:06:28 -05:00
Vincent Coubard 9a9edd6121 BLE - Call SecInit unconditionally as it is required by low HCI level driver
That module handles random number incomming from the controller. Overhead is low (less than 150 bytes of flash).
2019-03-12 10:06:28 -05:00
Vincent Coubard f297f5425b BLE - Avoid calling v2 API in GenericGap::reset_ if not required. 2019-03-12 10:06:28 -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
David Saada e16d2d81d9 Reduce flash page size from 512 to 32 bytes in PSOC6 based boards
Page size in all PSOC6 boards is 512 bytes. This is very problematic in
all storage applications. This change reduces the page size (in flash_api's
flash_program_page API) to 32 by reading the original page, modifying it
with programmed data and programming it back. The number 32 for page size
conforms to the number of times (16) this action can be done.
2019-03-12 10:06:28 -05:00
adbridge 7dd791e2f9 Update Mbed version block 2019-03-06 15:49:59 +00:00
Martin Kojtal c37ac83e8e
Merge pull request #8757 from theotherjimmy/use-cpm
Update Cmsis-pack-manager to 0.2.3
2019-03-06 15:58:42 +01:00
Martin Kojtal f236125c74
Merge pull request #9918 from kfnta/unify_psa_generators
Unify PSA code generators
2019-03-06 15:39:49 +01:00
Martin Kojtal 9d72a5cf79
Merge pull request #9738 from theotherjimmy/reorder-bl-hooks
Tools: Reoder post-build hooks and bl merging
2019-03-06 13:02:45 +01:00