Donatien Garnier
00496d3dba
Cordio: Update CYW4343X Driver to use default memory pool
2018-12-11 16:14:46 -06:00
Donatien Garnier
b0962bbc93
Cordio: Update ODIN-W2 Driver to use default memory pool
2018-12-11 16:14:46 -06:00
Donatien Garnier
ed479e5a4e
Cordio: Make allocating too much memory for pool a warning, not a fatal assert
2018-12-11 16:14:46 -06:00
Donatien Garnier
f994bc323e
Cordio Nordic LL: Readjust memory pool requirements for NRF52840
2018-12-11 16:14:46 -06:00
Donatien Garnier
346622bb3f
Cordio Nordic LL: Optimize memory for smaller targets
2018-12-11 16:14:46 -06:00
Donatien Garnier
4ece9023a2
Cordio: Split get_buffer_pool_description() in pure virtual + default implementation to avoid allocating two memory pools in a static fashion
2018-12-11 16:14:46 -06:00
Donatien Garnier
a7c5523081
Cordio: Assert if memory pool is not exactly the right size
2018-12-11 16:14:46 -06:00
Brian Daniels
7f418f450c
Config parameters override macros
2018-12-11 16:14:46 -06:00
Brian Daniels
b4f4ac6d2a
Adding unit test for macro config
2018-12-11 16:14:46 -06:00
Brian Daniels
5812ae7004
Ensure macros and parameters with the same name are not repeated.
...
This covers the case when a macro is set with the same name as a
parameter. Previously, the macro would be repeated on the command line,
which causes certain toolchains to break (ex. IAR assembler). Now the
config system will override the parameter's value with the macro's
value.
2018-12-11 16:14:46 -06:00
Oren Cohen
ef7df31fd6
Ignore PSA secure targets
2018-12-11 16:14:46 -06:00
Oren Cohen
8ee3b1d74b
Prebuilt images
2018-12-11 16:14:46 -06:00
Oren Cohen
5bff3ad9af
Prepare postbuild for prebuilt images
2018-12-11 16:14:46 -06:00
Oren Cohen
f9b9810c5e
Fix PSA-HAL, TRNG, TLS tests
2018-12-11 16:14:46 -06:00
Oren Cohen
412bfcf036
fix for flash iap test
2018-12-11 16:14:46 -06:00
Oren Cohen
2469539721
disable nvstore for sequana_psa
2018-12-11 16:14:46 -06:00
Oren Cohen
709d924750
fix mbedmicro-rtos-mbed tests
2018-12-11 16:14:45 -06:00
Oren Cohen
1efee65a58
Fix initial_sp on psa sequana
2018-12-11 16:14:45 -06:00
Oren Cohen
dc71ec4a81
License
2018-12-11 16:14:45 -06:00
Oren Cohen
b4a77f6ead
Add FUTURE_SEQUANA_PSA target
...
* Modify linker scripts to be compatible with bootloader and PSA
* Add memory protection
* Modify original post-build step to allow link with PSA binaries
* Config kvstore for ITS on FUTURE_SEQUANA_PSA
* Enable PSA-Crypto on PSoC6 with NVSeed
2018-12-11 16:14:45 -06:00
Oren Cohen
6b87427549
Use entropy injection on any NVseed platform or PSA dual-core/v8
2018-12-11 16:14:45 -06:00
Oren Cohen
6c1d08a503
Basic test can run on single v7's
2018-12-11 16:14:45 -06:00
Oren Cohen
74f5322a1d
Fix includes
2018-12-11 16:14:45 -06:00
Alex Volinski
f07943d2b1
The inject test can run also on single core CPU's such as K64F
2018-12-11 16:14:45 -06:00
Oren Cohen
fee5e42f95
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-11 16:14:45 -06:00
Veijo Pesonen
891d756a1a
Reports NSAPI_STATUS_CONNECTING when trying to reconnect
2018-12-11 16:14:45 -06:00
Michal Paszta
a10e299bd9
ESP8266 disconnect returns ERROR_NO_CONNECTION
2018-12-11 16:14:45 -06:00
Veijo Pesonen
1108d8d96c
Truncates TCP stream and NACKs UDP datagram when sending too much data
...
ESP8266 maximum packet size when sending is 2048 bytes.
2018-12-11 16:14:45 -06:00
Veijo Pesonen
54136e72dc
Fixes return value check when calling ATCmdParser::read()
2018-12-11 16:14:45 -06:00
Veijo Pesonen
ca7fef2da0
Dropping duplicate "using namespace mbed;"
2018-12-11 16:14:45 -06:00
Veijo Pesonen
7d878f4d88
Truncates data to be send to modem to 2048 bytes
2018-12-11 16:14:45 -06:00
Veijo Pesonen
63c219a1c3
Drops std:: because string.h is included
2018-12-11 16:14:45 -06:00
itayzafrir
df1d36a0aa
Skip Mbed Crypto tests when when Mbed Crypto is OFF
2018-12-11 16:14:44 -06:00
Oren Cohen
132f00ee12
Test modifications
...
* Add support for entropy injection
* Move psa_crypto_init & mbedtls_psa_crypto_free to setup & teardown handlers
* Skip test_crypto_asymmetric_encrypt_decrypt if RSA generation is not supported
2018-12-11 16:14:44 -06:00
itayzafrir
447cd74aa2
Add license
2018-12-11 16:14:44 -06:00
itayzafrir
5ceeb6f69a
Add mbed-crypto key derivation test
2018-12-11 16:14:44 -06:00
itayzafrir
4d55d53581
Add mbed-crypto asymmetric sign verify test
2018-12-11 16:14:44 -06:00
itayzafrir
51b11815cc
Add mbed-crypto symmetric cipher encrypt decrypt test
2018-12-11 16:14:44 -06:00
itayzafrir
e580d1e2a7
Add mbed-crypto hash verify test
2018-12-11 16:14:44 -06:00
itayzafrir
14bd3c3025
Add mbed-crypto asymmetric encrypt decrypt test
2018-12-11 16:14:44 -06:00
itayzafrir
5ee7a2f0ee
Introduce mbed-crypto tests
...
Add tests setup code and random bytes generator test.
2018-12-11 16:14:44 -06:00
Oren Cohen
d95f66667c
SPM code generator support for python 2 & 3
2018-12-11 16:14:44 -06:00
Oren Cohen
3b4750ba3e
Run SPM code generator
2018-12-11 16:14:44 -06:00
Oren Cohen
094fedfec9
Add SPM code generation test to Travis-CI
2018-12-11 16:14:44 -06:00
Cruz Monrreal
d9625811c9
Merge pull request #8974 from ARMmbed/release-candidate
...
Release candidate for mbed-os-5.11.0-rc2
2018-12-05 12:03:42 -06:00
Alexander Zilberkant
9256d6f0d9
Better PID handling
...
PSA PID is of int32_t type - use native type during the whole flow for better readability.
Convert PID to unsigned for calculations only.
Add dedicated inline function for logic shift right.
2018-12-05 11:09:50 +00:00
Alexander Zilberkant
ef353c0ae5
Replace PID and UID order in file name
...
PID should come first to create - to prevent timing attacks. Each partition can only request its own files. Thus starting lookup from the PID makes more sence.
2018-12-05 11:09:50 +00:00
Alexander Zilberkant
0c5fb613bc
Optimize error handling
2018-12-05 11:09:50 +00:00
Alexander Zilberkant
41adc4ed69
Fix PSA internal storage misconfiguration
...
Use internal TDBStore instance instead of default one
2018-12-05 11:09:50 +00:00
Martin Kojtal
16a73d1dd9
spm spe: remove space
2018-12-05 11:09:50 +00:00