Home GnuPG

Fix jent_read_entropy for JENT_CPU_JITTERENTROPY_SECURE_MEMORY.

Description

Fix jent_read_entropy for JENT_CPU_JITTERENTROPY_SECURE_MEMORY.

* random/jitterentropy-base.c (jent_read_entropy): Fix conditional
compile.

The call of jent_random_data had been enabled wrongly, until this
update. But it was safer side for the RNG. Peformance was bad,
though.

  • GnuPG-bug-id: T5523
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Nov 16 2021, 7:05 AM
Parents
rCcf85258e6aff: jitterentropy: Fix for C90 compiler.
Branches
Unknown
Tags
Unknown
Tasks
T5523: jitter entropy RNG update