summaryrefslogtreecommitdiff
path: root/kit/secure_random.h
diff options
context:
space:
mode:
Diffstat (limited to 'kit/secure_random.h')
-rw-r--r--kit/secure_random.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/kit/secure_random.h b/kit/secure_random.h
new file mode 100644
index 0000000..435fe88
--- /dev/null
+++ b/kit/secure_random.h
@@ -0,0 +1,19 @@
+#ifndef KIT_SECURE_RANDOM_H
+#define KIT_SECURE_RANDOM_H
+
+#include "types.h"
+#include "status.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+s32 kit_secure_random(i64 size, void *data);
+
+#ifdef __cplusplus
+}
+#endif
+
+#define secure_random kit_secure_random
+
+#endif