From 882dd7d7f723e05ecf2c3b2d40d9ac0538b743a5 Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 23 Dec 2009 20:25:01 +0000 Subject: 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. --- src/build-data/buildh.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/build-data/buildh.in') 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 */ -- cgit v1.2.3