Put the entropy_pool[] into the ELF .openbsd.randomdata segment.
authorderaadt <deraadt@openbsd.org>
Sat, 28 Dec 2013 02:58:17 +0000 (02:58 +0000)
committerderaadt <deraadt@openbsd.org>
Sat, 28 Dec 2013 02:58:17 +0000 (02:58 +0000)
commitb0b5275498c413e4dfeca881135c3cc114009e4f
tree3f1d1b674db1ee7ba9cc4e7b6bdf39f6f3ede3e5
parente1630d5bc1196c235a369b91bc350d14733bb4cd
Put the entropy_pool[] into the ELF .openbsd.randomdata segment.
Also allow random_init() to be called later, by moving a few
entropy control initializions into the lower-level _rs_seed() layer.
tested by jsing, phessler and a few others
sys/dev/rnd.c