diff options
author | lloyd <[email protected]> | 2010-02-25 06:04:42 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-02-25 06:04:42 +0000 |
commit | db1b57b499ad34a49adf4a2c53651d79c470b4f2 (patch) | |
tree | 29f2a209ce43549981ceab0e6c0b079691984970 /src/build-data/buildh.in | |
parent | 3ed1e1f8e9928d7242c233919e1255ffb6b41144 (diff) |
Instead of the mode parallelism being specified via macros, have it
depend on the particular implementation. Add a new virtual function to
BlockCipher named parallelism that returns the number of blocks the
cipher object could or might want to process in parallel. Currently
set to 1 by default but may make sense to increase this for even
scalar implementations since it seems like better caching behavior
makes it a win.
Diffstat (limited to 'src/build-data/buildh.in')
-rw-r--r-- | src/build-data/buildh.in | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in index 231a7aeeb..6412d8a6a 100644 --- a/src/build-data/buildh.in +++ b/src/build-data/buildh.in @@ -22,17 +22,6 @@ #define BOTAN_KARAT_SQR_THRESHOLD 32 #define BOTAN_PRIVATE_KEY_OP_BLINDING_BITS 64 -/* -* Toggles for parallel block cipher mode processing -* -* CBC and CFB can only use parallel processing in decryption mode -*/ -#define BOTAN_PARALLEL_BLOCKS_ECB 16 -#define BOTAN_PARALLEL_BLOCKS_CBC 16 -#define BOTAN_PARALLEL_BLOCKS_CFB 16 -#define BOTAN_PARALLEL_BLOCKS_CTR 16 -#define BOTAN_PARALLEL_BLOCKS_XTS 16 - /* PK key consistency checking toggles */ #define BOTAN_PUBLIC_KEY_STRONG_CHECKS_ON_LOAD 1 #define BOTAN_PRIVATE_KEY_STRONG_CHECKS_ON_LOAD 1 |