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