secmem: Prepare for easier debugging.

Authored by werner on Dec 12 2018, 8:34 AM.

Description

secmem: Prepare for easier debugging.

* src/secmem.c (_gcry_secmem_dump_stats): Factor code out to ...
(secmem_dump_stats_internal): new.

This allows to insert call to the dump function during debug sessions
inside of the allocators or call secmem_dump_stats_internal from gdb.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Committed
wernerDec 12 2018, 8:43 AM
Parents
rC66d2b7fc1725: rijndael-aesni: interleave last CTR encryption round with xoring
Branches
Unknown
Tags
Unknown