Commit Graph

20966 Commits (a10e299bd9a0507792d7118185dcad87da989fd2)

Author SHA1 Message Date
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
Mel W b675f5dc70 Grammatical and capitalization changes 2018-12-05 11:09:50 +00:00
Oren Cohen 2b9c41d5bb More fixes by Melinda 2018-12-05 11:09:50 +00:00
Oren Cohen 93cdd59a3a set proper groups for spm and HAL 2018-12-05 11:09:50 +00:00
Oren Cohen c660d362a7 Melinda's remarks 2018-12-05 11:09:50 +00:00
Oren Cohen 0ba9623e56 Fix PSA-SPM Documentation 2018-12-05 11:09:50 +00:00
Jaeden Amero a107404cb2 psa: storage: Fix PSA_PS_ERROR_OFFSET typo
Correct typo of PSA_PS_ERROR_OFFSET to PSA_ITS_ERROR_OFFSET.
2018-12-05 11:09:50 +00:00
Jaeden Amero a325dd7b30 crypto: storage: Fix PSA_PS_ERROR_OFFSET typo
Correct typo of PSA_PS_ERROR_OFFSET to PSA_ITS_ERROR_OFFSET.
2018-12-05 11:09:50 +00:00
Mel W 4b67db75f4 Capitalization and punctuation 2018-12-05 11:09:50 +00:00
Jenny Plunkett 5b2df6e057 Update FEATURE_BLE README
Remove all outdated information including supported services and old documentation links
2018-12-05 11:09:50 +00:00
Russ Butler 26f842ea9d Turn off MPU for PSOC 6
Turn off  the MPU for the PSOC 6 since it has a non-standard memory
map. This fixes crashes on boot for this target.
2018-12-05 11:09:50 +00:00
Russ Butler 6e99157279 Add rather than override PSOC 6 macros
Use "macros_add" rather than "marcos" so any macros defined by
MCU_PSOC6 are not overwritten.
2018-12-05 11:09:50 +00:00
Vincent Coubard 4e37874e55 BLE: Fix doxygen parameter declaration order. 2018-12-05 11:09:50 +00:00
Vincent Coubard c3899d15a9 BLE: rename AdvertisingReportEvent::getAdvertisingData into getPayload.
This change makes it consistent with PeriodicAdvertisingReportEvent.
2018-12-05 11:09:50 +00:00
Vincent Coubard c8c355467e BLE: rename ConnectionParameters::getFilterPolicy into getFilter for consistency. 2018-12-05 11:09:50 +00:00
Vincent Coubard 16dd70f3c6 BLE: Reintroduce refactored type identifier in privacy configuration structures. 2018-12-05 11:09:50 +00:00
Vincent Coubard d33106aad9 BLE: Rename ConnectionParameters::setFilterPolicy into setFilter for consistency. 2018-12-05 11:09:50 +00:00
Vincent Coubard 7e180c7467 BLE: Change parameter order of ble::Gap::startScan 2018-12-05 11:09:50 +00:00
Vincent Coubard a49dd7f043 BLE: provide better default connection parameters. 2018-12-05 11:09:50 +00:00
Vincent Coubard 3f56b2247e BLE: Fix name of DisconnectionEvent into DisconnectionCompleteEvent for consistency. 2018-12-05 11:09:50 +00:00
Vincent Coubard df00415236 BLE: Fix ble::Gap::getMaxAdvertisingDataLength return type. 2018-12-05 11:09:50 +00:00
Vincent Coubard 0d382461ec BLE: Ensure scan process is stopped before connecting. 2018-12-05 11:09:50 +00:00
Vincent Coubard 6330878c14 BLE: Use RANDOM address per default for Advertising, Scan and Connection parameter.
Unlike the public address, the RANDOM address is guaranteed to exist.
If privacy is enabled, it means the controller will generates random resolvable addresses or non resolvable addresses depending on the config.
If privacy is not enabled then the device will use the device's random static address that doesn't change between radio processes.
2018-12-05 11:09:50 +00:00
Vincent Coubard 07e7fa3b0d BLE: protect event signaling flag from concurent accesses. 2018-12-05 11:09:50 +00:00
Vincent Coubard c6a29d1f3f BLE: Fix extraction of advertising element type. 2018-12-05 11:09:50 +00:00
paul-szczepanek-arm a48c6d4f40 consistent errors 2018-12-05 11:09:50 +00:00
Vincent Coubard 2b482cd0b8 BLE: Remove double handling of DM_CONN_OPEN_IND . 2018-12-05 11:09:50 +00:00