]> git.proxmox.com Git - mirror_qemu.git/commit - configure
crypto: add "none" random provider
authorMarek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Wed, 20 May 2020 13:20:23 +0000 (15:20 +0200)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 15 Jun 2020 10:33:50 +0000 (11:33 +0100)
commitb767d2578da4a46ff5e353f14da6364b97df1020
treea9594e3e8e9e109203d905e88fe51039b801fa69
parent7d3660e79830a069f1848bb4fa1cdf8f666424fb
crypto: add "none" random provider

In case of not using random-number needing feature, it makes sense to
skip RNG init too. This is especially helpful when QEMU is sandboxed in
Stubdomain under Xen, where there is very little entropy so initial
getrandom() call delays the startup several seconds. In that setup, no
random bytes are needed at all.

Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
configure
crypto/Makefile.objs
crypto/random-none.c [new file with mode: 0644]