Searched refs:wnr_mutex (Results 1 – 5 of 5) sorted by relevance
134 wolfSSL_Mutex wnr_mutex; /* global netRandom mutex */ variable1351 if (wc_InitMutex(&wnr_mutex) != 0) { in wc_InitNetRandom()1357 if (wc_LockMutex(&wnr_mutex) != 0) { in wc_InitNetRandom()1397 wc_UnLockMutex(&wnr_mutex); in wc_InitNetRandom()1410 if (wc_LockMutex(&wnr_mutex) != 0) { in wc_FreeNetRandom()1421 wc_UnLockMutex(&wnr_mutex); in wc_FreeNetRandom()1423 wc_FreeMutex(&wnr_mutex); in wc_FreeNetRandom()2260 if (wc_LockMutex(&wnr_mutex) != 0) { in wc_GenerateSeed()2269 wc_UnLockMutex(&wnr_mutex); in wc_GenerateSeed()