summaryrefslogtreecommitdiff
path: root/kit/secure_random.h
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2024-07-14 21:12:37 +0200
committerMitya Selivanov <automainint@guattari.tech>2024-07-14 21:12:37 +0200
commit30740ca4131d1f574718262451b4410207dc8d4e (patch)
treefc88b16a216079397ad85b9c6b1a1c1c5712a814 /kit/secure_random.h
parent5e3c99bb1cf1d03ea006300121265571f5008fd2 (diff)
downloadsaw-30740ca4131d1f574718262451b4410207dc8d4e.zip
Reworking the build system
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