Name Description Size Coverage
ChangeLog-2011 6641 -
jitterentropy-base-user.h This is Libgcrypt specific platform dependent code. We use a separate file because jitterentropy.h expects such a file. 4113 -
jitterentropy-base.c only check optimization in a compilation for real work 24061 -
jitterentropy.h __KERNEL__ 5970 -
Makefile.am 2117 -
Makefile.in 24487 -
rand-internal.h Constants used to define the origin of random added to the pool. The code is sensitive to the order of the values. 6371 -
random-csprng.c This random number generator is modelled after the one described in Peter Gutmann's 1998 Usenix Security Symposium paper: "Software Generation of Practically Strong Random Numbers". See also chapter 6 in his book "Cryptographic Security Architecture", New York, 2004, ISBN 0-387-95387-6. Note that the acronym CSPRNG stands for "Continuously Seeded PseudoRandom Number Generator" as used in Peter's implementation of the paper and not only for "Cryptographically Secure PseudoRandom Number Generator". 39134 -
random-daemon.c The functions here are used by random.c to divert calls to an external random number daemon. The actual daemon we use is gcryptrnd. Such a daemon is useful to keep a persistent pool in memory over invocations of a single application and to allow prioritizing access to the actual entropy sources. The drawback is that we need to use IPC (i.e. unix domain socket) to convey sensitive data. 8383 -
random-drbg.c 81420 -
random-system.c This RNG is merely wrapper around the system's native RNG. For example on Unix systems it directly uses /dev/{u,}random. 6529 -
random.c This module switches between different implementations of random number generators and provides a few help functions. 17185 -
random.h struct gcry_drbg_test_vector 3325 -
rndegd.c Allocated name of the socket if supplied at runtime. 7086 -
rndhw.c ENABLE_PADLOCK_SUPPORT 6304 -
rndjent.c Decide whether we can support jent at compile time. 11114 -
rndlinux.c Used to open the /dev/random devices (Linux, xBSD, Solaris (if it exists)). If RETRY is true, the function does not terminate with a fatal error but retries until it is able to reopen the device. 11334 -
rndunix.c Unix Randomness-Gathering Code * * Copyright Peter Gutmann, Paul Kendall, and Chris Wedgwood 1996-1999. * Heavily modified for GnuPG by Werner Koch * * * ************************************************************************** 32959 -
rndw32.c Definitions which are missing from the current GNU Windows32Api. 40648 -
rndw32ce.c The Microsoft docs say that it is suggested to see the buffer with some extra random. We do this, despite that it is a questionable suggestion as the OS as better means of collecting entropy than an application. 6243 -