Skip to content

Latest commit

 

History

History
4 lines (2 loc) · 353 Bytes

README.md

File metadata and controls

4 lines (2 loc) · 353 Bytes

secure_clear

Sensitive data, like passwords or keying data, should be cleared from memory as soon as they are not needed. This requires ensuring the compiler will not optimize the memory overwrite away. This proposal adds a secure_clear function (C) and a secure_clear function template (C++) that guarantee users that a memory area is cleared.