Home
last modified time | relevance | path

Searched refs:mbedtls_threading_mutex_t (Results 1 – 17 of 17) sorted by relevance

/mbedtls-3.7.0/library/
Dthreading.c53 static void threading_mutex_init_pthread(mbedtls_threading_mutex_t *mutex) in threading_mutex_init_pthread()
68 static void threading_mutex_free_pthread(mbedtls_threading_mutex_t *mutex) in threading_mutex_free_pthread()
77 static int threading_mutex_lock_pthread(mbedtls_threading_mutex_t *mutex) in threading_mutex_lock_pthread()
90 static int threading_mutex_unlock_pthread(mbedtls_threading_mutex_t *mutex) in threading_mutex_unlock_pthread()
103 void (*mbedtls_mutex_init)(mbedtls_threading_mutex_t *) = threading_mutex_init_pthread;
104 void (*mbedtls_mutex_free)(mbedtls_threading_mutex_t *) = threading_mutex_free_pthread;
105 int (*mbedtls_mutex_lock)(mbedtls_threading_mutex_t *) = threading_mutex_lock_pthread;
106 int (*mbedtls_mutex_unlock)(mbedtls_threading_mutex_t *) = threading_mutex_unlock_pthread;
116 static int threading_mutex_fail(mbedtls_threading_mutex_t *mutex) in threading_mutex_fail()
121 static void threading_mutex_dummy(mbedtls_threading_mutex_t *mutex) in threading_mutex_dummy()
[all …]
Dmemory_buffer_alloc.c63 mbedtls_threading_mutex_t mutex;
/mbedtls-3.7.0/include/mbedtls/
Dthreading.h29 typedef struct mbedtls_threading_mutex_t { struct
39 } mbedtls_threading_mutex_t; typedef
64 void mbedtls_threading_set_alt(void (*mutex_init)(mbedtls_threading_mutex_t *),
65 void (*mutex_free)(mbedtls_threading_mutex_t *),
66 int (*mutex_lock)(mbedtls_threading_mutex_t *),
67 int (*mutex_unlock)(mbedtls_threading_mutex_t *));
81 extern void (*mbedtls_mutex_init)(mbedtls_threading_mutex_t *mutex);
82 extern void (*mbedtls_mutex_free)(mbedtls_threading_mutex_t *mutex);
83 extern int (*mbedtls_mutex_lock)(mbedtls_threading_mutex_t *mutex);
84 extern int (*mbedtls_mutex_unlock)(mbedtls_threading_mutex_t *mutex);
[all …]
Dssl_cookie.h59 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex);
Dssl_cache.h72 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex); /*!< mutex */
Dssl_ticket.h82 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex);
Dhmac_drbg.h100 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex);
Dentropy.h113 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex); /*!< mutex */
Dctr_drbg.h214 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex);
Drsa.h120 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex); /*!< Thread-safety mutex. */
/mbedtls-3.7.0/tests/src/
Dthreading_helpers.c139 void (*init)(mbedtls_threading_mutex_t *);
140 void (*free)(mbedtls_threading_mutex_t *);
141 int (*lock)(mbedtls_threading_mutex_t *);
142 int (*unlock)(mbedtls_threading_mutex_t *);
162 mbedtls_threading_mutex_t mbedtls_test_mutex_mutex;
173 static void mbedtls_test_mutex_usage_error(mbedtls_threading_mutex_t *mutex, in mbedtls_test_mutex_usage_error()
186 static int mbedtls_test_mutex_can_test(mbedtls_threading_mutex_t *mutex) in mbedtls_test_mutex_can_test()
201 static void mbedtls_test_wrap_mutex_init(mbedtls_threading_mutex_t *mutex) in mbedtls_test_wrap_mutex_init()
215 static void mbedtls_test_wrap_mutex_free(mbedtls_threading_mutex_t *mutex) in mbedtls_test_wrap_mutex_free()
243 static int mbedtls_test_wrap_mutex_lock(mbedtls_threading_mutex_t *mutex) in mbedtls_test_wrap_mutex_lock()
[all …]
Dhelpers.c33 mbedtls_threading_mutex_t mbedtls_test_info_mutex;
306 mbedtls_threading_mutex_t *mbedtls_test_get_info_mutex(void) in mbedtls_test_get_info_mutex()
/mbedtls-3.7.0/programs/test/
Dmetatest.c261 mbedtls_threading_mutex_t mutex; in mutex_lock_not_initialized()
277 mbedtls_threading_mutex_t mutex; in mutex_unlock_not_initialized()
293 mbedtls_threading_mutex_t mutex; in mutex_free_not_initialized()
307 mbedtls_threading_mutex_t mutex; in mutex_double_init()
322 mbedtls_threading_mutex_t mutex; in mutex_double_free()
337 mbedtls_threading_mutex_t mutex; in mutex_leak()
/mbedtls-3.7.0/tests/include/alt-dummy/
Dthreading_alt.h10 typedef struct mbedtls_threading_mutex_t { struct
12 } mbedtls_threading_mutex_t; typedef
/mbedtls-3.7.0/tests/include/test/
Dhelpers.h257 mbedtls_threading_mutex_t *mbedtls_test_get_info_mutex(void);
/mbedtls-3.7.0/programs/ssl/
Dssl_pthread_server.c64 mbedtls_threading_mutex_t debug_mutex;
/mbedtls-3.7.0/tests/suites/
Dtest_suite_psa_crypto.function1350 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(key_loaded_mutex);