Functions#
This section provides a reference to the Crypto multithread management API functions.
Functions#
osSemaphoreId_t
sl_si91x_crypto_threadsafety_init(osSemaphoreId_t *mutex)
To initialize the crypto semaphore for a particular crypto operation.
osStatus_t
sl_si91x_crypto_mutex_acquire(osSemaphoreId_t *mutex)
To acquire the crypto semaphore for a particular crypto operation.
osStatus_t
sl_si91x_crypto_mutex_release(osSemaphoreId_t *mutex)
To release the crypto semaphore for a particular crypto operation.
Function Documentation#
sl_si91x_crypto_threadsafety_init#
osSemaphoreId_t sl_si91x_crypto_threadsafety_init (osSemaphoreId_t * mutex)
To initialize the crypto semaphore for a particular crypto operation.
Parameters
[in] | mutex | The crypto semaphore to be initialized. |
Returns
osSemaphoreId_t Semaphore ID.
Definition at line
111
of file components/device/silabs/si91x/wireless/crypto/multithread/inc/sl_si91x_crypto_thread.h
sl_si91x_crypto_mutex_acquire#
osStatus_t sl_si91x_crypto_mutex_acquire (osSemaphoreId_t * mutex)
To acquire the crypto semaphore for a particular crypto operation.
Parameters
[in] | mutex | The crypto semaphore to be acquired. |
Returns
osStatus_t Status of the semaphore.
Definition at line
122
of file components/device/silabs/si91x/wireless/crypto/multithread/inc/sl_si91x_crypto_thread.h
sl_si91x_crypto_mutex_release#
osStatus_t sl_si91x_crypto_mutex_release (osSemaphoreId_t * mutex)
To release the crypto semaphore for a particular crypto operation.
Parameters
[in] | mutex | The crypto semaphore to be released. |
Returns
osStatus_t Status of the semaphore.
Definition at line
133
of file components/device/silabs/si91x/wireless/crypto/multithread/inc/sl_si91x_crypto_thread.h