aboutsummaryrefslogtreecommitdiff
path: root/src/allocators.h
AgeCommit message (Collapse)Author
2012-08-23Handle locked pages more robustly (Fixes issue #1462)Wladimir J. van der Laan
Memory locks do not stack, that is, pages which have been locked several times by calls to mlock() will be unlocked by a single call to munlock(). This can result in keying material ending up in swap when those functions are used naively. In this commit a class "LockedPageManager" is added that simulates stacking memory locks by keeping a counter per page.
2012-06-08Update comment about secure_allocator<>Pieter Wuille
2012-05-18Update License in File HeadersFordy
I originally created a pull to replace the "COPYING" in crypter.cpp and crypter.h, but it turned out that COPYING was actually the correct file.
2012-04-20Add missing includes. (Fix bulding under GCC 4.7)Timothy Redaelli
2012-04-17Remove headers.hPieter Wuille
2012-04-04remove dependency on serialize.h and util.h for SecureStringWladimir J. van der Laan