Home
last modified time | relevance | path

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

/openssl/crypto/rand/
H A Drand_lib.c45 static CRYPTO_RWLOCK *rand_meth_lock; variable
61 rand_meth_lock = CRYPTO_THREAD_lock_new(); in DEFINE_RUN_ONCE_STATIC()
62 if (rand_meth_lock == NULL) in DEFINE_RUN_ONCE_STATIC()
74 CRYPTO_THREAD_lock_free(rand_meth_lock); in DEFINE_RUN_ONCE_STATIC()
75 rand_meth_lock = NULL; in DEFINE_RUN_ONCE_STATIC()
102 CRYPTO_THREAD_lock_free(rand_meth_lock); in ossl_rand_cleanup_int()
103 rand_meth_lock = NULL; in ossl_rand_cleanup_int()
181 CRYPTO_THREAD_unlock(rand_meth_lock); in rand_set_rand_method_internal()
197 if (!CRYPTO_THREAD_read_lock(rand_meth_lock)) in RAND_get_rand_method()
200 CRYPTO_THREAD_unlock(rand_meth_lock); in RAND_get_rand_method()
[all …]

Completed in 8 milliseconds