summaryrefslogtreecommitdiff
path: root/modules/getentropy
diff options
context:
space:
mode:
Diffstat (limited to 'modules/getentropy')
-rw-r--r--modules/getentropy29
1 files changed, 29 insertions, 0 deletions
diff --git a/modules/getentropy b/modules/getentropy
new file mode 100644
index 0000000000..9696c1e1d5
--- /dev/null
+++ b/modules/getentropy
@@ -0,0 +1,29 @@
+Description:
+Fill buffer with random bytes.
+
+Files:
+lib/getentropy.c
+m4/getentropy.m4
+
+Depends-on:
+getrandom [test $HAVE_GETENTROPY = 0]
+extensions
+unistd
+
+configure.ac:
+gl_FUNC_GETENTROPY
+if test $HAVE_GETENTROPY = 0; then
+ AC_LIBOBJ([getentropy])
+fi
+gl_UNISTD_MODULE_INDICATOR([getentropy])
+
+Makefile.am:
+
+Include:
+<unistd.h>
+
+License:
+LGPL
+
+Maintainer:
+all