Home GnuPG

random: Include getentropy random module.

Description

random: Include getentropy random module.

* random/rand-internal.h (_gcry_rndgetentropy_gather_random): Add.
* random/random-csprng.c [USE_RNDLINUX] (_gcry_rngcsprng_close_fds)
(getfnc_gather_random): Support getentropy random module.
* random/random-drbg.c: Likewise.
* random/random-fips.c: Likewise.
* random/random-system.c: Likewise.
* src/global.c [USE_RNDLINUX] (print_config): Show getentropy.
  • GnuPG-bug-id: T5636
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details