Searched defs:ectx (Results 1 - 25 of 36) sorted by relevance

12

/bind-9.11.3/lib/dns/include/dns/
H A Dtkey.h37 isc_entropy_t *ectx; member in struct:dns_tkeyctx
42 dns_tkeyctx_create(isc_mem_t *mctx, isc_entropy_t *ectx,
/bind-9.11.3/bin/named/
H A Dtkeyconf.c46 isc_entropy_t *ectx, dns_tkeyctx_t **tctxp)
58 result = dns_tkeyctx_create(mctx, ectx, &tctx);
45 ns_tkeyctx_fromconfig(const cfg_obj_t *options, isc_mem_t *mctx, isc_entropy_t *ectx, dns_tkeyctx_t **tctxp) argument
/bind-9.11.3/lib/isc/tests/
H A Disctest.c32 isc_entropy_t *ectx = NULL; variable
97 CHECK(isc_entropy_create(mctx, &ectx));
99 CHECK(isc_hash_create(mctx, ectx, 255));
147 if (ectx != NULL)
148 isc_entropy_detach(&ectx);
/bind-9.11.3/bin/confgen/
H A Dkeygen.c124 isc_entropy_t *ectx = NULL; local
152 DO("create entropy context", isc_entropy_create(mctx, &ectx));
158 DO("start entropy source", isc_entropy_usebestsource(ectx,
165 DO("initialize dst library", dst_lib_init(mctx, ectx, entropy_flags));
191 isc_entropy_detach(&ectx);
/bind-9.11.3/bin/dnssec/
H A Ddnssec-revoke.c87 isc_entropy_t *ectx = NULL; local
180 if (ectx == NULL)
181 setup_entropy(mctx, NULL, &ectx);
182 result = isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE);
185 result = dst_lib_init2(mctx, ectx, engine,
190 isc_entropy_stopcallbacksources(ectx);
273 cleanup_entropy(&ectx);
H A Ddnssec-verify.c73 static isc_entropy_t *ectx = NULL; variable
278 if (ectx == NULL)
279 setup_entropy(mctx, NULL, &ectx);
281 result = isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE);
285 result = dst_lib_init2(mctx, ectx, engine, ISC_ENTROPY_BLOCKING);
341 cleanup_entropy(&ectx);
H A Ddnssec-dsfromkey.c361 isc_entropy_t *ectx = NULL; local
495 if (ectx == NULL)
496 setup_entropy(mctx, NULL, &ectx);
497 result = isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE);
500 result = dst_lib_init(mctx, ectx,
505 isc_entropy_stopcallbacksources(ectx);
568 cleanup_entropy(&ectx);
H A Ddnssec-importkey.c299 isc_entropy_t *ectx = NULL; local
406 if (ectx == NULL)
407 setup_entropy(mctx, NULL, &ectx);
408 result = isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE);
411 result = dst_lib_init(mctx, ectx,
416 isc_entropy_stopcallbacksources(ectx);
461 cleanup_entropy(&ectx);
H A Ddnssec-keyfromlabel.c153 isc_entropy_t *ectx = NULL; local
354 if (ectx == NULL)
355 setup_entropy(mctx, NULL, &ectx);
356 ret = dst_lib_init2(mctx, ectx, engine,
621 isc_entropy_stopcallbacksources(ectx);
740 cleanup_entropy(&ectx);
H A Ddnssec-settime.c139 isc_entropy_t *ectx = NULL; local
378 if (ectx == NULL)
379 setup_entropy(mctx, NULL, &ectx);
380 result = isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE);
383 result = dst_lib_init2(mctx, ectx, engine,
388 isc_entropy_stopcallbacksources(ectx);
674 cleanup_entropy(&ectx);
/bind-9.11.3/bin/tests/
H A Dmakejournal.c38 isc_entropy_t *ectx = NULL; variable
99 CHECK(isc_entropy_create(mctx, &ectx));
101 CHECK(isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE));
104 CHECK(dst_lib_init(mctx, ectx, ISC_ENTROPY_BLOCKING));
157 if (ectx != NULL)
158 isc_entropy_detach(&ectx);
H A Dadb_test.c46 static isc_entropy_t *ectx = NULL; variable
306 result = isc_entropy_create(mctx, &ectx);
308 result = isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE);
421 isc_entropy_detach(&ectx);
H A Dbyname_test.c39 static isc_entropy_t *ectx = NULL; variable
208 RUNTIME_CHECK(isc_entropy_create(mctx, &ectx) == ISC_R_SUCCESS);
209 RUNTIME_CHECK(isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE)
357 isc_entropy_detach(&ectx);
/bind-9.11.3/bin/tests/system/rsabigexponent/
H A Dbigkey.c126 isc_entropy_t *ectx; variable
183 CHECK(isc_entropy_create(mctx, &ectx), "isc_entropy_create()");
184 CHECK(isc_entropy_usebestsource(ectx, &source,
188 CHECK(dst_lib_init2(mctx, ectx, NULL, 0), "dst_lib_init2()");
233 isc_entropy_detach(&ectx);
/bind-9.11.3/contrib/sdb/pgsql/
H A Dzonetodb.c136 isc_entropy_t *ectx = NULL; local
158 result = isc_entropy_create(mctx, &ectx);
161 result = isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE);
279 isc_entropy_detach(&ectx);
/bind-9.11.3/bin/tests/system/tkey/
H A Dkeydelete.c146 isc_entropy_t *ectx; local
168 ectx = NULL;
169 RUNCHECK(isc_entropy_create(mctx, &ectx));
170 RUNCHECK(isc_entropy_createfilesource(ectx, "../random.data"));
171 RUNCHECK(isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE));
177 RUNCHECK(dst_lib_init(mctx, ectx, ISC_ENTROPY_GOODONLY));
209 RUNCHECK(dns_tkeyctx_create(mctx, ectx, &tctx));
262 isc_entropy_detach(&ectx);
H A Dkeycreate.c213 isc_entropy_t *ectx; local
238 ectx = NULL;
239 RUNCHECK(isc_entropy_create(mctx, &ectx));
240 RUNCHECK(isc_entropy_createfilesource(ectx, "../random.data"));
241 RUNCHECK(isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE));
247 RUNCHECK(dst_lib_init(mctx, ectx, ISC_ENTROPY_GOODONLY));
279 RUNCHECK(dns_tkeyctx_create(mctx, ectx, &tctx));
298 result = isc_entropy_getdata(ectx, noncedata, sizeof(noncedata),
328 isc_entropy_detach(&ectx);
/bind-9.11.3/contrib/sdb/sqlite/
H A Dzone2sqlite.c151 isc_entropy_t *ectx = NULL; local
170 result = isc_entropy_create(mctx, &ectx);
172 result = isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE);
292 isc_entropy_detach(&ectx);
/bind-9.11.3/bin/check/
H A Dnamed-checkzone.c47 static isc_entropy_t *ectx = NULL; variable
522 RUNTIME_CHECK(isc_entropy_create(mctx, &ectx) == ISC_R_SUCCESS);
523 RUNTIME_CHECK(isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE)
557 isc_entropy_detach(&ectx);
H A Dnamed-checkconf.c517 isc_entropy_t *ectx = NULL; local
624 RUNTIME_CHECK(isc_entropy_create(mctx, &ectx) == ISC_R_SUCCESS);
625 RUNTIME_CHECK(isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE)
659 isc_entropy_detach(&ectx);
/bind-9.11.3/bin/tests/dst/
H A Ddst_test.c230 isc_entropy_t *ectx = NULL; local
250 result = isc_entropy_create(mctx, &ectx);
253 result = isc_entropy_createfilesource(ectx, "randomfile");
256 dst_lib_init(mctx, ectx, ISC_ENTROPY_BLOCKING|ISC_ENTROPY_GOODONLY);
285 isc_entropy_detach(&ectx);
H A Dgsstest.c444 isc_entropy_t *ectx; local
480 ectx = NULL;
481 RUNCHECK(isc_entropy_create(mctx, &ectx));
482 RUNCHECK(isc_entropy_createfilesource(ectx, "/dev/urandom"));
484 RUNCHECK(dst_lib_init(mctx, ectx, ISC_ENTROPY_GOODONLY));
495 RUNCHECK(dns_dispatchmgr_create(mctx, ectx, &dispatchmgr));
552 isc_entropy_detach(&ectx);
H A Dt_dst.c419 isc_entropy_t *ectx; local
440 ectx = NULL;
441 isc_result = isc_entropy_create(mctx, &ectx);
448 isc_result = isc_entropy_createfilesource(ectx, "randomfile");
455 isc_result = dst_lib_init(mctx, ectx, ISC_ENTROPY_BLOCKING);
520 isc_entropy_detach(&ectx);
/bind-9.11.3/bin/tests/system/pipelined/
H A Dpipequeries.c204 isc_entropy_t *ectx; local
242 ectx = NULL;
243 RUNCHECK(isc_entropy_create(mctx, &ectx));
244 RUNCHECK(isc_entropy_createfilesource(ectx, "../random.data"));
245 RUNCHECK(isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE));
247 RUNCHECK(dst_lib_init(mctx, ectx, ISC_ENTROPY_GOODONLY));
259 RUNCHECK(dns_dispatchmgr_create(mctx, ectx, &dispatchmgr));
302 isc_entropy_detach(&ectx);
/bind-9.11.3/lib/dns/tests/
H A Ddnstest.c47 isc_entropy_t *ectx = NULL; variable
118 CHECK(isc_entropy_create(mctx, &ectx));
120 CHECK(isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE));
123 CHECK(dst_lib_init(mctx, ectx, ISC_ENTROPY_BLOCKING));
177 if (ectx != NULL)
178 isc_entropy_detach(&ectx);

Completed in 54 milliseconds

12