Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libcryptoutil/common/
H A Drandom.c39 static pthread_mutex_t random_mutex = PTHREAD_MUTEX_INITIALIZER; variable
149 return (pkcs11_open_common(&random_fd, &random_mutex, in pkcs11_open_random()
189 pkcs11_close_common(&random_fd, &random_mutex); in pkcs11_close_random()
228 return (pkcs11_read_common(&random_fd, &random_mutex, dbuf, dlen)); in pkcs11_read_random()
390 (void) pthread_mutex_lock(&random_mutex); in pkcs11_random_prepare()
403 (void) pthread_mutex_unlock(&random_mutex); in pkcs11_random_parent_post()