mbed-os/features
ccli8 ca44675086 [Nuvoton] Fix crypto AC management
1. For SHA AC, use atomic flag to manage its ownership.
   (1) Nuvoton SHA AC doesn't support SHA context save & restore, so S/W
       SHA fallback has been supported before. To make non-blocking 'acquire'
       semantics clearer, introduce 'try_acquire' to substitute for 'acquire'.
   (2) No biting CPU due to mechanism above.
   (3) No deadlock due to mechanism above.
2. For AES/DES/ECC AC, change to mutex to manage their ownership.
   (1) Change crypto-misc.c to crypto-misc.cpp to utilize C++ SingletonPtr
       which guarantees thread-safe mutex construct-on-first-use.
   (2) With change to crypto-misc.cpp, add 'extern "C"' modifier to CRYPTO_IRQHandler()
       to avoid name mangling in C++.
   (3) No priority inversion because mutex has osMutexPrioInherit attribute
       bit set.
   (4) No deadlock because these AC are all locked for a short sequence
       of operations rather than the whole lifetime of mbedtls context.
   (5) For double mbedtls_internal_ecp_init() issue, it has been fixed in upper
       mbedtls layer. So no need to change ecc init/free flow.
2018-12-19 10:17:39 +08:00
..
FEATURE_BLE BLE: Update toolchain.h with mbed_toolchain.h 2018-12-10 13:57:52 -06:00
FEATURE_BOOTLOADER Added bootloader bin license and config for DISCO_L475VG_IOT01A 2018-10-12 11:17:03 -05:00
cellular Merge pull request #8866 from AriParkkila/cell-cinterion-module 2018-12-13 18:16:13 -06:00
cryptocell/FEATURE_CRYPTOCELL310 Merge pull request #8728 from RonEld/cryptocell_sha_alt_fixes 2018-12-12 14:43:06 +01:00
deprecated_warnings feature deprecated: fix astyle coding style 2018-11-07 08:56:35 +00:00
device_key Fixing Doxygen descriptions 2018-12-03 16:08:07 +02:00
frameworks Merge pull request #8882 from anttiylitokola/mbed-coap-4.7.3 2018-12-03 13:44:20 +01:00
lorawan Final cleanup and ASCII art for algorithm v2 2018-12-10 08:53:30 +02:00
lwipstack Resolved warning "call_in inherits implicit virtual" 2018-11-26 09:41:15 -06:00
mbedtls [Nuvoton] Fix crypto AC management 2018-12-19 10:17:39 +08:00
nanostack Capitalization and punctuation 2018-12-12 11:38:10 +02:00
netsocket Merge pull request #8725 from ChazJin/master 2018-12-12 14:42:20 +01:00
nfc Fix long writes/reads stack overflowing (#8802) 2018-12-13 18:18:01 -06:00
storage Merge pull request #9054 from theamirocohen/nvstore_max_keys 2018-12-13 18:15:16 -06:00
unsupported Clean up Thread deprecation warnings 2018-10-12 14:57:13 +03:00