1 /* $NetBSD: ntp_random.h,v 1.5 2020/05/25 20:47:19 christos Exp $ */ 2 3 4 #include <ntp_types.h> 5 6 void ntp_crypto_srandom(void); 7 int ntp_crypto_random_buf(void *buf, size_t nbytes); 8 9 long ntp_random (void); 10 void ntp_srandom (unsigned long); 11 void ntp_srandomdev (void); 12 char * ntp_initstate (unsigned long, /* seed for R.N.G. */ 13 char *, /* pointer to state array */ 14 long /* # bytes of state info */ 15 ); 16 char * ntp_setstate (char *); /* pointer to state array */ 17 18 19 20