aboutsummaryrefslogtreecommitdiffstats
path: root/src/entropy
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-06-16 14:10:27 +0000
committerlloyd <[email protected]>2010-06-16 14:10:27 +0000
commit155e3146937fec7e93cce7a03f6b3597279a3ec2 (patch)
tree5a7c31c62d15aed33d20c69a0e0983f869e3da8b /src/entropy
parent7671e4eb33b244997c07bd548770b125ddde20d7 (diff)
More Doxygen
Diffstat (limited to 'src/entropy')
-rw-r--r--src/entropy/entropy_src.h4
-rw-r--r--src/entropy/unix_procs/unix_cmd.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/entropy/entropy_src.h b/src/entropy/entropy_src.h
index 898d650ce..fa61d9ea8 100644
--- a/src/entropy/entropy_src.h
+++ b/src/entropy/entropy_src.h
@@ -99,6 +99,10 @@ class BOTAN_DLL Entropy_Accumulator
class BOTAN_DLL Entropy_Accumulator_BufferedComputation : public Entropy_Accumulator
{
public:
+ /**
+ * @param sink the hash or MAC we are feeding the poll data into
+ * @param goal is how many bits we want to collect in this poll
+ */
Entropy_Accumulator_BufferedComputation(BufferedComputation& sink,
u32bit goal) :
Entropy_Accumulator(goal), entropy_sink(sink) {}
diff --git a/src/entropy/unix_procs/unix_cmd.h b/src/entropy/unix_procs/unix_cmd.h
index d233577d1..3abca8f37 100644
--- a/src/entropy/unix_procs/unix_cmd.h
+++ b/src/entropy/unix_procs/unix_cmd.h
@@ -20,6 +20,10 @@ namespace Botan {
*/
struct Unix_Program
{
+ /**
+ * @param n is the name and arguments of what we are going run
+ * @param p is the priority level (lower prio numbers get polled first)
+ */
Unix_Program(const char* n, u32bit p)
{ name_and_args = n; priority = p; working = true; }