aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
authorDaniel Neus <[email protected]>2015-12-21 18:10:25 +0100
committerDaniel Neus <[email protected]>2015-12-21 18:21:59 +0100
commit0b021ef91f204fa6326a00c5a1550f5cabc5e3c9 (patch)
tree9b179c8b043fd4bcc137cdeede5a063634a9e09c /src/build-data
parent16c25957a424e7a622ae20e751a9b6ff0fba61b5 (diff)
review changes
* no spaces around if(), for() etc * snake_case for plain functions * anonymous namespace function instead private and static * don't propagate failed poll to the calling application * RdRand retires configurable in build.h
Diffstat (limited to 'src/build-data')
-rw-r--r--src/build-data/buildh.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in
index 84756536d..d709c27af 100644
--- a/src/build-data/buildh.in
+++ b/src/build-data/buildh.in
@@ -180,6 +180,9 @@ Each poll generates 32 bit entropy
*/
#define BOTAN_ENTROPY_INTEL_RNG_POLLS 32
+// According to Intel RdRand is guaranteed to generate a random number within 10 retries on a working CPU
+#define BOTAN_ENTROPY_RDRAND_RETRIES 10
+
/*
* RdSeed is not guaranteed to generate a random number within a specific number of retries
* Define the number of retries here