aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/mlocker.h (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2018-08-16common: add a class to safely wrap mlock/munlockmoneromooo-monero1-36/+43
This class will allow mlocking small objects, of which there may be several per page. It adds refcounting so pages are only munlocked when the last object on that page munlocks.
2018-01-26Readd copyright starting datexmr-eric1-1/+1
2018-01-26Update 2018 copyrightxmr-eric1-1/+1
2018-01-18Remove is_pod trait, and replace with is_standard_layout requirementLee Clagett1-10/+6
2018-01-10move memwipe to epee to avoid common<->crypto circular dependenciesmoneromooo-monero1-0/+0
2017-12-16Scrub keys from memory just before scope end.moneromooo-monero1-0/+43
Partially implements #74. Securely erases keys from memory after they are no longer needed. Might have a performance impact, which I haven't measured (perf measurements aren't generally reliable on laptops). Thanks to @stoffu for the suggestion to specialize the pod_to_hex/hex_to_pod functions. Using overloads + SFINAE instead generalizes it so other types can be marked as scrubbed without adding more boilerplate.
2017-11-27add a memwipe functionmoneromooo-monero1-5/+7
It's meant to avoid being optimized out memory_cleanse lifted from bitcoin
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni1-1/+1
2015-12-31updated copyright yearRiccardo Spagni1-1/+1
2015-01-02year updated in licenseRiccardo Spagni1-1/+1
2014-07-23License updated to BSD 3-clausefluffypony1-3/+29
2014-03-03moved all stuff to githubAntonio Juarez1-0/+13