From 87cbaef441c6baba2699a8ea53ac2562c46c772d Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 16 Dec 2009 00:32:49 +0000 Subject: Full working amalgamation build, plus internal-only headers concept. --- src/rng/auto_rng/auto_rng.cpp | 20 ++++++++++---------- src/rng/auto_rng/info.txt | 7 ------- src/rng/hmac_rng/info.txt | 7 ------- src/rng/info.txt | 7 ------- src/rng/randpool/info.txt | 7 ------- src/rng/x931_rng/info.txt | 7 ------- 6 files changed, 10 insertions(+), 45 deletions(-) (limited to 'src/rng') diff --git a/src/rng/auto_rng/auto_rng.cpp b/src/rng/auto_rng/auto_rng.cpp index 6906d9d17..5befc9d14 100644 --- a/src/rng/auto_rng/auto_rng.cpp +++ b/src/rng/auto_rng/auto_rng.cpp @@ -28,35 +28,35 @@ #endif #if defined(BOTAN_HAS_ENTROPY_SRC_HIGH_RESOLUTION_TIMER) - #include + #include #endif -#if defined(BOTAN_HAS_ENTROPY_SRC_DEVICE) - #include +#if defined(BOTAN_HAS_ENTROPY_SRC_DEV_RANDOM) + #include #endif #if defined(BOTAN_HAS_ENTROPY_SRC_EGD) - #include + #include #endif #if defined(BOTAN_HAS_ENTROPY_SRC_UNIX) - #include + #include #endif #if defined(BOTAN_HAS_ENTROPY_SRC_BEOS) - #include + #include #endif #if defined(BOTAN_HAS_ENTROPY_SRC_CAPI) - #include + #include #endif #if defined(BOTAN_HAS_ENTROPY_SRC_WIN32) - #include + #include #endif #if defined(BOTAN_HAS_ENTROPY_SRC_FTW) - #include + #include #endif namespace Botan { @@ -72,7 +72,7 @@ void add_entropy_sources(RandomNumberGenerator* rng) rng->add_entropy_source(new High_Resolution_Timestamp); #endif -#if defined(BOTAN_HAS_ENTROPY_SRC_DEVICE) +#if defined(BOTAN_HAS_ENTROPY_SRC_DEV_RANDOM) rng->add_entropy_source( new Device_EntropySource( split_on("/dev/urandom:/dev/random:/dev/srandom", ':') diff --git a/src/rng/auto_rng/info.txt b/src/rng/auto_rng/info.txt index 357dc17ad..0f7cee282 100644 --- a/src/rng/auto_rng/info.txt +++ b/src/rng/auto_rng/info.txt @@ -1,12 +1,5 @@ define AUTO_SEEDING_RNG -load_on auto - - -auto_rng.h -auto_rng.cpp - - hmac sha2 diff --git a/src/rng/hmac_rng/info.txt b/src/rng/hmac_rng/info.txt index f6135ee5a..5facd4aae 100644 --- a/src/rng/hmac_rng/info.txt +++ b/src/rng/hmac_rng/info.txt @@ -1,12 +1,5 @@ define HMAC_RNG -load_on auto - - -hmac_rng.cpp -hmac_rng.h - - mac diff --git a/src/rng/info.txt b/src/rng/info.txt index eea122cf9..4c88ba382 100644 --- a/src/rng/info.txt +++ b/src/rng/info.txt @@ -1,10 +1,3 @@ -load_on auto - - -rng.cpp -rng.h - - entropy diff --git a/src/rng/randpool/info.txt b/src/rng/randpool/info.txt index cab276e15..cc54e5d06 100644 --- a/src/rng/randpool/info.txt +++ b/src/rng/randpool/info.txt @@ -1,12 +1,5 @@ define RANDPOOL -load_on auto - - -randpool.cpp -randpool.h - - block mac diff --git a/src/rng/x931_rng/info.txt b/src/rng/x931_rng/info.txt index 35836b33b..d5ec68013 100644 --- a/src/rng/x931_rng/info.txt +++ b/src/rng/x931_rng/info.txt @@ -1,12 +1,5 @@ define X931_RNG -load_on auto - - -x931_rng.cpp -x931_rng.h - - block -- cgit v1.2.3