Cryptography Hardware Acceleration Plugins
Overview of plugins for hardware accelerated cryptography.
The Silicon Labs distribution of mbed TLS includes alternative implementations (plugins) from Silicon Labs for selected mbed TLS and PSA Crypto library functions. The plugins use the AES, CRYPTO, CRYPTOACC and SE hardware peripherals to accelerate low-level cryptographic primitives. Available acceleration hardware depends on the target device.
The plugins support sharing of cryptography hardware in multi-threaded applications, as well as a reduced overhead configuration for optimal performance in single-threaded applications. Multi-threaded support is provided by the Threading Primitives module.
There are currently (mbed TLS v2.24+) two sets of interfaces that have plugins for acceleration on Silicon Labs devices. The first interface is through the mbed TLS API plugins, which have been released by Silicon Labs since the mbed TLS 2.1.2 distribution. These plugins continue to be available, but will be deprecated and subsequently removed in a future release, together with the deprecation of the relevant mbed TLS APIs. It is these plugins that get exercised when calling cryptography APIs prefixed
- Note that the mbed TLS API plugins have been updated, and some now depend on their PSA counterparts. This is done to streamline code on systems that use both API sets. Users are advised to update their source file lists accordingly.
The newly introduced plugin interface ('PSA Crypto accelerator interface') provides hardware acceleration when using the PSA Cryptography APIs (prefixed
psa_*). Users are encouraged to migrate to PSA Cryptography APIs for their cryptographic processing needs at their earliest convenience. For products where it does not make sense to do so (legacy products, end-of-life, ...), the mbed TLS APIs remain available.
For more information on the Silicon Labs implementation of the PSA Crypto accelerator interface across the different products, refer to Silicon Labs Cryptography Hardware Acceleration Plugins for PSA Crypto.
|Silicon Labs Cryptography Hardware Acceleration Plugins for mbed TLS|
|Overview of plugins for hardware accelerated cryptography through the mbed TLS APIs. |
|Silicon Labs Cryptography Hardware Acceleration Plugins for PSA Crypto|
|Overview of plugins for hardware accelerated cryptography through the PSA Crypto APIs. |