Lines Matching refs:zone
1659 static int nsec3_hashed_domain_format(const uint8_t *hashed, size_t hashed_size, const char *zone, … in nsec3_hashed_domain_format() argument
1665 assert(zone); in nsec3_hashed_domain_format()
1672 j = strjoin(l, ".", zone); in nsec3_hashed_domain_format()
1680 static int nsec3_hashed_domain_make(DnsResourceRecord *nsec3, const char *domain, const char *zone,… in nsec3_hashed_domain_make() argument
1686 assert(zone); in nsec3_hashed_domain_make()
1693 return nsec3_hashed_domain_format(hashed, (size_t) hashed_size, zone, ret); in nsec3_hashed_domain_make()
1708 const char *zone, *p, *pp = NULL, *wildcard; in dnssec_test_nsec3() local
1722 zone = dns_resource_key_name(key); in dnssec_test_nsec3()
1731 r = dns_name_equal_skip(dns_resource_key_name(zone_rr->key), 1, zone); in dnssec_test_nsec3()
1739 r = dns_name_parent(&zone); in dnssec_test_nsec3()
1755 hashed_size = nsec3_hashed_domain_make(zone_rr, p, zone, &hashed_domain); in dnssec_test_nsec3()
1848 r = nsec3_hashed_domain_make(enclosure_rr, wildcard, zone, &wildcard_domain); in dnssec_test_nsec3()
1854 r = nsec3_hashed_domain_make(enclosure_rr, pp, zone, &next_closer_domain); in dnssec_test_nsec3()
1869 …omain_format(rr->nsec3.next_hashed_name, rr->nsec3.next_hashed_name_size, zone, &next_hashed_domai… in dnssec_test_nsec3()
2262 …_enclosed(DnsAnswer *answer, uint16_t type, const char *name, const char *zone, bool *authenticate… in dnssec_nsec_test_enclosed() argument
2268 assert(zone); in dnssec_nsec_test_enclosed()
2284 r = dns_resource_record_is_signer(rr, zone); in dnssec_nsec_test_enclosed()
2301 r = dns_resource_record_is_signer(rr, zone); in dnssec_nsec_test_enclosed()
2317 zone, in dnssec_nsec_test_enclosed()
2328 zone, in dnssec_nsec_test_enclosed()
2359 const char *zone, in dnssec_test_positive_wildcard_nsec3() argument
2389 return dnssec_nsec_test_enclosed(answer, DNS_TYPE_NSEC3, next_closer, zone, authenticated); in dnssec_test_positive_wildcard_nsec3()
2396 const char *zone, in dnssec_test_positive_wildcard_nsec() argument
2425 r = dnssec_nsec_test_enclosed(answer, DNS_TYPE_NSEC, name, zone, &a); in dnssec_test_positive_wildcard_nsec()
2459 r = dnssec_nsec_test_enclosed(answer, DNS_TYPE_NSEC, wc, zone, &a); in dnssec_test_positive_wildcard_nsec()
2472 const char *zone, in dnssec_test_positive_wildcard() argument
2479 assert(zone); in dnssec_test_positive_wildcard()
2482 r = dns_answer_contains_zone_nsec3(answer, zone); in dnssec_test_positive_wildcard()
2486 … return dnssec_test_positive_wildcard_nsec3(answer, name, source, zone, authenticated); in dnssec_test_positive_wildcard()
2488 … return dnssec_test_positive_wildcard_nsec(answer, name, source, zone, authenticated); in dnssec_test_positive_wildcard()
2554 const char *zone, in dnssec_test_positive_wildcard() argument