aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-04-12 03:25:27 +0000
committerlloyd <[email protected]>2008-04-12 03:25:27 +0000
commitfe767bdcee2b44d23786dad911143f16f5a4162a (patch)
tree0be0d919186be81869640fa8fc1a80acd9ab9e69 /misc
parent66d92bc063a4cbb69e4242a15c3a90daa3db069e (diff)
Make the size of the random value used to blind the private key
operations (to prevent timing attacks) a compile time constant.
Diffstat (limited to 'misc')
-rw-r--r--misc/config/buildh.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/config/buildh.in b/misc/config/buildh.in
index 1976b58e9..46743aac9 100644
--- a/misc/config/buildh.in
+++ b/misc/config/buildh.in
@@ -13,6 +13,7 @@
#define BOTAN_MP_WORD_BITS @{var:mp_bits}
#define BOTAN_DEFAULT_BUFFER_SIZE 4096
#define BOTAN_MEM_POOL_CHUNK_SIZE 64*1024
+#define BOTAN_PRIVATE_KEY_OP_BLINDING_BITS 64
#define BOTAN_KARAT_MUL_THRESHOLD 12
#define BOTAN_KARAT_SQR_THRESHOLD 12