Lines Matching refs:hashed_size
1659 static int nsec3_hashed_domain_format(const uint8_t *hashed, size_t hashed_size, const char *zone, … in nsec3_hashed_domain_format() argument
1664 assert(hashed_size > 0); in nsec3_hashed_domain_format()
1668 l = base32hexmem(hashed, hashed_size, false); in nsec3_hashed_domain_format()
1677 return (int) hashed_size; in nsec3_hashed_domain_format()
1682 int hashed_size; in nsec3_hashed_domain_make() local
1689 hashed_size = dnssec_nsec3_hash(nsec3, domain, hashed); in nsec3_hashed_domain_make()
1690 if (hashed_size < 0) in nsec3_hashed_domain_make()
1691 return hashed_size; in nsec3_hashed_domain_make()
1693 return nsec3_hashed_domain_format(hashed, (size_t) hashed_size, zone, ret); in nsec3_hashed_domain_make()
1711 int hashed_size, r; in dnssec_test_nsec3() local
1755 hashed_size = nsec3_hashed_domain_make(zone_rr, p, zone, &hashed_domain); in dnssec_test_nsec3()
1756 if (hashed_size == -EOPNOTSUPP) { in dnssec_test_nsec3()
1760 if (hashed_size < 0) in dnssec_test_nsec3()
1761 return hashed_size; in dnssec_test_nsec3()
1771 if (enclosure_rr->nsec3.next_hashed_name_size != (size_t) hashed_size) in dnssec_test_nsec3()
1851 if (r != hashed_size) in dnssec_test_nsec3()
1857 if (r != hashed_size) in dnssec_test_nsec3()