Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bailey27/cppcryptfs
/ Clear
Method
Clear
libcppcryptfs/util/LockZeroBuffer.h:54–58 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
52
DWORD m_len;
53
54
void Clear()
55
{
56
if (m_buf)
57
SecureZeroMemory(m_buf, sizeof(T)*m_len);
58
}
59
60
LockZeroBuffer(DWORD len, bool throw_if_not_locked)
61
{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected