]> git.meshlink.io Git - meshlink/blobdiff - src/xoshiro.h
Replace rand() by xoshiro256** with per-mesh state.
[meshlink] / src / xoshiro.h
diff --git a/src/xoshiro.h b/src/xoshiro.h
new file mode 100644 (file)
index 0000000..fcd5192
--- /dev/null
@@ -0,0 +1,6 @@
+#ifndef MESHLINK_XOSHIRO_H
+#define MESHLINK_XOSHIRO_H
+
+extern uint64_t xoshiro(uint64_t s[4]);
+
+#endif