Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
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.
 

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 call graph for this function:
Here is the caller graph for this function: