Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Drandom.c42 static pthread_mutex_t random_seed_mutex = PTHREAD_MUTEX_INITIALIZER; variable
163 return (pkcs11_open_common(&random_seed_fd, &random_seed_mutex, in pkcs11_open_random_seed()
201 pkcs11_close_common(&random_seed_fd, &random_seed_mutex); in pkcs11_close_random_seed()
255 return (pkcs11_write_common(&random_seed_fd, &random_seed_mutex, in pkcs11_write_random_seed()
392 (void) pthread_mutex_lock(&random_seed_mutex); in pkcs11_random_prepare()
401 (void) pthread_mutex_unlock(&random_seed_mutex); in pkcs11_random_parent_post()