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.
forked from ojeda/secure_clear
-
Notifications
You must be signed in to change notification settings - Fork 0
C23 and C++23 proposal for a `memset_explicit` function and function template for guaranteed memory clears.
License
sarvex/secure_clear
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
C23 and C++23 proposal for a `memset_explicit` function and function template for guaranteed memory clears.
Resources
License
Code of conduct
Security policy
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- HTML 99.2%
- Other 0.8%