summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/rng.h
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/eos/rng.h')
-rw-r--r--fw/fe310/eos/rng.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fw/fe310/eos/rng.h b/fw/fe310/eos/rng.h
new file mode 100644
index 0000000..27bbf74
--- /dev/null
+++ b/fw/fe310/eos/rng.h
@@ -0,0 +1,5 @@
+#include <stdlib.h>
+
+int getentropy(unsigned char *b, size_t sz);
+int arc4random_alloc(void **rsp, size_t rsp_size, void **rsxp, size_t rsxp_size);
+void arc4random_close(void **rsp, void **rsxp); \ No newline at end of file