aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-12-27 21:04:28 -0500
committerJack Lloyd <[email protected]>2019-01-04 21:23:25 -0500
commite2ee85c5de7df54953559d80e9889dd550550699 (patch)
tree7d2d7daa45833cc6722ed3191e6c79374b141d6d /src/build-data
parent4b1252bc1410d9c6af61ca20f5a1e72fa2d440d4 (diff)
New Memory_Pool implementation
Quite a bit faster than the old version, and with better properties wrt alignment
Diffstat (limited to 'src/build-data')
-rw-r--r--src/build-data/buildh.in7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in
index d37c183cf..6cf73200e 100644
--- a/src/build-data/buildh.in
+++ b/src/build-data/buildh.in
@@ -120,13 +120,6 @@
/* How much to allocate for a buffer of no particular size */
#define BOTAN_DEFAULT_BUFFER_SIZE 1024
-/* Minimum and maximum sizes to allocate out of the mlock pool (bytes)
- Default min is 16 as smaller values are easily bruteforceable and thus
- likely not cryptographic keys.
-*/
-#define BOTAN_MLOCK_ALLOCATOR_MIN_ALLOCATION 16
-#define BOTAN_MLOCK_ALLOCATOR_MAX_ALLOCATION 128
-
/*
* Total maximum amount of RAM (in KiB) we will lock into memory, even
* if the OS would let us lock more