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

/freebsd-12-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-12-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-12-stable/sys/libkern/
H A Darc4random.c109 /* Reset for next reseed cycle. */
155 arc4rand(void *ptr, u_int len, int reseed) argument
162 if (reseed || atomic_cmpset_int(&arc4rand_iniseed_state, ARC4_ENTR_HAVE, ARC4_ENTR_SEED))
/freebsd-12-stable/sys/netinet/
H A Dtcp_syncache.h114 struct callout reseed; member in struct:syncookie_secret
H A Dtcp_syncache.c299 callout_init(&V_tcp_syncache.secret.reseed, 1);
302 callout_reset(&V_tcp_syncache.secret.reseed, SYNCOOKIE_LIFETIME * hz,
318 callout_drain(&V_tcp_syncache.secret.reseed);
2286 callout_schedule(&sc->secret.reseed, SYNCOOKIE_LIFETIME * hz);
/freebsd-12-stable/crypto/openssl/crypto/rand/
H A Drand_local.h26 /* Maximum reseed intervals */
30 /* Default reseed intervals */
109 /* reseed */
131 RAND_DRBG_reseed_fn reseed; member in struct:rand_drbg_method_st
193 * openssl_get_fork_id(). Used to provide fork-safety and reseed this
237 /* Counts the number of generate requests since the last reseed. */
240 * Maximum number of generate requests until a reseed is required.
253 * Enables reseed propagation (see following comment)
H A Ddrbg_lib.c441 if (!drbg->meth->reseed(drbg, entropy, entropylen, adin, adinlen))
551 drbg->meth->reseed(drbg, adin, adinlen, NULL, 0);
715 * Set the reseed interval.
717 * The drbg will reseed automatically whenever the number of generate
718 * requests exceeds the given reseed interval. If the reseed interval
732 * Set the reseed time interval.
734 * The drbg will reseed automatically whenever the time elapsed since
735 * the last reseeding exceeds the given reseed time interval. For safety,
750 * Set the default values for reseed (tim
[all...]
/freebsd-12-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 ||

Completed in 95 milliseconds