summaryrefslogtreecommitdiff
path: root/arc4random.c
Commit message (Expand)AuthorAgeFilesLines
* Optimize arc4random_uniform() (by syncing with OpenBSD implementation)Cœur2023-03-021-11/+2
* Exclude arc4random_buf implementation if it's already present in the platform...Srivatsan Iyer2022-11-151-0/+2
* fix: arc4_getword integer overflow, detected by -fsanitize=undefinedjackerli(李剑)2022-10-031-1/+1
* Make rekey interval less predictable (#1331)Keelan Cannoo2022-09-121-3/+7
* Fix O_RDONLY (_O_RDONLY) under mingwAzat Khuzhin2021-04-271-0/+4
* Convert from WinCrypt to Windows BCryptGerry Garvey2020-08-021-13/+3
* Handle return value from getrandom()Gerry Garvey2020-08-021-15/+4
* arc4random: replace sysctl() with getrandom (on linux)Azat Khuzhin2019-09-031-17/+13
* Missing <winerror.h> on win7/MinGW(MINGW32_NT-6.1)/MSYSyuangongji2019-07-111-0/+1
* Remove needless check for arc4_seeded_okSeong-Joong Kim2019-03-011-9/+0
* Add error-handling routine for arc4_seed()Seong-Joong Kim2019-02-211-1/+3
* Merge remote-tracking branch 'origin/patches-2.0'Nick Mathewson2013-08-191-6/+6
|\
| * Really remove RNG seeds from the stackNick Mathewson2013-08-191-6/+6
* | Merge remote-tracking branch 'origin/patches-2.0'Nick Mathewson2013-08-131-2/+4
|\ \ | |/
| * Oops; revert testing codeNick Mathewson2013-08-131-2/+0
| * Avoid other RNG initialization FS reads when urandom file is specifiedNick Mathewson2013-08-131-2/+6
* | Merge remote-tracking branch 'origin/patches-2.0'Nick Mathewson2013-08-061-14/+26
|\ \ | |/
| * Add evutil_secure_rng_set_urandom_device_fileNick Mathewson2013-08-061-14/+26
* | Merge remote-tracking branch 'origin/patches-2.0'Nick Mathewson2013-06-101-0/+2
|\ \ | |/
| * When we seed from /proc/sys/kernel/random/uuid, count it as successNick Mathewson2013-06-101-0/+2
* | Clean up lingering _identifiers.Nick Mathewson2012-02-291-2/+2
* | Have all visible internal function names end with an underscore.Nick Mathewson2012-02-291-4/+4
* | Fix all identifiers with names beginning with underscore.Nick Mathewson2012-02-291-8/+8
* | Convert event-config.h macros to avoid reserved identifiersNick Mathewson2012-02-291-5/+5
* | Merge remote-tracking branch 'origin/patches-2.0'Nick Mathewson2012-02-111-2/+2
|\ \ | |/
| * Make uses of open() close-on-exec safe by introducing evutil_open_closeonexec.Ross Lagerwall2012-02-111-2/+2
* | Merge remote-tracking branch 'origin/patches-2.0'Nick Mathewson2012-02-101-0/+1
|\ \ | |/
| * Update copyright notices to 2012Nick Mathewson2012-02-101-0/+1
* | Merge remote-tracking branch 'origin/patches-2.0'Nick Mathewson2011-12-081-1/+1
|\ \ | |/
| * check for sysctl before we use itMike Frysinger2011-12-081-1/+1
* | Use "_WIN32", not WIN32: it's standard and we don't need to fake itNick Mathewson2011-05-251-5/+5
* | Merge remote branch 'origin/patches-2.0'Nick Mathewson2011-02-081-1/+5
|\ \ | |/
| * Fix a type error in our (unused) arc4random_stir()Nick Mathewson2011-02-081-1/+5
* | Add evconfig-private to remaining filesKevin Bowling2011-01-071-0/+1
|/
* Fix all warnings in the main codebase flagged by -Wsigned-compareNick Mathewson2010-09-231-2/+3
* Numerous opensolaris compilation fixesNick Mathewson2010-05-081-0/+2
* Fix some crazy macro mistakes in arc4random.cNick Mathewson2010-05-081-41/+42
* Try /proc on Linux as entropy fallback; use sysctl as last resortNick Mathewson2010-05-031-5/+54
* Fix a couple of bugs in the BSD sysctl arc4seed logicNick Mathewson2010-04-231-4/+4
* Seed the RNG using sysctl() as well as /dev/urandomNick Mathewson2010-04-231-16/+128
* Fix arc4random compilation on MSVC.Nick Mathewson2010-02-251-3/+5
* Fix getpid() usage on WindowsNick Mathewson2010-02-181-0/+5
* Make RNG work when we have arc4random() but not arc4random_buf()Nick Mathewson2010-02-131-3/+7
* Add an arc4random implementation for use by evdnsNick Mathewson2010-02-111-0/+358