Searched refs:sec_malloc_lock (Results 1 – 1 of 1) sorted by relevance
61 static CRYPTO_RWLOCK *sec_malloc_lock = NULL; variable80 sec_malloc_lock = CRYPTO_THREAD_lock_new(); in CRYPTO_secure_malloc_init()81 if (sec_malloc_lock == NULL) in CRYPTO_secure_malloc_init()86 CRYPTO_THREAD_lock_free(sec_malloc_lock); in CRYPTO_secure_malloc_init()87 sec_malloc_lock = NULL; in CRYPTO_secure_malloc_init()103 CRYPTO_THREAD_lock_free(sec_malloc_lock); in CRYPTO_secure_malloc_done()104 sec_malloc_lock = NULL; in CRYPTO_secure_malloc_done()129 CRYPTO_THREAD_write_lock(sec_malloc_lock); in CRYPTO_secure_malloc()133 CRYPTO_THREAD_unlock(sec_malloc_lock); in CRYPTO_secure_malloc()161 CRYPTO_THREAD_write_lock(sec_malloc_lock); in CRYPTO_secure_free()[all …]