Searched defs:entropy (Results 1 - 6 of 6) sorted by relevance

/bind-9.11.3/lib/dns/
H A Dopenssl_link.c30 #include <isc/entropy.h>
85 entropy_add(const void *buf, int num, double entropy) { argument
91 UNUSED(entropy);
95 entropy_add(const void *buf, int num, double entropy) { argument
101 UNUSED(entropy);
H A Ddispatch.c18 #include <isc/entropy.h>
65 isc_entropy_t *entropy; /*%< entropy source */ member in struct:dns_dispatchmgr
1652 if (mgr->entropy != NULL)
1653 isc_entropy_detach(&mgr->entropy);
1747 dns_dispatchmgr_create(isc_mem_t *mctx, isc_entropy_t *entropy, argument
1845 mgr->entropy = NULL;
1871 if (entropy != NULL)
1872 isc_entropy_attach(entropy, &mgr->entropy);
[all...]
/bind-9.11.3/lib/isc/
H A Dhash.c50 #include <isc/entropy.h>
85 isc_entropy_t *entropy; /*%< entropy source */ member in struct:isc_hash
132 isc_hash_ctxcreate(isc_mem_t *mctx, isc_entropy_t *entropy, argument
182 hctx->entropy = NULL;
187 if (entropy != NULL)
188 isc_entropy_attach(entropy, &hctx->entropy);
209 isc_hash_create(isc_mem_t *mctx, isc_entropy_t *entropy, size_t limit) { argument
220 result = isc_hash_ctxcreate(mctx, entropy, limi
[all...]
H A Drandom.c47 #include <isc/entropy.h>
73 isc_entropy_t *entropy; /*%< entropy source */ member in struct:isc_rng
175 isc_rng_create(isc_mem_t *mctx, isc_entropy_t *entropy, isc_rng_t **rngp) { argument
186 if (entropy != NULL) {
190 result = isc_entropy_getdata(entropy, rnd.rnd,
221 rng->entropy = entropy; /* don't have to attach */
332 if (rng->entropy != NULL) {
336 result = isc_entropy_getdata(rng->entropy, rn
[all...]
H A Dentropy.c9 /* $Id: entropy.c,v 1.22 2010/08/10 23:48:19 tbox Exp $ */
13 * This is the system independent part of the entropy module. It is
15 * \link unix/entropy.c unix/entropy.c \endlink or win32/entropy.c.
26 #include <isc/entropy.h>
58 * Size of entropy pool in 32-bit words. This _MUST_ be a power of 2.
90 isc_uint32_t entropy; /*%< current entropy estimate in bits */ member in struct:__anon218
140 isc_uint32_t total; /*%< entropy fro
223 add_entropy(isc_entropy_t *ent, isc_uint32_t entropy) argument
236 subtract_entropy(isc_entropy_t *ent, isc_uint32_t entropy) argument
308 entropypool_adddata(isc_entropy_t *ent, void *p, unsigned int len, isc_uint32_t entropy) argument
1032 unsigned int entropy; local
1070 isc_entropy_putdata(isc_entropy_t *ent, void *data, unsigned int length, isc_uint32_t entropy) argument
[all...]
/bind-9.11.3/bin/nsupdate/
H A Dnsupdate.c23 #include <isc/entropy.h>
176 static isc_entropy_t *entropy = NULL; variable
268 fatal("could not create entropy object");
281 fatal("could not initialize entropy source: %s",
807 cleanup_entropy(&entropy);
946 setup_entropy(gmctx, NULL, &entropy);
948 result = isc_hash_create(gmctx, entropy, DNS_NAME_MAXWIRE);
952 result = dns_dispatchmgr_create(gmctx, entropy, &dispatchmgr);
970 result = dst_lib_init(gmctx, entropy, 0);
3304 parse_args(argc, argv, gmctx, &entropy);
[all...]

Completed in 37 milliseconds