Searched refs:ectx (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-9.3-release/contrib/bind9/bin/named/include/named/
H A Dtkeyconf.h34 isc_entropy_t *ectx, dns_tkeyctx_t **tctxp);
42 *\li 'ectx' is not NULL
/freebsd-9.3-release/contrib/ntp/lib/isc/tests/
H A Disctest.c40 isc_entropy_t *ectx = NULL; variable
99 CHECK(isc_entropy_create(mctx, &ectx));
101 CHECK(isc_hash_create(mctx, ectx, 255));
149 if (ectx != NULL)
150 isc_entropy_detach(&ectx);
H A Disctest.h43 extern isc_entropy_t *ectx;
/freebsd-9.3-release/contrib/bind9/bin/confgen/
H A Dkeygen.c121 isc_entropy_t *ectx = NULL; local
147 DO("create entropy context", isc_entropy_create(mctx, &ectx));
153 DO("start entropy source", isc_entropy_usebestsource(ectx,
160 DO("initialize dst library", dst_lib_init(mctx, ectx, entropy_flags));
186 isc_entropy_detach(&ectx);
/freebsd-9.3-release/contrib/bind9/bin/dnssec/
H A Ddnssec-revoke.c88 isc_entropy_t *ectx = NULL; local
173 if (ectx == NULL)
174 setup_entropy(mctx, NULL, &ectx);
175 result = isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE);
178 result = dst_lib_init2(mctx, ectx, engine,
183 isc_entropy_stopcallbacksources(ectx);
268 cleanup_entropy(&ectx);
H A Ddnssectool.h63 setup_entropy(isc_mem_t *mctx, const char *randomfile, isc_entropy_t **ectx);
66 cleanup_entropy(isc_entropy_t **ectx);
H A Ddnssec-verify.c79 static isc_entropy_t *ectx = NULL; variable
256 if (ectx == NULL)
257 setup_entropy(mctx, NULL, &ectx);
259 result = isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE);
263 result = dst_lib_init2(mctx, ectx, engine, ISC_ENTROPY_BLOCKING);
319 cleanup_entropy(&ectx);
H A Ddnssec-importkey.c290 isc_entropy_t *ectx = NULL; local
367 if (ectx == NULL)
368 setup_entropy(mctx, NULL, &ectx);
369 result = isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE);
372 result = dst_lib_init(mctx, ectx,
377 isc_entropy_stopcallbacksources(ectx);
422 cleanup_entropy(&ectx);
H A Ddnssec-settime.c131 isc_entropy_t *ectx = NULL; local
342 if (ectx == NULL)
343 setup_entropy(mctx, NULL, &ectx);
344 result = isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE);
347 result = dst_lib_init2(mctx, ectx, engine,
352 isc_entropy_stopcallbacksources(ectx);
616 cleanup_entropy(&ectx);
H A Ddnssec-keyfromlabel.c139 isc_entropy_t *ectx = NULL; local
320 if (ectx == NULL)
321 setup_entropy(mctx, NULL, &ectx);
322 ret = dst_lib_init2(mctx, ectx, engine,
464 isc_entropy_stopcallbacksources(ectx);
575 cleanup_entropy(&ectx);
H A Ddnssec-dsfromkey.c360 isc_entropy_t *ectx = NULL; local
476 if (ectx == NULL)
477 setup_entropy(mctx, NULL, &ectx);
478 result = isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE);
481 result = dst_lib_init(mctx, ectx,
486 isc_entropy_stopcallbacksources(ectx);
547 cleanup_entropy(&ectx);
H A Ddnssec-keygen.c224 isc_entropy_t *ectx = NULL; local
367 setup_entropy(mctx, isc_commandline_argument, &ectx);
489 if (ectx == NULL)
490 setup_entropy(mctx, NULL, &ectx);
491 ret = dst_lib_init2(mctx, ectx, engine,
899 isc_entropy_stopcallbacksources(ectx);
1043 cleanup_entropy(&ectx);
H A Ddnssectool.c219 setup_entropy(isc_mem_t *mctx, const char *randomfile, isc_entropy_t **ectx) { argument
225 REQUIRE(ectx != NULL);
227 if (*ectx == NULL) {
228 result = isc_entropy_create(mctx, ectx);
239 result = isc_entropy_usebestsource(*ectx, &source, randomfile,
258 cleanup_entropy(isc_entropy_t **ectx) { argument
266 isc_entropy_detach(ectx);
/freebsd-9.3-release/contrib/bind9/lib/dns/include/dns/
H A Dtkey.h46 isc_entropy_t *ectx; member in struct:dns_tkeyctx
51 dns_tkeyctx_create(isc_mem_t *mctx, isc_entropy_t *ectx,
/freebsd-9.3-release/contrib/bind9/bin/named/
H A Dtkeyconf.c55 isc_entropy_t *ectx, dns_tkeyctx_t **tctxp)
67 result = dns_tkeyctx_create(mctx, ectx, &tctx);
54 ns_tkeyctx_fromconfig(const cfg_obj_t *options, isc_mem_t *mctx, isc_entropy_t *ectx, dns_tkeyctx_t **tctxp) argument
/freebsd-9.3-release/contrib/bind9/bin/check/
H A Dnamed-checkzone.c55 static isc_entropy_t *ectx = NULL; variable
503 RUNTIME_CHECK(isc_entropy_create(mctx, &ectx) == ISC_R_SUCCESS);
504 RUNTIME_CHECK(isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE)
538 isc_entropy_detach(&ectx);
H A Dnamed-checkconf.c482 isc_entropy_t *ectx = NULL; local
562 RUNTIME_CHECK(isc_entropy_create(mctx, &ectx) == ISC_R_SUCCESS);
563 RUNTIME_CHECK(isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE)
597 isc_entropy_detach(&ectx);
/freebsd-9.3-release/contrib/bind9/lib/isc/include/isc/
H A Dentropy.h278 isc_entropy_usebestsource(isc_entropy_t *ectx, isc_entropysource_t **source,
/freebsd-9.3-release/contrib/ntp/lib/isc/include/isc/
H A Dentropy.h278 isc_entropy_usebestsource(isc_entropy_t *ectx, isc_entropysource_t **source,
/freebsd-9.3-release/sys/dev/drm2/radeon/
H A Datom.c1161 atom_exec_context ectx; local
1174 ectx.ctx = ctx;
1175 ectx.ps_shift = ps / 4;
1176 ectx.start = base;
1177 ectx.ps = params;
1178 ectx.abort = false;
1179 ectx.last_jump = 0;
1181 ectx.ws = malloc(4 * ws, DRM_MEM_DRIVER, M_ZERO | M_WAITOK);
1183 ectx.ws = NULL;
1192 if (ectx
[all...]
/freebsd-9.3-release/contrib/bind9/lib/dns/include/dst/
H A Ddst.h135 dst_lib_init(isc_mem_t *mctx, isc_entropy_t *ectx, unsigned int eflags);
138 dst_lib_init2(isc_mem_t *mctx, isc_entropy_t *ectx,
145 * \li "ectx" is a valid entropy context
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Dtkey.c86 dns_tkeyctx_create(isc_mem_t *mctx, isc_entropy_t *ectx, dns_tkeyctx_t **tctxp) argument
91 REQUIRE(ectx != NULL);
99 tctx->ectx = NULL;
100 isc_entropy_attach(ectx, &tctx->ectx);
132 isc_entropy_detach(&tctx->ectx);
385 result = isc_entropy_getdata(tctx->ectx, randomdata,
746 result = isc_entropy_getdata(tctx->ectx,
/freebsd-9.3-release/contrib/bind9/lib/isc/
H A Dentropy.c1226 isc_entropy_usebestsource(isc_entropy_t *ectx, isc_entropysource_t **source, argument
1233 REQUIRE(VALID_ENTROPY(ectx));
1247 result = isc_entropy_createfilesource(ectx, randomfile);
1258 result = isc_entropy_createcallbacksource(ectx, kbdstart,
/freebsd-9.3-release/contrib/ntp/lib/isc/
H A Dentropy.c1226 isc_entropy_usebestsource(isc_entropy_t *ectx, isc_entropysource_t **source, argument
1233 REQUIRE(VALID_ENTROPY(ectx));
1247 result = isc_entropy_createfilesource(ectx, randomfile);
1258 result = isc_entropy_createcallbacksource(ectx, kbdstart,
/freebsd-9.3-release/contrib/bind9/bin/nsupdate/
H A Dnsupdate.c245 setup_entropy(isc_mem_t *mctx, const char *randomfile, isc_entropy_t **ectx) argument
252 REQUIRE(ectx != NULL);
254 if (*ectx == NULL) {
255 result = isc_entropy_create(mctx, ectx);
266 result = isc_entropy_usebestsource(*ectx, &source, randomfile,
285 cleanup_entropy(isc_entropy_t **ectx) { argument
293 isc_entropy_detach(ectx);
979 parse_args(int argc, char **argv, isc_mem_t *mctx, isc_entropy_t **ectx) { argument
1065 setup_entropy(mctx, isc_commandline_argument, ectx);

Completed in 142 milliseconds

12