From d61103aada1e69598792addb026aa9f10137e586 Mon Sep 17 00:00:00 2001 From: lloyd Date: Thu, 10 Sep 2009 00:16:18 +0000 Subject: Add parallel block toggles for CBC and CFB (decrypt direction only) --- src/build-data/buildh.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/build-data/buildh.in') diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in index bd900d412..e0d8368ed 100644 --- a/src/build-data/buildh.in +++ b/src/build-data/buildh.in @@ -22,8 +22,14 @@ #define BOTAN_KARAT_SQR_THRESHOLD 32 #define BOTAN_PRIVATE_KEY_OP_BLINDING_BITS 64 -/* Toggles for parallel block cipher mode processing */ +/* +* Toggles for parallel block cipher mode processing +* +* CBC and CFB can only use parallel processing in decryption mode +*/ #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_XTS 8 -- cgit v1.2.3