Antti Kauppila
5f19b6b03a
Licence updated
2020-03-31 16:16:30 +03:00
Antti Kauppila
7904ff05b3
more error handling added for ctr and hmac
2020-03-31 15:59:56 +03:00
Antti Kauppila
abb37c09be
MBEDTLS_SSL_EXPORT_KEYS added to Nanostack's tls_sec_prot_lib
2020-03-31 14:21:45 +03:00
Antti Kauppila
69c6f29ab6
trace group defiined for shared_rng
...
Unittests fixed
2 mbedtls functions were updated to reflect the api
2020-03-31 14:21:45 +03:00
Teppo Järvelin
c5d5d21f05
Added missing optimizations based on mbedtls/baremetal.h config
2020-03-31 14:21:45 +03:00
Teppo Järvelin
0f889c3764
fixed ssl hostname handling
2020-03-31 14:21:44 +03:00
Teppo Järvelin
17e513891b
Added new global rng, needed for MbedTLS optimisations
2020-03-31 14:21:44 +03:00
Teppo Järvelin
793837cafe
Prepare for upcoming MbedTLS changes
2020-03-31 14:21:44 +03:00
Martin Kojtal
8b929726e1
Merge pull request #12609 from rajkan01/semwait_remove_deprecation
...
Remove Semaphore deprecated APIs
2020-03-31 10:36:43 +02:00
Martin Kojtal
6cdb44ea38
Merge pull request #12682 from jeromecoutant/PR_TRACELEVEL
...
MBED TRACE default level is INFO
2020-03-31 09:28:11 +02:00
Martin Kojtal
5d07fa8ada
Merge pull request #12705 from hugueskamba/hk_remove_armc5_support_mbed-client
...
mbed-client-cli: Remove support for ARM Compiler 5
2020-03-31 08:34:33 +02:00
Martin Kojtal
fea7c1abef
Merge pull request #12472 from praveenCY/pr/wpa3_support_merge
...
Add WPA3 support in mbed-os for green tea tests
2020-03-31 08:32:27 +02:00
Martin Kojtal
4c6e59d714
Merge pull request #11629 from kyle-cypress/pr/tdb-bounds-refactor
...
Refactor TDB internal bounds computation
2020-03-30 09:39:15 +02:00
Anna Bridge
009ff7adf3
Merge pull request #12036 from kjbracey-arm/callback_fiddle
...
Callback extension and optimisation
2020-03-27 14:07:20 +00:00
Anna Bridge
2736896fb9
Merge pull request #12706 from hugueskamba/hk_remove_armc5_support_tests
...
Tests: Remove support for ARM Compiler 5
2020-03-27 14:05:26 +00:00
Anna Bridge
abaf612ccd
Merge pull request #12704 from michalpasztamobica/lwip_apimsg_err
...
LWIP: propagate the apimsg->err out of netconn_apimsg()
2020-03-27 14:04:27 +00:00
Anna Bridge
1bbcaec04a
Merge pull request #12683 from kivaisan/socketaddress_refactor
...
SocketAddress rework
2020-03-27 11:30:12 +00:00
Hugues Kamba
a79ae95703
mbed-client-cli: Remove support for ARM Compiler 5
...
ARM Compiler 5 is no longer actively supported and was superseded in
Mbed OS by ARM Compiler 6.
2020-03-26 13:45:46 +00:00
Michal Paszta
dc142979d8
LWIP: propagate the apimsg->err out of netconn_apimsg()
2020-03-26 13:45:50 +02:00
Hugues Kamba
4318a0747f
Tests: Remove support for ARM Compiler 5
...
ARM Compiler 5 is no longer actively supported and was superseded in
Mbed OS by ARM Compiler 6.
2020-03-25 18:22:00 +00:00
Martin Kojtal
b62fdaed1f
Merge pull request #12685 from kivaisan/remove_deprecated_netsocket_methods
...
Remove deprecated netsocket methods
2020-03-25 10:12:55 +01:00
Martin Kojtal
fff23428de
Merge pull request #12686 from jeromecoutant/PR_REVERT_ETHERNET
...
STM32 EMAC : remove TIMEOUT issue when cable is not plugged yet
2020-03-25 08:59:55 +01:00
Kyle Kearney
ab8ac8871c
Remove stray include of TDBStore.h
2020-03-24 12:27:21 -07:00
Kyle Kearney
ae7c6203cc
kv_config: Remove hard fail on too few pages
...
STORE_SECTORS is a hard requirement. If there are fewer than 2 pages
then the kvstore will not work, because the garbage collection process
relies on having at least two sectors to work with.
STORE_PAGES is a heuristic. It is a reasonable default to use if the
application does not specify the amount of flash to use for TDBStore.
But if an application knows that a smaller number of pages will suffice
for its specific needs, then that is valid and should be permitted.
2020-03-24 12:27:21 -07:00
Kyle Kearney
7f18a6ce49
Move flash bounds helpers from TDBStore to kv_config
2020-03-24 12:27:21 -07:00
Kyle Kearney
926423c109
Reuse TDBStore default size computation in devicekey test
...
Replace custom caluation that always assumed two sectors with the standard
calculation exposed on TDBStore.
2020-03-24 12:27:21 -07:00
Kyle Kearney
622a50ff6a
KV_CONFIG: Change errors to use tr_error not tr_warning
2020-03-24 12:27:21 -07:00
Kyle Kearney
e1b857078a
Remove unnecessary reference-typed arguments
...
No callers make use of the modified argument values, so change
them to a more straightforward pass by value.
2020-03-24 12:27:21 -07:00
Kyle Kearney
3ef04db1a3
TDBStore: Increase min pages to 14
...
Increase minimum page count from 10 to 14 based on further experiments
with features-storage-tests-kvstore-static_tests.
2020-03-24 12:27:21 -07:00
Kyle Kearney
0002830c03
TDBStore: remove get_flash_bounds input constraint
...
Handle the case where the entirety of flash (size = 0) is required
for a flash memory starting at address 0, instead of erroring out.
2020-03-24 12:27:20 -07:00
Kyle Kearney
9d414316da
TDBStore: Fix potential alignment issue in default addresses
...
When 10 pages is larger than 2 sectors, align the selected size
down to be an even multiple of the sector size, to ensure that
the allocated space divides cleanly in half for garbage collection.
2020-03-24 12:27:20 -07:00
Kyle Kearney
7cd4d11a8a
Expand error checks in _calculate_blocksize_match_tdbstore
...
The minimum size required by tdbstore is either 2 sectors or 10 pages,
whichever is larger. Correspondingly, adjust the error checks in
_calculate_blocksize_match_tdbstore to match this requirement.
2020-03-24 12:27:20 -07:00
Kyle Kearney
cda0af66eb
Move TDB bounds computation for better reuse
...
Migrate into TDBStore so that DirectAccessDeviceKey can use it as well.
2020-03-24 12:27:20 -07:00
Kyle Kearney
afa88b76d4
Refactor internal flash TDB bounds determination
...
Default the size to the larger of two sectors or 10 pages, so that the
computation works better on devices with a low sector to page size ratio.
Reduce code duplication.
2020-03-24 12:27:20 -07:00
Kimmo Vaisanen
619a5a7bcc
Netsocket: Remove deprecated constructor with open
...
Default constructor with separate open call should be used instead.
2020-03-24 12:46:30 +02:00
Kimmo Vaisanen
4918bc6aad
TCPSocket: Remove deprecated contructor with open
...
Default constructor and separate open call should be used instead.
2020-03-24 12:46:30 +02:00
Kimmo Vaisanen
2cfee7be71
Netsocket: Remove deprecated InternetSocket::attach methods
...
InternetSocket::sigio should be used instead.
2020-03-24 12:46:30 +02:00
Kevin Bracey
4eda58893e
SocketAddress rework
...
* Add optimised constexpr default constructor. Default construction
was previously by a heavyweight defaulted `nsapi_addr_t` parameter.
* Remove deprecated resolving constructor.
* Take `nsapi_addr_t` inputs by constant reference rather than value.
* Inline the trivial getters and setters.
* Use `unique_ptr` to manage the text buffer.
* Make `operator bool` explicit.
* Optimise some methods.
* Update to C++11 style (default initialisers, nullptr etc)
2020-03-24 11:05:33 +02:00
jeromecoutant
7b0ac0669f
MBED TRACE default level is INFO
2020-03-24 09:36:21 +01:00
Martin Kojtal
5d64e55880
Merge pull request #12651 from kivaisan/add_ec2x_start_timout_configuration
...
Cellular: Make Quectel EC2x modem start up timeout configurable
2020-03-24 08:53:59 +01:00
Martin Kojtal
ae0ec86d59
Merge pull request #12667 from boomer41/fix-devicekey
...
Add check for return code in DeviceKey to avoid injecting invalid ROT
2020-03-23 19:59:10 +01:00
Martin Kojtal
4f4c8c48e1
Merge pull request #12637 from armPelionEdge/#12625-BLE-Cardio-Patch
...
Cordio: fix for issue #12625
2020-03-23 14:47:52 +01:00
Martin Kojtal
ef2c1c89e6
Merge pull request #12658 from VeijoPesonen/fix_tests-integration-fs
...
tests-integration;tests-filesystem: fix code causing compiler warnings and enable more tests
2020-03-23 12:31:13 +01:00
Martin Kojtal
cc799a83fc
Merge pull request #12661 from kbarm/feature-fix-documentation-ascii-art
...
Adjusted SecurityManager Doxygen ASCII art
2020-03-23 10:18:54 +01:00
Stephan Brunner
c6e8ae56db
Use correct return value.
2020-03-23 09:26:30 +01:00
Stephan Brunner
f01bc974ef
Add check for return code in DeviceKey to avoid injecting invalid ROT
2020-03-23 06:57:50 +01:00
Anna Bridge
ab483c2ead
Merge pull request #12654 from kbarm/feature-remove-cc-arm-macro
...
Removed all references to __CC_ARM
2020-03-20 15:22:03 +00:00
Anna Bridge
1b83d31e07
Merge pull request #12648 from artokin/nanostack_wisun_device_type_config
...
Nanostack: Add config for Wi-SUN device type
2020-03-20 15:20:17 +00:00
Anna Bridge
d048cd4c83
Merge pull request #12410 from rajkan01/serial_remove_deprecate
...
Remove the deprecated RawSerial, UARTSerial, Serial
2020-03-20 15:19:32 +00:00
Krzysztof Borowczyk
a624acd45c
Adjusted SecurityManager Doxygen ASCII art to make it display correctly on mbed.com
2020-03-20 10:20:58 +01:00