Home
last modified time | relevance | path

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

/openssl/crypto/
H A Dinitthread.c264 CRYPTO_THREAD_LOCAL *tlocal = OPENSSL_zalloc(sizeof(*tlocal)); in ossl_thread_event_ctx_new() local
266 if (tlocal == NULL) in ossl_thread_event_ctx_new()
269 if (!CRYPTO_THREAD_init_local(tlocal, NULL)) in ossl_thread_event_ctx_new()
276 if (!CRYPTO_THREAD_set_local(tlocal, hands)) in ossl_thread_event_ctx_new()
289 return tlocal; in ossl_thread_event_ctx_new()
292 CRYPTO_THREAD_cleanup_local(tlocal); in ossl_thread_event_ctx_new()
294 OPENSSL_free(tlocal); in ossl_thread_event_ctx_new()
298 void ossl_thread_event_ctx_free(void *tlocal) in ossl_thread_event_ctx_free() argument
300 CRYPTO_THREAD_cleanup_local(tlocal); in ossl_thread_event_ctx_free()
301 OPENSSL_free(tlocal); in ossl_thread_event_ctx_free()

Completed in 5 milliseconds