aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/buildh.in
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-11-09 18:26:47 +0000
committerlloyd <[email protected]>2013-11-09 18:26:47 +0000
commit8cea1eee440fd02f98657b0feda87aacccb254c6 (patch)
treea10d858750f05d83e6a93164d1d0d4a025c3c12b /src/build-data/buildh.in
parentb1a9d537ca38251636b5f227136d50213db491a1 (diff)
Add to build.h template
Diffstat (limited to 'src/build-data/buildh.in')
-rw-r--r--src/build-data/buildh.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in
index 4e206b192..faafb1ecd 100644
--- a/src/build-data/buildh.in
+++ b/src/build-data/buildh.in
@@ -41,6 +41,13 @@
#define BOTAN_PRIVATE_KEY_STRONG_CHECKS_ON_LOAD 0
#define BOTAN_PRIVATE_KEY_STRONG_CHECKS_ON_GENERATE 1
+/*
+* RNGs will automatically poll the system for additional
+* seed material after producing this many bytes of output.
+*/
+#define BOTAN_RNG_MAX_OUTPUT_BEFORE_RESEED 512
+#define BOTAN_RNG_RESEED_POLL_BITS 128
+
/* Should we use GCC-style inline assembler? */
#if !defined(BOTAN_USE_GCC_INLINE_ASM) && defined(__GNUG__)
#define BOTAN_USE_GCC_INLINE_ASM 1