If support is present, use rdrand() at resume time. Make the rdrand()
authorderaadt <deraadt@openbsd.org>
Thu, 18 Dec 2014 16:23:25 +0000 (16:23 +0000)
committerderaadt <deraadt@openbsd.org>
Thu, 18 Dec 2014 16:23:25 +0000 (16:23 +0000)
commitf187f1f0cc68068c9db5109012eae278756fa54c
treeca59f2ca4422ce7a6a0ae710ef65f26b727b2dca
parentd3ecf7ceb7b44cd1ba8e11d21f6d33f9b96c31ca
If support is present, use rdrand() at resume time.  Make the rdrand()
function easier to call.
ok reyk djm
sys/arch/amd64/amd64/cpu.c
sys/arch/i386/i386/cpu.c