MCPcopy Create free account
hub / github.com/ElementsProject/elements / CleanKey

Method CleanKey

src/wallet/crypter.h:86–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 bool SetKey(const CKeyingMaterial& chNewKey, const std::vector<unsigned char>& chNewIV);
85
86 void CleanKey()
87 {
88 memory_cleanse(vchKey.data(), vchKey.size());
89 memory_cleanse(vchIV.data(), vchIV.size());
90 fKeySet = false;
91 }
92
93 CCrypter()
94 {

Callers

nothing calls this directly

Calls 3

memory_cleanseFunction · 0.85
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected