summaryrefslogtreecommitdiff
path: root/src/lib/intmath/weakrng.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/intmath/weakrng.c')
-rw-r--r--src/lib/intmath/weakrng.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/intmath/weakrng.c b/src/lib/intmath/weakrng.c
index 2ecab97cc1..36cf5fb0aa 100644
--- a/src/lib/intmath/weakrng.c
+++ b/src/lib/intmath/weakrng.c
@@ -3,6 +3,15 @@
* Copyright (c) 2007-2018, The Tor Project, Inc. */
/* See LICENSE for licensing information */
+/**
+ * \file weakrng.c
+ *
+ * \brief A weak but fast PRNG based on a linear congruential generator.
+ *
+ * We don't want to use the platform random(), since some of them are even
+ * worse than this.
+ **/
+
#include "lib/intmath/weakrng.h"
#include "lib/err/torerr.h"