Lines Matching refs:hash_wc
31 if(!a->nsec3->hash_wc) return (b->nsec3->hash_wc?-1:0); in cmp_hash_tree()
32 if(!b->nsec3->hash_wc) return 1; in cmp_hash_tree()
33 return memcmp(a->nsec3->hash_wc->hash.hash, in cmp_hash_tree()
34 b->nsec3->hash_wc->hash.hash, NSEC3_HASH_LEN); in cmp_hash_tree()
45 if(!a->nsec3->hash_wc) return (b->nsec3->hash_wc?-1:0); in cmp_wchash_tree()
46 if(!b->nsec3->hash_wc) return 1; in cmp_wchash_tree()
47 return memcmp(a->nsec3->hash_wc->wc.hash, in cmp_wchash_tree()
48 b->nsec3->hash_wc->wc.hash, NSEC3_HASH_LEN); in cmp_wchash_tree()
134 if(domain->nsec3->hash_wc) { in nsec3_lookup_hash_and_wc()
138 domain->nsec3->hash_wc = (nsec3_hash_wc_node_type *) in nsec3_lookup_hash_and_wc()
140 domain->nsec3->hash_wc->hash.node.key = NULL; in nsec3_lookup_hash_and_wc()
141 domain->nsec3->hash_wc->wc.node.key = NULL; in nsec3_lookup_hash_and_wc()
142 nsec3_hash_and_store(zone, dname, domain->nsec3->hash_wc->hash.hash); in nsec3_lookup_hash_and_wc()
145 nsec3_hash_and_store(zone, wcard, domain->nsec3->hash_wc->wc.hash); in nsec3_lookup_hash_and_wc()
397 if (walk->nsec3->hash_wc) { in nsec3_clear_precompile()
399 walk->nsec3->hash_wc, in nsec3_clear_precompile()
401 walk->nsec3->hash_wc = NULL; in nsec3_clear_precompile()
531 cmp_hash_tree, domain, &domain->nsec3->hash_wc->hash.node); in nsec3_precompile_domain()
533 cmp_wchash_tree, domain, &domain->nsec3->hash_wc->wc.node); in nsec3_precompile_domain()
536 exact = nsec3_find_cover(zone, domain->nsec3->hash_wc->hash.hash, in nsec3_precompile_domain()
537 sizeof(domain->nsec3->hash_wc->hash.hash), &result); in nsec3_precompile_domain()
544 (void)nsec3_find_cover(zone, domain->nsec3->hash_wc->wc.hash, in nsec3_precompile_domain()
545 sizeof(domain->nsec3->hash_wc->wc.hash), &result); in nsec3_precompile_domain()
656 { memcpy(d->nsec3->hash_wc->hash.hash, hash, NSEC3_HASH_LEN); } in init_lookup_key_hash_tree()
660 { memcpy(d->nsec3->hash_wc->wc.hash, hash, NSEC3_HASH_LEN); } in init_lookup_key_wc_tree()
673 nsec3_hash_wc_node_type hash_wc; in process_first() local
680 hash_wc.hash.node.key = NULL; in process_first()
681 hash_wc.wc.node.key = NULL; in process_first()
682 n.hash_wc = &hash_wc; in process_first()
707 nsec3_hash_wc_node_type hash_wc; in process_end() local
714 hash_wc.hash.node.key = NULL; in process_end()
715 hash_wc.wc.node.key = NULL; in process_end()
716 n.hash_wc = &hash_wc; in process_end()