Bitcoin ABC 0.30.5
P2P Digital Currency
Functions
cleanse.cpp File Reference
#include <support/cleanse.h>
#include <cstring>
Include dependency graph for cleanse.cpp:

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: