summaryrefslogtreecommitdiffstats
path: root/crypto/random-platform.c
Commit message (Collapse)AuthorAgeFilesLines
* crypto: use /dev/[u]random as a final fallback random sourceDaniel P. Berrange2016-07-211-0/+64
If neither gcrypt or gnutls are available to provide a cryptographic random number generator, fallback to consuming bytes directly from /dev/[u]random. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>