aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/alloc
Commit message (Collapse)AuthorAgeFilesLines
* Add BOTAN_NOEXCEPT macro to work around missing noexcept in VS 2013.rcdailey2015-03-081-5/+5
| | | | Based on github pull req 23 by Robert Daily.
* Add typedefs for function signatures/types used in TLS for easier readinglloyd2015-01-271-0/+2
|
* Allow reducing the size of the allocated mlock pool via env variablelloyd2015-01-241-9/+27
| | | | | | (BOTAN_MLOCK_POOL_SIZE, specified in decimal KB). Currently we read this even when setuid as the worst a user could do is disable mlock, which they can already do via ulimits.
* Ensure all files have copyright and license info.lloyd2015-01-103-3/+3
| | | | | Update license header line to specify the terms and refer to the file, neither of which it included before.
* Various small fixes and cleanups, new is_prime utillloyd2014-11-031-0/+6
|
* Have clear_mem just be a plain memset and only call the (slow)lloyd2014-08-091-1/+1
| | | | | zero_mem just before a deallocation where we are actually at risk of the compiler eliding the writes.
* Use MADV_DONTDUMP on Linux, equiv to MAP_NOCORE on BSDlloyd2014-04-141-1/+5
|
* NetBSD portability fix and some performance tweaks in locking allocatorlloyd2014-04-051-1/+11
|
* Missing include for std::to_string, noticed with Clang 3.4 w/ libc++lloyd2014-02-161-0/+2
|
* Move lib into srclloyd2014-01-105-0/+503