aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-03-14 19:06:02 -0400
committerJack Lloyd <[email protected]>2018-03-14 19:06:02 -0400
commitcfdb729661c6ea3f6fcbbfdc09cf86d0e7cc127c (patch)
treeb0bd3b10cf96160d5d31797d20872a1a5f4f18c8
parentba8a26f17d921a2c8f757d68aade966beb9ef5f4 (diff)
Remove PROV_TYPE from build.h
-rw-r--r--src/build-data/buildh.in15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in
index b2bc0ea4b..d42e85ac4 100644
--- a/src/build-data/buildh.in
+++ b/src/build-data/buildh.in
@@ -153,6 +153,7 @@
*/
#define BOTAN_RNG_DEFAULT_RESEED_INTERVAL 1024
#define BOTAN_RNG_RESEED_POLL_BITS 256
+
#define BOTAN_RNG_AUTO_RESEED_TIMEOUT std::chrono::milliseconds(10)
#define BOTAN_RNG_RESEED_DEFAULT_TIMEOUT std::chrono::milliseconds(50)
@@ -174,14 +175,6 @@
* These control the RNG used by the system RNG interface
*/
#define BOTAN_SYSTEM_RNG_DEVICE "/dev/urandom"
-#define BOTAN_SYSTEM_RNG_CRYPTOAPI_PROV_TYPE PROV_RSA_FULL
-
-/*
-* These paramaters control how many bytes to read from the system
-* PRNG, and how long to block if applicable.
-*
-* Timeout is ignored on Windows as CryptGenRandom doesn't block
-*/
#define BOTAN_SYSTEM_RNG_POLL_DEVICES { "/dev/urandom", "/dev/random", "/dev/srandom" }
/*
@@ -192,10 +185,14 @@
*/
#define BOTAN_ENTROPY_PROC_FS_PATH "/proc"
+/*
+* These paramaters control how many bytes to read from the system
+* PRNG, and how long to block if applicable. The timeout only applies
+* to reading /dev/urandom and company.
+*/
#define BOTAN_SYSTEM_RNG_POLL_REQUEST 64
#define BOTAN_SYSTEM_RNG_POLL_TIMEOUT_MS 20
-
/*
How many times to read from the RDRAND/RDSEED RNGs.
Each read generates 32 bits of output