aboutsummaryrefslogtreecommitdiffstats
path: root/random.h
diff options
context:
space:
mode:
Diffstat (limited to 'random.h')
-rw-r--r--random.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/random.h b/random.h
index 9654b2c..a6608da 100644
--- a/random.h
+++ b/random.h
@@ -6,8 +6,11 @@
#ifndef __RANDOM_H__
#define __RANDOM_H__
+#include <stdbool.h>
+#include <stddef.h>
#include <stdint.h>
+bool get_random_bytes(uint8_t *out, size_t len);
uint64_t random_u64();
uint64_t random_bounded(uint64_t bound);