summaryrefslogtreecommitdiff
path: root/src/random.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/random.h')
-rw-r--r--src/random.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/random.h b/src/random.h
new file mode 100644
index 0000000..e1d8f8b
--- /dev/null
+++ b/src/random.h
@@ -0,0 +1,11 @@
+int
+random_init(void);
+
+int
+random_destroy(void);
+
+void
+random_bytes(unsigned char *out, const unsigned long long length);
+
+void
+randombytes(unsigned char *out, const unsigned long long length);