aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/buildh.in
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-09-10 00:16:18 +0000
committerlloyd <[email protected]>2009-09-10 00:16:18 +0000
commitd61103aada1e69598792addb026aa9f10137e586 (patch)
tree63919dc41daabc2e8e351d03669ad272f0685f43 /src/build-data/buildh.in
parent93fb1c376618574b8abd3d2e01fa1dd58e2a9cf5 (diff)
Add parallel block toggles for CBC and CFB (decrypt direction only)
Diffstat (limited to 'src/build-data/buildh.in')
-rw-r--r--src/build-data/buildh.in8
1 files changed, 7 insertions, 1 deletions
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