aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/mlock.h
Commit message (Collapse)AuthorAgeFilesLines
* s/u32bit/size_t/ in utilslloyd2010-10-131-2/+2
|
* At startup, test if lock_mem() at least seems to work. If it doesn't,lloyd2010-03-131-0/+5
| | | | | immediately fall back the the plain malloc-based allocator, which is typically quite a bit faster.
* Make many more headers internal-only.lloyd2009-12-161-2/+2
| | | | | | | | | | | | | Fixes for the amalgamation generator for internal headers. Remove BOTAN_DLL exporting macros from all internal-only headers; the classes/functions there don't need to be exported, and avoiding the PIC/GOT indirection can be a big win. Add missing BOTAN_DLLs where necessary, mostly gfpmath and cvc For GCC, use -fvisibility=hidden and set BOTAN_DLL to the visibility __attribute__ to export those classes/functions.
* Move memory locking function decls to mlock.hlloyd2009-09-171-0/+32
Inline round_up and round_down