crypto: Use getrandom for qcrypto_random_bytes
commitdb1ed1abcf4b219d9824e4a6ae5f9ae364f8d009
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 14 Mar 2019 03:57:28 +0000 (13 20:57 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 22 May 2019 16:38:54 +0000 (22 12:38 -0400)
tree4d755e4839eb9b71fb336f660ae11b5cda6003c6
parente9979ca64e5e4a150f5346de3982f02f54c41076
crypto: Use getrandom for qcrypto_random_bytes

Prefer it to direct use of /dev/urandom.

Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
configure
crypto/random-platform.c