diff options
author | lloyd <[email protected]> | 2012-06-19 14:01:54 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-06-19 14:01:54 +0000 |
commit | 50e5fa86a27603e463e7e70c1e76f4fe0215e022 (patch) | |
tree | 77b6de31fd3ee4cb6bbf832f4aa306ec9eca9d04 /src/build-data | |
parent | 9d65cb180326ed3009529695da170f3e23c71d0f (diff) |
Remove BOTAN_MEM_POOL_CHUNK_SIZE macro from build.h, no longer used.
Move Karatsuba cutoffs to mp_karat.cpp as that is the only place that
uses them and I doubt these get tweaked much (ever).
Diffstat (limited to 'src/build-data')
-rw-r--r-- | src/build-data/buildh.in | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in index 4668811bc..4e3788c65 100644 --- a/src/build-data/buildh.in +++ b/src/build-data/buildh.in @@ -25,15 +25,14 @@ #define BOTAN_DLL %{visibility_attribute} #endif -/* Chunk sizes */ +/* How much to allocate for a buffer of no particular size */ #define BOTAN_DEFAULT_BUFFER_SIZE 1024 -#define BOTAN_MEM_POOL_CHUNK_SIZE 64*1024 + +/* Multiplier on a block cipher's native parallelism */ #define BOTAN_BLOCK_CIPHER_PAR_MULT 4 -/* BigInt toggles */ +/* How many bits per limb in a BigInt */ #define BOTAN_MP_WORD_BITS %{mp_bits} -#define BOTAN_KARAT_MUL_THRESHOLD 32 -#define BOTAN_KARAT_SQR_THRESHOLD 32 /* PK key consistency checking toggles */ #define BOTAN_PUBLIC_KEY_STRONG_CHECKS_ON_LOAD 1 |