Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restyle PSA Mutex patch. #197

Merged
merged 1 commit into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ THREADING_TakeMutexBlocking(mbedtls_threading_mutex_t *mutex) {
*
* \param mutex Pointer to the mutex being tested
*
* \return RTOS_ERR_NONE on success (= mutex successfully owned), error code otherwise.
* \return RTOS_ERR_NONE on success (= mutex successfully owned), error
* code otherwise.
*/
static inline int
THREADING_TakeMutexNonBlocking(mbedtls_threading_mutex_t *mutex) {
Expand Down Expand Up @@ -213,7 +214,8 @@ void mbedtls_threading_set_alt(
int (*mutex_unlock)(mbedtls_threading_mutex_t *));

/**
* \brief Helper function for setting up the mbed TLS threading subsystem
* \brief Helper function for setting up the mbed TLS threading
* subsystem
*/
static inline void THREADING_setup(void) {
mbedtls_threading_set_alt(&THREADING_InitMutex, &THREADING_FreeMutex,
Expand Down
Loading
Loading