Searched refs:hashed_sname (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/ldns/drill/ |
H A D | dnssec.c | 308 ldns_rdf *sname = NULL, *hashed_sname = NULL; in ldns_nsec3_exact_match() local 353 hashed_sname = ldns_nsec3_hash_name(sname, algorithm, iterations, salt_length, salt); in ldns_nsec3_exact_match() 354 if (hashed_sname == NULL) { in ldns_nsec3_exact_match() 361 if (ldns_dname_cat(hashed_sname, zone_name) != LDNS_STATUS_OK) { in ldns_nsec3_exact_match() 366 ldns_rdf_print(stdout, hashed_sname); in ldns_nsec3_exact_match() 376 if (ldns_dname_compare(ldns_rr_owner(nsec), hashed_sname) == 0) { in ldns_nsec3_exact_match() 386 ldns_rdf_deep_free(hashed_sname); in ldns_nsec3_exact_match() 410 ldns_rdf *sname = NULL, *hashed_sname = NULL, *tmp; in ldns_nsec3_closest_encloser() local 463 hashed_sname = ldns_nsec3_hash_name(sname, algorithm, iterations, salt_length, salt); in ldns_nsec3_closest_encloser() 464 if (hashed_sname == NULL) { in ldns_nsec3_closest_encloser() [all …]
|
/freebsd/contrib/ldns/ |
H A D | dnssec.c | 112 ldns_rdf *sname, *hashed_sname, *tmp; in ldns_dnssec_nsec3_closest_encloser() local 146 hashed_sname = ldns_nsec3_hash_name(sname, in ldns_dnssec_nsec3_closest_encloser() 152 status = ldns_dname_cat(hashed_sname, zone_name); in ldns_dnssec_nsec3_closest_encloser() 157 ldns_rdf_deep_free(hashed_sname); in ldns_dnssec_nsec3_closest_encloser() 167 if (ldns_dname_compare(ldns_rr_owner(nsec), hashed_sname) == 0) { in ldns_dnssec_nsec3_closest_encloser() 169 } else if (ldns_nsec_covers_name(nsec, hashed_sname)) { in ldns_dnssec_nsec3_closest_encloser() 179 ldns_rdf_deep_free(hashed_sname); in ldns_dnssec_nsec3_closest_encloser() 183 ldns_rdf_deep_free(hashed_sname); in ldns_dnssec_nsec3_closest_encloser() 189 ldns_rdf_deep_free(hashed_sname); in ldns_dnssec_nsec3_closest_encloser()
|