opnsense-src/contrib/ntp/include/ntp_random.h
Cy Schubert a466cc5537 ntp: import ntp-4.2.8p16
Security:       NtpBUg3767, NtpBug3808, NtpBug3807 (CVE-2023-26555)
MFC after:	immediately
2023-06-01 07:04:37 -07:00

18 lines
429 B
C

#include <ntp_types.h>
void ntp_crypto_srandom(void);
int ntp_crypto_random_buf(void *buf, size_t nbytes);
long ntp_random (void);
double ntp_uurandom(void);
void ntp_srandom (unsigned long);
void ntp_srandomdev (void);
char * ntp_initstate (unsigned long, /* seed for R.N.G. */
char *, /* pointer to state array */
long /* # bytes of state info */
);
char * ntp_setstate (char *); /* pointer to state array */