Searched refs:reseed (Results 1 - 8 of 8) sorted by relevance

/freebsd-11-stable/contrib/ntp/lib/isc/
H A Dlfsr.c36 isc_lfsrreseed_t reseed, void *arg)
46 lfsr->reseed = reseed;
49 if (count == 0 && reseed != NULL)
50 reseed(lfsr, arg);
66 * First, give the reseed function a crack at it. If the state is
70 if (lfsr->reseed != NULL)
71 lfsr->reseed(lfsr, lfsr->arg);
109 if (lfsr->count != 0 && lfsr->reseed != NULL) {
111 lfsr->reseed(lfs
34 isc_lfsr_init(isc_lfsr_t *lfsr, isc_uint32_t state, unsigned int bits, isc_uint32_t tap, unsigned int count, isc_lfsrreseed_t reseed, void *arg) argument
[all...]
H A Dentropy.c83 * The number of times we'll "reseed" for pseudorandom seeds. This is an
365 reseed(isc_entropy_t *ent) { function
606 reseed(ent);
/freebsd-11-stable/contrib/ntp/lib/isc/include/isc/
H A Dlfsr.h34 * It MUST set "count" to a new value or the lfsr will never reseed again.
36 * Also, a reseed will never occur in the middle of an extraction. This
49 unsigned int count; /*%< reseed count (in BITS!) */
50 isc_lfsrreseed_t reseed; /*%< reseed function */ member in struct:isc_lfsr
51 void *arg; /*%< reseed function argument */
60 isc_lfsrreseed_t reseed, void *arg);
/freebsd-11-stable/sys/libkern/
H A Darc4random.c81 /* Reset for next reseed cycle. */
160 arc4rand(void *ptr, u_int len, int reseed) argument
166 if (reseed || atomic_cmpset_int(&arc4rand_iniseed_state,
/freebsd-11-stable/sys/netinet/
H A Dtcp_syncache.h110 struct callout reseed; member in struct:syncookie_secret
H A Dtcp_syncache.c286 callout_init(&V_tcp_syncache.secret.reseed, 1);
289 callout_reset(&V_tcp_syncache.secret.reseed, SYNCOOKIE_LIFETIME * hz,
305 callout_drain(&V_tcp_syncache.secret.reseed);
2222 callout_schedule(&sc->secret.reseed, SYNCOOKIE_LIFETIME * hz);
/freebsd-11-stable/contrib/ipfilter/
H A Darc4random.c95 /* Reset for next reseed cycle. */
149 arc4rand(void *ptr, u_int len, int reseed) argument
155 if (reseed ||
/freebsd-11-stable/sys/sys/
H A Dlibkern.h100 void arc4rand(void *ptr, u_int len, int reseed);

Completed in 91 milliseconds