blob: ad2e59cf30012a166c9ec22bb7f8e76573ef1d18 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* $NetBSD: ntp_random.h,v 1.5 2020/05/25 20:47:19 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 */
|