Home
last modified time | relevance | path

Searched refs:anchors (Results 1 – 25 of 64) sorted by relevance

123

/freebsd/contrib/unbound/validator/
H A Dval_anchor.c142 if(!anchors) in anchors_delete()
144 lock_unprotect(&anchors->lock, anchors->autr); in anchors_delete()
145 lock_unprotect(&anchors->lock, anchors); in anchors_delete()
147 if(anchors->tree) in anchors_delete()
149 free(anchors->tree); in anchors_delete()
151 free(anchors); in anchors_delete()
191 lock_basic_lock(&anchors->lock); in init_parents()
208 lock_basic_lock(&anchors->lock); in anchor_find()
1127 init_parents(anchors); in anchors_apply_cfg()
1177 size_t s = sizeof(*anchors); in anchors_get_mem()
[all …]
H A Dval_anchor.h133 void anchors_delete(struct val_anchors* anchors);
141 int anchors_apply_cfg(struct val_anchors* anchors, struct config_file* cfg);
151 void anchors_init_parents_locked(struct val_anchors* anchors);
163 struct trust_anchor* anchors_lookup(struct val_anchors* anchors,
175 struct trust_anchor* anchor_find(struct val_anchors* anchors,
185 struct trust_anchor* anchor_store_str(struct val_anchors* anchors,
193 size_t anchors_get_mem(struct val_anchors* anchors);
205 int anchors_add_insecure(struct val_anchors* anchors, uint16_t c, uint8_t* nm);
214 void anchors_delete_insecure(struct val_anchors* anchors, uint16_t c,
240 int anchor_has_keytag(struct val_anchors* anchors, uint8_t* name, int namelabs,
[all …]
H A Dautotrust.c109 if(!anchors) in autr_get_num_anchors()
111 lock_basic_lock(&anchors->lock); in autr_get_num_anchors()
112 if(anchors->autr) in autr_get_num_anchors()
113 res = anchors->autr->probe.count; in autr_get_num_anchors()
114 lock_basic_unlock(&anchors->lock); in autr_get_num_anchors()
354 lock_basic_lock(&anchors->lock); in autr_tp_create()
357 lock_basic_unlock(&anchors->lock); in autr_tp_create()
368 lock_basic_unlock(&anchors->lock); in autr_tp_create()
379 lock_basic_unlock(&anchors->lock); in autr_tp_create()
880 lock_basic_lock(&anchors->lock); in parse_var_line()
[all …]
H A Dautotrust.h150 size_t autr_get_num_anchors(struct val_anchors* anchors);
169 int autr_read_file(struct val_anchors* anchors, const char* nm);
205 void autr_debug_print(struct val_anchors* anchors);
H A Dvalidator.c137 if(!env->anchors) in val_apply_cfg()
138 env->anchors = anchors_create(); in val_apply_cfg()
139 if(!env->anchors) { in val_apply_cfg()
152 if(!anchors_apply_cfg(env->anchors, cfg)) { in val_apply_cfg()
210 env->anchors); in val_init()
231 anchors_delete(env->anchors); in val_deinit()
232 env->anchors = NULL; in val_deinit()
1804 anchor = anchors_lookup(qstate->env->anchors, in processInit()
1829 anchor = anchors_lookup(qstate->env->anchors, in processInit()
2486 !anchor_has_keytag(qstate->env->anchors, in processFinished()
[all …]
H A Dval_utils.h329 struct val_anchors* anchors, struct rrset_cache* r,
/freebsd/contrib/bearssl/test/x509/
H A Dalltests.txt134 anchors = root
146 anchors =
156 anchors = ica1
167 anchors = ica2
178 anchors = ee
189 anchors = root
200 anchors = root
211 anchors = root
223 anchors = root
473 anchors = ee
[all …]
/freebsd/crypto/heimdal/lib/hx509/
H A Dtest_cms.in77 --anchors=FILE:$srcdir/data/ca.crt \
92 --anchors=FILE:$srcdir/data/ca.crt \
100 --anchors=FILE:$srcdir/data/ca.crt \
114 --anchors=FILE:$srcdir/data/ca.crt \
135 --anchors=FILE:$srcdir/data/ca.crt \
148 --anchors=FILE:$srcdir/data/ca.crt \
162 --anchors=FILE:$srcdir/data/ca.crt \
177 --anchors=FILE:$srcdir/data/ca.crt \
191 --anchors=FILE:$srcdir/data/ca.crt \
207 --anchors=FILE:$srcdir/data/ca.crt \
[all …]
H A Dks_keychain.c316 int anchors; member
335 ctx->anchors = 1; in keychain_init()
394 if (ctx->anchors) { in keychain_iter_start()
395 CFArrayRef anchors; in keychain_iter_start() local
406 ret = SecTrustCopyAnchorCertificates(&anchors); in keychain_iter_start()
414 for (i = 0; i < CFArrayGetCount(anchors); i++) { in keychain_iter_start()
419 cr = (SecCertificateRef)CFArrayGetValueAtIndex(anchors, i); in keychain_iter_start()
430 CFRelease(anchors); in keychain_iter_start()
H A Dhxtool.c186 hx509_certs anchors = NULL; in cms_verify_sd() local
281 hx509_verify_attach_anchors(ctx, anchors); in cms_verify_sd()
315 hx509_certs_free(&anchors); in cms_verify_sd()
364 hx509_certs store, pool, anchors, signer = NULL; in cms_create_sd() local
395 0, NULL, &anchors); in cms_create_sd()
399 anchors = NULL; in cms_create_sd()
448 anchors, in cms_create_sd()
454 hx509_certs_free(&anchors); in cms_create_sd()
862 hx509_certs anchors, chain, certs; in pcert_verify() local
959 hx509_verify_attach_anchors(ctx, anchors); in pcert_verify()
[all …]
H A Dcms.c1151 hx509_certs anchors, in hx509_cms_create_signed_1() argument
1169 digest_alg, certs, peer, anchors, pool, in hx509_cms_create_signed_1()
1186 hx509_certs anchors; member
1379 sigctx->anchors, in sig_process()
1444 hx509_certs anchors, in hx509_cms_create_signed() argument
1492 sigctx.anchors = anchors; in hx509_cms_create_signed()
H A Dcert.c1238 hx509_certs anchors, in _hx509_calculate_path() argument
1256 while (!certificate_is_anchor(context, anchors, current)) { in _hx509_calculate_path()
1258 ret = find_parent(context, time_now, anchors, path, in _hx509_calculate_path()
1280 certificate_is_anchor(context, anchors, path->val[path->len - 1])) in _hx509_calculate_path()
1984 hx509_certs anchors = NULL; in hx509_verify_path() local
2002 anchors = hx509_certs_ref(ctx->trust_anchors); in hx509_verify_path()
2004 anchors = hx509_certs_ref(context->default_trust_anchors); in hx509_verify_path()
2006 ret = hx509_certs_init(context, "MEMORY:no-TA", 0, NULL, &anchors); in hx509_verify_path()
2016 anchors, ctx->max_depth, in hx509_verify_path()
2376 hx509_certs_free(&anchors); in hx509_verify_path()
/freebsd/contrib/bearssl/tools/
H A Dverify.c180 anchor_list anchors = VEC_INIT; in do_verify() local
239 if (read_trust_anchors(&anchors, arg) == 0) { in do_verify()
260 &VEC_ELT(anchors, 0), VEC_LEN(anchors)); in do_verify()
345 VEC_CLEAREXT(anchors, &free_ta_contents); in do_verify()
H A Dtwrch.c256 anchor_list anchors = VEC_INIT; in do_twrch() local
412 if (read_trust_anchors(&anchors, arg) == 0) { in do_twrch()
857 if (is_client || VEC_LEN(anchors) != 0) { in do_twrch()
859 &VEC_ELT(anchors, 0), VEC_LEN(anchors)); in do_twrch()
878 if (VEC_LEN(anchors) == 0) { in do_twrch()
886 &VEC_ELT(anchors, 0), VEC_LEN(anchors)); in do_twrch()
1060 VEC_CLEAREXT(anchors, &free_ta_contents); in do_twrch()
H A Dserver.c645 anchor_list anchors = VEC_INIT; in do_server() local
805 if (read_trust_anchors(&anchors, arg) == 0) { in do_server()
1133 if (VEC_LEN(anchors) != 0) { in do_server()
1135 &VEC_ELT(anchors, 0), VEC_LEN(anchors)); in do_server()
1154 &VEC_ELT(anchors, 0), VEC_LEN(anchors)); in do_server()
1212 VEC_CLEAREXT(anchors, &free_ta_contents); in do_server()
H A Dclient.c519 anchor_list anchors = VEC_INIT; in do_client() local
636 if (read_trust_anchors(&anchors, arg) == 0) { in do_client()
911 &VEC_ELT(anchors, 0), VEC_LEN(anchors)); in do_client()
1019 if (VEC_LEN(anchors) == 0) { in do_client()
1095 VEC_CLEAREXT(anchors, &free_ta_contents); in do_client()
/freebsd/contrib/bearssl/samples/
H A DREADME.txt11 certificate against two hardcoded trust anchors.
24 certificate chains link to the trust anchors that are hardcoded
35 and anchors used by the sample client and server. They are provided
/freebsd/lib/libsecureboot/
H A Dvets.c319 ve_anchors_add(br_x509_certificate *xcs, size_t num, anchor_list *anchors, in ve_anchors_add() argument
329 VEC_ADD(*anchors, ta); in ve_anchors_add()
490 anchor_list *anchors) in verify_signer_xcs() argument
509 VEC_LEN(*anchors))); in verify_signer_xcs()
512 &VEC_ELT(*anchors, 0), in verify_signer_xcs()
513 VEC_LEN(*anchors)); in verify_signer_xcs()
H A DREADME.rst5 To do that, the necessary trust anchors need to be available.
15 provide access to the necessary trust anchors.
/freebsd/contrib/unbound/daemon/
H A Dremote.c2167 if(insecure && worker->env.anchors) { in do_forward_add()
2200 if(insecure && worker->env.anchors) in do_forward_remove()
2225 if(insecure && worker->env.anchors) { in do_stub_add()
2237 if(insecure && worker->env.anchors) in do_stub_add()
2251 if(insecure && worker->env.anchors) in do_stub_add()
2278 if(insecure && worker->env.anchors) in do_stub_remove()
2298 if(worker->env.anchors) { in do_insecure_add()
2319 if(worker->env.anchors) in do_insecure_remove()
2331 if(worker->env.anchors) { in do_insecure_list()
2719 if(worker->env.anchors && in do_list_forwards()
[all …]
/freebsd/sbin/pfctl/tests/files/
H A Dpf0100.in3 anchor "1/2/3" # test anchors with multiple path components
/freebsd/contrib/bearssl/test/
H A Dtest_x509.c1460 br_x509_trust_anchor *anchors; in run_test_case() local
1492 anchors = xmalloc(num_anchors * sizeof *anchors); in run_test_case()
1509 anchors[u].dn.data = tta->dn; in run_test_case()
1510 anchors[u].dn.len = tta->dn_len; in run_test_case()
1511 anchors[u].flags = tta->flags; in run_test_case()
1512 anchors[u].pkey = *tak; in run_test_case()
1545 br_x509_minimal_init(&ctx, dnhash, anchors, num_anchors); in run_test_case()
1673 xfree(anchors); in run_test_case()
/freebsd/contrib/unbound/doc/
H A DFEATURES43 RFC 5011: update of trust anchors with timers.
77 as trust anchors. Also DNSKEYs are allowed, by the way.
/freebsd/crypto/heimdal/lib/krb5/
H A Dkrb5_locl.h346 hx509_certs anchors; member
/freebsd/contrib/tcsh/
H A Dtcsh.man2html62 # Sections in which to put name anchors and the font in which to look for
63 # links to those anchors
177 %name = (); # Array of name anchors
178 @name = () if $index; # Ordered array of name anchors
230 # Look for anchors in the rest of this section if $link_me{$text}
628 # Make all the href anchors in a line; cue on fonts (\fB ... \fR or

123