mirror of https://github.com/ARMmbed/mbed-os.git
Previously, the CryptoToolbox was allocated once as part of the security manager. This was inneficient memory wise as it is only use to prepare key at initialization and when we need to compute shared keys. This was also inneficient power consumption wise as the Crypto cell was kept enabled even when it wasn't used. This fix creates a CryptoToolbox whenever it is needed and release it once it has fulfilled its purpose. Note that CryptoToolbox allocation happens on the heap as mbed tls data structure are huge and there's an high risk of crushing the stack. |
||
---|---|---|
.. | ||
FEATURE_BLE | ||
FEATURE_BOOTLOADER | ||
cellular | ||
cryptocell/FEATURE_CRYPTOCELL310 | ||
deprecated_warnings | ||
device_key | ||
frameworks | ||
lorawan | ||
lwipstack | ||
mbedtls | ||
nanostack | ||
netsocket | ||
nfc | ||
storage | ||
unsupported |