void evutil_secure_rng_add_bytes(const char *buf, size_t n) { #if defined _EVENT_HAVE_ARC4RANDOM_ADDRANDOM arc4random_addrandom((unsigned char*)buf, n>(size_t)INT_MAX ? INT_MAX : (int)n); #endif }
static void rng_reseed(void *unused) { (void)unused; arc4random_addrandom((uint8_t *)&cnt, sizeof cnt); }
void evutil_secure_rng_add_bytes(const char *buf, size_t n) { arc4random_addrandom((unsigned char*)buf, n>(size_t)INT_MAX ? INT_MAX : (int)n); }
void evutil_secure_rng_add_bytes(const char *buf, size_t n) { arc4random_addrandom((unsigned char*)buf, n); }
void evutil_secure_rng_add_bytes(const char *buf, size_t n) { arc4random_addrandom(__UNCONST(buf), n>(size_t)INT_MAX ? INT_MAX : (int)n); }