summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bind/lib/isc/random.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Replace entropy.c, random.c and an outdated arc4random copy withflorian2020-01-091-126/+0
| | | | | | calls to libc's arc4random. Minus about 3k lines. prodding deraadt@
* update to 9.10.8-P1, last isc-licensed releasesthen2019-12-171-4/+4
|
* Update to bind-9.10.5-P3, which appears to have been the last ISC version.deraadt2019-12-161-52/+35
| | | | | | | | | We only use this tree to build dig and nslookup. Our previous version predated edns0 support in those tools, and we want that. This is the worst code I've looked at in years, with layers and layers of spaghetti abstraction clearly unfit for reuse, but then reused anyways, and the old ones remain behind. So this is a 8MB diff. florian, sthen, and otto tried this merge before but failed.
* There is no need to call arc4random_addrandom() and feed it somederaadt2013-09-021-2/+0
| | | | stupid seed that bind has decided on..
* simplify math for arc4random_uniform() suggested bydjm2008-06-091-2/+2
| | | | | | Jinmei_Tatuya AT isc.org via jakob@ empirically verified for entire domain of upper_bound
* fix math screwup that reintroduced a bias for upper_bounds in rangedjm2008-06-041-1/+1
| | | | | | | (2^30,2^31). Nothing in the tree yet requests random numbers bounded by this range. report jakob!deraadt; ok deraadt@
* introduce a isc_random_uniform() function to return a uniformly distributeddjm2008-03-021-5/+46
| | | | | | | number 0 < x <= upper_bound and use it to correct the last tiny bias in the shuffle initialisation feedback & ok deraadt@
* resolve conflictsjakob2007-12-091-2/+4
|
* resolve conflictsjakob2004-09-281-12/+12
|
* update to BIND v9.2.3. ok todd@jakob2003-11-181-4/+22
|
* use arc4random() instead of rand() if availiblejakob2003-01-201-0/+14
|
* ISC BIND version 9.2.2rc1jakob2003-01-201-0/+70