evutil_rand.c


Log

Author Commit Date CI Message
Nick Mathewson 4ec8fea6 2010-02-13T00:11:44 Make RNG work when we have arc4random() but not arc4random_buf()
Nick Mathewson d4de062e 2010-02-10T17:19:18 Add an arc4random implementation for use by evdns Previously, evdns was at the mercy of the user for providing a good entropy source; without one, it would be vulnerable to various active attacks. This patch adds a port of OpenBSD's arc4random() calls to Libevent [port by Chris Davis], and wraps it up a little bit so we can use it more safely.