xref: /freebsd/contrib/ntp/include/ntp_random.h (revision 3c4ba5f55438f7afd4f4b0b56f88f2bb505fd6a6)
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 void ntp_srandom (unsigned long);
9 void ntp_srandomdev (void);
10 char * ntp_initstate (unsigned long, 	/* seed for R.N.G. */
11 			char *,		/* pointer to state array */
12 			long		/* # bytes of state info */
13 			);
14 char * ntp_setstate (char *);	/* pointer to state array */
15 
16 
17 
18