Try to load entropy data from disk:/etc/random.seed, and additionally
authorderaadt <deraadt@openbsd.org>
Sat, 28 Dec 2013 02:51:06 +0000 (02:51 +0000)
committerderaadt <deraadt@openbsd.org>
Sat, 28 Dec 2013 02:51:06 +0000 (02:51 +0000)
commit2afebeae30e91331fb9f4496daf6b629e95d4d93
tree9dedb71d17f962cf6905aa658a65d0c922f25889
parenta8401cd3de67c28f9d5b83ea351890b9d3473e4f
Try to load entropy data from disk:/etc/random.seed, and additionally
use a MD-supplied random function.  Then, insert this into the ELF
openbsd.randomdata of the kernel, so that it has entropy right from
the start.  Some help from jsing for the softraid aspects.
Also tested by phessler
15 files changed:
sys/arch/alpha/stand/boot/boot.c
sys/arch/amd64/stand/Makefile.inc
sys/arch/amd64/stand/boot/Makefile
sys/arch/amd64/stand/cdboot/Makefile
sys/arch/amd64/stand/pxeboot/Makefile
sys/arch/hppa/stand/cdboot/cdboot.c
sys/arch/i386/stand/Makefile.inc
sys/arch/i386/stand/boot/Makefile
sys/arch/i386/stand/cdboot/Makefile
sys/arch/i386/stand/pxeboot/Makefile
sys/arch/sgi/stand/boot/boot.c
sys/lib/libsa/loadfile_elf.c
sys/lib/libsa/stand.h
sys/stand/boot/boot.c
sys/stand/boot/bootarg.h