summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bind/lib/isc/random.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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