Home
last modified time | relevance | path

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

/openssl/crypto/rand/
H A Drand_lib.c42 static CRYPTO_RWLOCK *rand_engine_lock; variable
55 rand_engine_lock = CRYPTO_THREAD_lock_new(); in DEFINE_RUN_ONCE_STATIC()
56 if (rand_engine_lock == NULL) in DEFINE_RUN_ONCE_STATIC()
78 CRYPTO_THREAD_lock_free(rand_engine_lock); in DEFINE_RUN_ONCE_STATIC()
79 rand_engine_lock = NULL; in DEFINE_RUN_ONCE_STATIC()
98 CRYPTO_THREAD_lock_free(rand_engine_lock); in ossl_rand_cleanup_int()
99 rand_engine_lock = NULL; in ossl_rand_cleanup_int()
245 if (!CRYPTO_THREAD_write_lock(rand_engine_lock)) { in RAND_set_rand_engine()
252 CRYPTO_THREAD_unlock(rand_engine_lock); in RAND_set_rand_engine()

Completed in 8 milliseconds