History log of /openbsd-src/sys/lib/libkern/random.c (Results 1 – 10 of 10)
Revision Date Author Comments
# b27348b2 08-Sep-2017 deraadt <deraadt@openbsd.org>

If you use sys/param.h, you don't need sys/types.h


# 4193b9a6 19-Jan-2014 deraadt <deraadt@openbsd.org>

Initialize ci_randseed better using arc4random() + a trick. Remove the
libkern srandom() API since it is not suitable for this use.
ok kettenis miod


# 6a46a94a 15-Oct-2008 deraadt <deraadt@openbsd.org>

make random(9) return per-cpu values (by saving the seed in the cpuinfo),
which are uniform for the profclock on each cpu in a SMP system (but using
a different seed for each cpu). on all cpus, avoi

make random(9) return per-cpu values (by saving the seed in the cpuinfo),
which are uniform for the profclock on each cpu in a SMP system (but using
a different seed for each cpu). on all cpus, avoid seeding with a value out
of the [0, 2^31-1] range (since that is not stable)
ok kettenis drahn

show more ...


# a26aa419 07-Aug-2004 deraadt <deraadt@openbsd.org>

ansi and some missing protos


# 29295d1c 02-Jun-2003 millert <millert@openbsd.org>

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# c3f6e9cf 07-Nov-1997 niklas <niklas@openbsd.org>

$OpenBSD$


# aaf3c7db 14-Aug-1996 niklas <niklas@openbsd.org>

Remove extra underscore from _randseed


# e14ba3c3 11-Aug-1996 niklas <niklas@openbsd.org>

make -Wstrict-prototypes happy


# 9d9e279b 10-Aug-1996 deraadt <deraadt@openbsd.org>

srandom() seeds random() at boottime


# df930be7 18-Oct-1995 deraadt <deraadt@openbsd.org>

initial import of NetBSD tree