aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/buildh.in
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-12-23 20:25:01 +0000
committerlloyd <[email protected]>2009-12-23 20:25:01 +0000
commit882dd7d7f723e05ecf2c3b2d40d9ac0538b743a5 (patch)
tree0b373528d0c2f04ee680c5d2243d890135d8963a /src/build-data/buildh.in
parent4043de7bbe0785556201925c047a28e1fa3e30f1 (diff)
Define EAX in terms of CTR mode instead of implementing it within EAX_Base.
This is somewhat faster, especially with SIMD-ed ciphers. The ceiling on performance looks to be CMAC, which is iterative and thus can't take advantage of them. Remove BOTAN_PARALLEL_BLOCKS_EAX, since it implicitly is whatever CTR is doing. Bump CTR's default parallel blocks to 16.
Diffstat (limited to 'src/build-data/buildh.in')
-rw-r--r--src/build-data/buildh.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in
index 427184b9d..7588dc99b 100644
--- a/src/build-data/buildh.in
+++ b/src/build-data/buildh.in
@@ -30,8 +30,7 @@
#define BOTAN_PARALLEL_BLOCKS_ECB 8
#define BOTAN_PARALLEL_BLOCKS_CBC 8
#define BOTAN_PARALLEL_BLOCKS_CFB 8
-#define BOTAN_PARALLEL_BLOCKS_CTR 8
-#define BOTAN_PARALLEL_BLOCKS_EAX 8
+#define BOTAN_PARALLEL_BLOCKS_CTR 16
#define BOTAN_PARALLEL_BLOCKS_XTS 8
/* PK key consistency checking toggles */