aboutsummaryrefslogtreecommitdiffstats
path: root/src/rng
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-07-15 15:31:08 +0000
committerlloyd <[email protected]>2009-07-15 15:31:08 +0000
commit1172c616fa849af893c1935b8b1dee085f8aaac8 (patch)
tree48a5308fb8d40fbea9216f7007678543d7a59a4e /src/rng
parent6fd01228840942ad122d1adabb3f7971a4e3b244 (diff)
Add a script that reads the output of print_deps.py and rewrites
the info.txt files with the right module dependencies. Apply it across the codebase.
Diffstat (limited to 'src/rng')
-rw-r--r--src/rng/auto_rng/info.txt12
-rw-r--r--src/rng/hmac_rng/info.txt4
-rw-r--r--src/rng/info.txt4
-rw-r--r--src/rng/randpool/info.txt5
-rw-r--r--src/rng/x931_rng/info.txt2
5 files changed, 20 insertions, 7 deletions
diff --git a/src/rng/auto_rng/info.txt b/src/rng/auto_rng/info.txt
index aa316367e..2f41bc068 100644
--- a/src/rng/auto_rng/info.txt
+++ b/src/rng/auto_rng/info.txt
@@ -4,14 +4,14 @@ define AUTO_SEEDING_RNG
load_on auto
-<requires>
-aes
-sha2
-hmac
-</requires>
-
<add>
auto_rng.h
auto_rng.cpp
</add>
+<requires>
+aes
+hmac
+sha2
+timer
+</requires>
diff --git a/src/rng/hmac_rng/info.txt b/src/rng/hmac_rng/info.txt
index f23f9018a..2c7f13e0a 100644
--- a/src/rng/hmac_rng/info.txt
+++ b/src/rng/hmac_rng/info.txt
@@ -8,3 +8,7 @@ load_on auto
hmac_rng.cpp
hmac_rng.h
</add>
+
+<requires>
+mac
+</requires>
diff --git a/src/rng/info.txt b/src/rng/info.txt
index 8b542b68f..44a41665d 100644
--- a/src/rng/info.txt
+++ b/src/rng/info.txt
@@ -6,3 +6,7 @@ load_on auto
rng.cpp
rng.h
</add>
+
+<requires>
+entropy
+</requires>
diff --git a/src/rng/randpool/info.txt b/src/rng/randpool/info.txt
index 1b2f79b56..cc7f61552 100644
--- a/src/rng/randpool/info.txt
+++ b/src/rng/randpool/info.txt
@@ -8,3 +8,8 @@ load_on auto
randpool.cpp
randpool.h
</add>
+
+<requires>
+block
+mac
+</requires>
diff --git a/src/rng/x931_rng/info.txt b/src/rng/x931_rng/info.txt
index 79e436822..633eb0268 100644
--- a/src/rng/x931_rng/info.txt
+++ b/src/rng/x931_rng/info.txt
@@ -10,5 +10,5 @@ x931_rng.h
</add>
<requires>
-randpool
+block
</requires>