CVSROOT: /cvs Module name: src Changes by: j...@cvs.openbsd.org 2015/12/26 21:31:35
Modified files: sys/arch/amd64/amd64: autoconf.c cpu.c identcpu.c sys/arch/i386/i386: autoconf.c cpu.c machdep.c Log message: If available prefer the rdseed instruction over rdrand when adding entropy to the kernel rng. If the rdseed source is empty fallback to rdrand as suggested by naddy. rdrand output comes from a prng that is periodically reseeded. rdseed should give us more bits of entropy. ok naddy@ djm@ deraadt@