Home GnuPG

jitterentropy: use wipememory for jent_memset_secure

Description

jitterentropy: use wipememory for jent_memset_secure

* random/jitterentropy-base-user.h (jent_memset_secure): Use wipememory.

Patch removes GCC inline assembly dependency on compiler barrier by
instead using wipememory for clearing memory.

  • GnuPG-bug-id: T5523
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Nov 18 2021, 6:26 PM
Parents
rCc38ebc3b6c7d: jitterentropy: fix building on Win32
Branches
Unknown
Tags
Unknown
Tasks
T5523: jitter entropy RNG update