Home
last modified time | relevance | path

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

/third_party/mbedtls/library/
Dthreading.c65 static void threading_mutex_init_pthread(mbedtls_threading_mutex_t *mutex) in threading_mutex_init_pthread()
80 static void threading_mutex_free_pthread(mbedtls_threading_mutex_t *mutex) in threading_mutex_free_pthread()
90 static int threading_mutex_lock_pthread(mbedtls_threading_mutex_t *mutex) in threading_mutex_lock_pthread()
103 static int threading_mutex_unlock_pthread(mbedtls_threading_mutex_t *mutex) in threading_mutex_unlock_pthread()
116 void (*mbedtls_mutex_init)(mbedtls_threading_mutex_t *) = threading_mutex_init_pthread;
117 void (*mbedtls_mutex_free)(mbedtls_threading_mutex_t *) = threading_mutex_free_pthread;
118 int (*mbedtls_mutex_lock)(mbedtls_threading_mutex_t *) = threading_mutex_lock_pthread;
119 int (*mbedtls_mutex_unlock)(mbedtls_threading_mutex_t *) = threading_mutex_unlock_pthread;
129 static int threading_mutex_fail(mbedtls_threading_mutex_t *mutex) in threading_mutex_fail()
134 static void threading_mutex_dummy(mbedtls_threading_mutex_t *mutex) in threading_mutex_dummy()
[all …]
Dmemory_buffer_alloc.c75 mbedtls_threading_mutex_t mutex;
/third_party/mbedtls/include/mbedtls/
Dthreading.h41 typedef struct mbedtls_threading_mutex_t { struct
47 } mbedtls_threading_mutex_t; typedef
72 void mbedtls_threading_set_alt(void (*mutex_init)(mbedtls_threading_mutex_t *),
73 void (*mutex_free)(mbedtls_threading_mutex_t *),
74 int (*mutex_lock)(mbedtls_threading_mutex_t *),
75 int (*mutex_unlock)(mbedtls_threading_mutex_t *));
89 extern void (*mbedtls_mutex_init)(mbedtls_threading_mutex_t *mutex);
90 extern void (*mbedtls_mutex_free)(mbedtls_threading_mutex_t *mutex);
91 extern int (*mbedtls_mutex_lock)(mbedtls_threading_mutex_t *mutex);
92 extern int (*mbedtls_mutex_unlock)(mbedtls_threading_mutex_t *mutex);
[all …]
Dssl_cookie.h71 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex);
Dssl_cache.h84 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex); /*!< mutex */
Dssl_ticket.h90 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex);
Dhmac_drbg.h112 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex);
Dentropy.h131 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex); /*!< mutex */
Dctr_drbg.h210 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex);
Drsa.h126 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex); /*!< Thread-safety mutex. */
/third_party/mbedtls/tests/src/
Dthreading_helpers.c85 void (*init)(mbedtls_threading_mutex_t *);
86 void (*free)(mbedtls_threading_mutex_t *);
87 int (*lock)(mbedtls_threading_mutex_t *);
88 int (*unlock)(mbedtls_threading_mutex_t *);
99 static void mbedtls_test_mutex_usage_error(mbedtls_threading_mutex_t *mutex, in mbedtls_test_mutex_usage_error()
113 static void mbedtls_test_wrap_mutex_init(mbedtls_threading_mutex_t *mutex) in mbedtls_test_wrap_mutex_init()
121 static void mbedtls_test_wrap_mutex_free(mbedtls_threading_mutex_t *mutex) in mbedtls_test_wrap_mutex_free()
144 static int mbedtls_test_wrap_mutex_lock(mbedtls_threading_mutex_t *mutex) in mbedtls_test_wrap_mutex_lock()
166 static int mbedtls_test_wrap_mutex_unlock(mbedtls_threading_mutex_t *mutex) in mbedtls_test_wrap_mutex_unlock()
/third_party/mbedtls/tests/include/alt-dummy/
Dthreading_alt.h22 typedef struct mbedtls_threading_mutex_t { struct
24 } mbedtls_threading_mutex_t; argument
/third_party/mbedtls/programs/ssl/
Dssl_pthread_server.c76 mbedtls_threading_mutex_t debug_mutex;