M5Unit-NFC 0.1.0 git rev:93745b5
Loading...
Searching...
No Matches
secure_zero.hpp File Reference

Secure memory wipe helpers. More...

#include <cstddef>

Go to the source code of this file.

Namespaces

namespace  m5
 Top level namespace of M5Stack.
 

Functions

void m5::nfc::crypto::secure_zero (void *p, const size_t n)
 Securely wipe a memory region (volatile-safe; not optimized away)
 

Detailed Description

Secure memory wipe helpers.

Function Documentation

◆ secure_zero()

void m5::nfc::crypto::secure_zero ( void * p,
const size_t n )
inline

Securely wipe a memory region (volatile-safe; not optimized away)

Parameters
pPointer to memory to wipe
nNumber of bytes to wipe