Lines Matching refs:random
81 * Arc4 random number generator for OpenBSD.
91 * regenerate the same random sequence twice, so this can't be used
92 * for encryption, but will generate good random numbers.
251 * Calculate a uniformly distributed random number less than upper_bound
254 * Uniformity is achieved by generating new random numbers until the one
256 * guarantees the selected random number will be inside
344 * Return a "uniformly random" random number.
354 } random;
356 random.r.lo = arc4random();
357 random.r.hi = arc4random();
358 return random.uval;