summaryrefslogtreecommitdiff
path: root/ot_random.h
diff options
context:
space:
mode:
Diffstat (limited to 'ot_random.h')
-rw-r--r--ot_random.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/ot_random.h b/ot_random.h
deleted file mode 100644
index c2d0387..0000000
--- a/ot_random.h
+++ /dev/null
@@ -1,17 +0,0 @@
1/* This software was written by Dirk Engling <erdgeist@erdgeist.org>
2 It is considered beerware. Prost. Skol. Cheers or whatever. */
3
4#ifndef OT_RANDOM_H__
5#define OT_RANDOM_H__
6
7#include <stddef.h>
8#include <stdint.h>
9
10/* Seed whatever generator the build settled on. A no-op when backed by
11 arc4random, which seeds itself from the kernel. */
12void random_init(void);
13
14uint32_t random_uint32(void);
15void random_bytes(void *buf, size_t len);
16
17#endif