MCPcopy Create free account
hub / github.com/bailey27/cppcryptfs / RegisterBuf

Method RegisterBuf

libcppcryptfs/util/KeybufManager.cpp:51–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51void KeybufManager::RegisterBuf(BYTE* p, DWORD len)
52{
53 if (!m_bActive)
54 return;
55
56 if (m_bFinalized)
57 throw std::exception("KeyBufManager::RegisterBuf called while finalized");
58
59 KeyBuf buf;
60
61 buf.ptr = p;
62 buf.len = len;
63
64 m_total_len += len;
65
66 m_bufs.push_back(buf);
67}
68
69bool KeybufManager::Finalize(bool use_key_cache)
70{

Callers 7

SetKeyMethod · 0.45
tabulateLMethod · 0.45
initMethod · 0.45
readMethod · 0.45
encrypt_keyMethod · 0.45
createMethod · 0.45
InitGCMContentKeyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected