Commit Graph

21155 Commits (4083c5e1536a74eea2f4633cbf09aeb8d2fd5a14)

Author SHA1 Message Date
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
Vincent Coubard 910c09e160 BLE: Fix set check in GenerigGap::stopAdvertising. 2018-12-05 11:09:50 +00:00
Jaeden Amero 9f4dadb409 mbedtls: Update Mbed TLS to 2.15.1 2018-12-05 11:09:50 +00:00
Juho Eskeli 6e4104bced Disable MPU code until target properly supported 2018-12-05 11:09:50 +00:00
Juho Eskeli a7b96454d7 MTB_ADV_WISE_1570: disable MPU code until target properly supported 2018-12-05 11:09:50 +00:00
Oren Cohen 1c26ba5a71 Fix target handling in build.ppy 2018-12-05 11:09:50 +00:00
Juho Eskeli 586f7b2ae2 STM32L4: before calling HAL_CRYP_DeInit initialize the Instance member 2018-12-05 11:09:50 +00:00
Martin Kojtal b4ecd7c28e travis: rabbitmq signature update
Fix comes from rabbitmq:

> On December 1st, 2018 (GMT) all repositories under the RabbitMQ account on PackageCloud
will be switched to use the new signing keys. RabbitMQ users who install packages
from PackageCloud must import the new signing keys before the migration.
The recommended way of doing that is by re-running PackageCloud setup
scripts (RabbitMQ, Erlang). Signing keys can be downloaded and imported directly
as well (RabbitMQ, Erlang). If the new keys are not imported, package installation
will start failing with a signature verification error.
2018-12-05 11:09:50 +00:00
Martin Kojtal c0dd29d92e travis: mangodb key update not needed anymore 2018-12-05 11:09:50 +00:00
adbridge 103c9cb509 Update Mbed version block 2018-11-29 13:59:30 +00:00
Anna Bridge f9d07f373f
Merge pull request #8898 from cmonr/add-crypto-example
Add crypto example to examples.json
2018-11-29 13:53:47 +00:00
Martin Kojtal d45917e4cd
Merge pull request #8897 from cmonr/add-tls-socket-example
Add TLS Sockets example to examples.json
2018-11-29 10:03:24 +01:00