xref: /freebsd/contrib/ntp/include/ntp_random.h (revision ba3c1f5972d7b90feb6e6da47905ff2757e0fe57)
1 
2 #include <ntp_types.h>
3 
4 void ntp_crypto_srandom(void);
5 int ntp_crypto_random_buf(void *buf, size_t nbytes);
6 
7 long ntp_random (void);
8 double ntp_uurandom(void);
9 void ntp_srandom (unsigned long);
10 void ntp_srandomdev (void);
11 char * ntp_initstate (unsigned long, 	/* seed for R.N.G. */
12 			char *,		/* pointer to state array */
13 			long		/* # bytes of state info */
14 			);
15 char * ntp_setstate (char *);	/* pointer to state array */
16 
17 
18 
19