summaryrefslogtreecommitdiffstats
path: root/bsd/freebsd/contrib/ntp/include/ntp_random.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsd/freebsd/contrib/ntp/include/ntp_random.h')
-rw-r--r--bsd/freebsd/contrib/ntp/include/ntp_random.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/bsd/freebsd/contrib/ntp/include/ntp_random.h b/bsd/freebsd/contrib/ntp/include/ntp_random.h
new file mode 100644
index 0000000..fa77f65
--- /dev/null
+++ b/bsd/freebsd/contrib/ntp/include/ntp_random.h
@@ -0,0 +1,17 @@
+
+#include <ntp_types.h>
+
+void ntp_crypto_srandom(void);
+int ntp_crypto_random_buf(void *buf, size_t nbytes);
+
+long ntp_random (void);
+void ntp_srandom (unsigned long);
+void ntp_srandomdev (void);
+char * ntp_initstate (unsigned long, /* seed for R.N.G. */
+ char *, /* pointer to state array */
+ long /* # bytes of state info */
+ );
+char * ntp_setstate (char *); /* pointer to state array */
+
+
+