Bitcoin ABC  0.29.2
P2P Digital Currency
Functions
cleanse.h File Reference
#include <cstdlib>
Include dependency graph for cleanse.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void memory_cleanse (void *ptr, size_t len)
 Secure overwrite a buffer (possibly containing secret data) with zero-bytes. More...
 

Function Documentation

◆ memory_cleanse()

void memory_cleanse ( void *  ptr,
size_t  len 
)

Secure overwrite a buffer (possibly containing secret data) with zero-bytes.

The write operation will not be optimized out by the compiler.

Definition at line 14 of file cleanse.cpp.

Here is the caller graph for this function: