/freebsd/contrib/unbound/validator/ |
H A D | val_anchor.c | 140 anchors_delete(struct val_anchors* anchors) in anchors_delete() argument 142 if(!anchors) in anchors_delete() 144 lock_unprotect(&anchors->lock, anchors->autr); in anchors_delete() 145 lock_unprotect(&anchors->lock, anchors); in anchors_delete() 146 lock_basic_destroy(&anchors->lock); in anchors_delete() 147 if(anchors->tree) in anchors_delete() 148 traverse_postorder(anchors->tree, anchors_delfunc, NULL); in anchors_delete() 149 free(anchors->tree); in anchors_delete() 150 autr_global_delete(anchors->autr); in anchors_delete() 151 free(anchors); in anchors_delete() [all …]
|
H A D | val_anchor.h | 133 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 D | autotrust.c | 106 autr_get_num_anchors(struct val_anchors* anchors) in autr_get_num_anchors() argument 109 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() 332 autr_tp_create(struct val_anchors* anchors, uint8_t* own, size_t own_len, in autr_tp_create() argument 354 lock_basic_lock(&anchors->lock); in autr_tp_create() 355 if(!rbtree_insert(anchors->tree, &tp->node)) { in autr_tp_create() 357 lock_basic_unlock(&anchors->lock); in autr_tp_create() [all …]
|
H A D | autotrust.h | 150 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 D | validator.c | 138 if(!env->anchors) in val_apply_cfg() 139 env->anchors = anchors_create(); in val_apply_cfg() 140 if(!env->anchors) { in val_apply_cfg() 153 if(!anchors_apply_cfg(env->anchors, cfg)) { in val_apply_cfg() 211 env->anchors); in val_init() 232 anchors_delete(env->anchors); in val_deinit() 233 env->anchors = NULL; in val_deinit() 1808 val_mark_indeterminate(vq->chase_reply, qstate->env->anchors, in processInit() 1813 anchor = anchors_lookup(qstate->env->anchors, in processInit() 1838 anchor = anchors_lookup(qstate->env->anchors, in processInit() [all …]
|
H A D | val_utils.h | 343 struct val_anchors* anchors, struct rrset_cache* r,
|
/freebsd/contrib/bearssl/test/x509/ |
H A D | alltests.txt | 134 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 234 anchors = root [all …]
|
/freebsd/crypto/heimdal/lib/hx509/ |
H A D | test_cms.in | 63 --anchors=FILE:$srcdir/data/secp160r1TestCA.cert.pem \ 77 --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 \ 121 --anchors=FILE:$srcdir/data/test.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 \ [all …]
|
H A D | ks_keychain.c | 316 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 D | hxtool.c | 186 hx509_certs anchors = NULL; in cms_verify_sd() local 203 ret = hx509_certs_init(context, "MEMORY:cms-anchors", 0, NULL, &anchors); in cms_verify_sd() 210 certs_strings(context, "anchors", anchors, lock, &opt->anchors_strings); in cms_verify_sd() 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() 397 certs_strings(context, "anchors", anchors, lock, &opt->anchors_strings); in cms_create_sd() 399 anchors = NULL; in cms_create_sd() 448 anchors, in cms_create_sd() [all …]
|
H A D | cms.c | 1151 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 D | cert.c | 1238 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 D | verify.c | 180 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 D | twrch.c | 256 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 D | server.c | 645 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 D | client.c | 519 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 D | README.txt | 11 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 D | vets.c | 321 ve_anchors_add(br_x509_certificate *xcs, size_t num, anchor_list *anchors, in ve_anchors_add() argument 331 VEC_ADD(*anchors, ta); in ve_anchors_add() 496 anchor_list *anchors) in verify_signer_xcs() argument 515 VEC_LEN(*anchors))); in verify_signer_xcs() 518 &VEC_ELT(*anchors, 0), in verify_signer_xcs() 519 VEC_LEN(*anchors)); in verify_signer_xcs()
|
H A D | README.rst | 6 To do that, the necessary trust anchors need to be available. 16 provide access to the necessary trust anchors.
|
/freebsd/contrib/unbound/daemon/ |
H A D | remote.c | 2346 if(insecure && worker->env.anchors) { in do_forward_add() 2347 if(!anchors_add_insecure(worker->env.anchors, LDNS_RR_CLASS_IN, in do_forward_add() 2379 if(insecure && worker->env.anchors) in do_forward_remove() 2380 anchors_delete_insecure(worker->env.anchors, LDNS_RR_CLASS_IN, in do_forward_remove() 2404 if(insecure && worker->env.anchors) { in do_stub_add() 2405 if(!anchors_add_insecure(worker->env.anchors, LDNS_RR_CLASS_IN, in do_stub_add() 2416 if(insecure && worker->env.anchors) in do_stub_add() 2417 anchors_delete_insecure(worker->env.anchors, in do_stub_add() 2430 if(insecure && worker->env.anchors) in do_stub_add() 2431 anchors_delete_insecure(worker->env.anchors, in do_stub_add() [all …]
|
/freebsd/contrib/bearssl/test/ |
H A D | test_x509.c | 1460 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/sbin/pfctl/tests/files/ |
H A D | pf0100.in | 3 anchor "1/2/3" # test anchors with multiple path components
|
/freebsd/contrib/unbound/doc/ |
H A D | FEATURES | 43 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 D | krb5_locl.h | 346 hx509_certs anchors; member
|
/freebsd/contrib/tcsh/ |
H A D | tcsh.man2html | 62 # 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
|