Threading Primitives#
Threading primitive implementation for mbed TLS.
This file contains the glue logic between the mbed TLS threading API and CMSIS RTOS2 API.
In order to enable support for Micrium OS backend the user must make sure SL_CATALOG_MICRIUMOS_KERNEL_PRESENT is defined. In order to enable support for FreeRTOS backend the user must make sure SL_CATALOG_FREERTOS_KERNEL_PRESENT is defined.
Applications created using Simplicity Studio 5 the sl_component_catalog.h file will define one of the above in order to declare the presence of a specific RTOS.
Note
In order to use the Silicon Labs Hardware Acceleration plugins in multi-threaded applications, select Mbed TLS support for EFM32/EFR32 crypto acceleration component.
Functions#
Helper function for setting up the mbed TLS threading subsystem.
Function Documentation#
mbedtls_threading_set_alt#
void mbedtls_threading_set_alt (void(*)(mbedtls_threading_mutex_t *) mutex_init, void(*)(mbedtls_threading_mutex_t *) mutex_free, int(*)(mbedtls_threading_mutex_t *) mutex_lock, int(*)(mbedtls_threading_mutex_t *) mutex_unlock)
N/A | mutex_init | |
N/A | mutex_free | |
N/A | mutex_lock | |
N/A | mutex_unlock |
210
of file platform/security/sl_component/sl_mbedtls_support/inc/threading_alt.h
THREADING_setup#
static void THREADING_setup (void )
Helper function for setting up the mbed TLS threading subsystem.
N/A |
218
of file platform/security/sl_component/sl_mbedtls_support/inc/threading_alt.h