Cleanup, dead code removal, some pretty insignificant security stuff that's based on recommendations.
This commit is contained in:
parent
5f45977e3e
commit
7831c4bfef
6 changed files with 31 additions and 33 deletions
|
@ -380,12 +380,12 @@ public:
|
|||
}
|
||||
|
||||
/**
|
||||
* Unconditionally zero buffer's underlying memory
|
||||
* Unconditionally and securely zero buffer's underlying memory
|
||||
*/
|
||||
inline void zeroAll()
|
||||
inline void burn()
|
||||
throw()
|
||||
{
|
||||
memset(_b,0,sizeof(_b));
|
||||
Utils::burn(_b,sizeof(_b));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue