aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/buildh.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/build-data/buildh.in')
-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