mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-08-08 13:39:25 -04:00
20 lines
472 B
C
20 lines
472 B
C
/* $NetBSD: ntp_random.h,v 1.3 2015/07/10 14:20:29 christos Exp $ */
|
|
|
|
|
|
#include <ntp_types.h>
|
|
|
|
void ntp_crypto_srandom(void);
|
|
int ntp_crypto_random_buf(void *buf, size_t nbytes);
|
|
|
|
long ntp_random (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 */
|
|
|
|
|
|
|