1 /* $NetBSD: ntp_random.h,v 1.6 2024/08/18 20:46:50 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 double ntp_uurandom(void); 11 void ntp_srandom (unsigned long); 12 void ntp_srandomdev (void); 13 char * ntp_initstate (unsigned long, /* seed for R.N.G. */ 14 char *, /* pointer to state array */ 15 long /* # bytes of state info */ 16 ); 17 char * ntp_setstate (char *); /* pointer to state array */ 18 19 20 21