Lines Matching refs:nsec3

458                         free(rr->nsec3.next_hashed_name);  in dns_resource_record_free()
459 free(rr->nsec3.salt); in dns_resource_record_free()
460 bitmap_free(rr->nsec3.types); in dns_resource_record_free()
666 return a->nsec3.algorithm == b->nsec3.algorithm && in dns_resource_record_payload_equal()
667 a->nsec3.flags == b->nsec3.flags && in dns_resource_record_payload_equal()
668 a->nsec3.iterations == b->nsec3.iterations && in dns_resource_record_payload_equal()
669 FIELD_EQUAL(a->nsec3, b->nsec3, salt) && in dns_resource_record_payload_equal()
670 FIELD_EQUAL(a->nsec3, b->nsec3, next_hashed_name) && in dns_resource_record_payload_equal()
671 bitmap_equal(a->nsec3.types, b->nsec3.types); in dns_resource_record_payload_equal()
1057 if (rr->nsec3.salt_size > 0) { in dns_resource_record_to_string()
1058 salt = hexmem(rr->nsec3.salt, rr->nsec3.salt_size); in dns_resource_record_to_string()
1063 … hash = base32hexmem(rr->nsec3.next_hashed_name, rr->nsec3.next_hashed_name_size, false); in dns_resource_record_to_string()
1067 t = format_types(rr->nsec3.types); in dns_resource_record_to_string()
1073 rr->nsec3.algorithm, in dns_resource_record_to_string()
1074 rr->nsec3.flags, in dns_resource_record_to_string()
1075 rr->nsec3.iterations, in dns_resource_record_to_string()
1076 rr->nsec3.salt_size > 0 ? salt : "-", in dns_resource_record_to_string()
1440 siphash24_compress(&rr->nsec3.algorithm, sizeof(rr->nsec3.algorithm), state); in dns_resource_record_hash_func()
1441 siphash24_compress(&rr->nsec3.flags, sizeof(rr->nsec3.flags), state); in dns_resource_record_hash_func()
1442 siphash24_compress(&rr->nsec3.iterations, sizeof(rr->nsec3.iterations), state); in dns_resource_record_hash_func()
1443 siphash24_compress_safe(rr->nsec3.salt, rr->nsec3.salt_size, state); in dns_resource_record_hash_func()
1444 … siphash24_compress_safe(rr->nsec3.next_hashed_name, rr->nsec3.next_hashed_name_size, state); in dns_resource_record_hash_func()
1629 copy->nsec3.algorithm = rr->nsec3.algorithm; in dns_resource_record_copy()
1630 copy->nsec3.flags = rr->nsec3.flags; in dns_resource_record_copy()
1631 copy->nsec3.iterations = rr->nsec3.iterations; in dns_resource_record_copy()
1632 copy->nsec3.salt = memdup(rr->nsec3.salt, rr->nsec3.salt_size); in dns_resource_record_copy()
1633 if (!copy->nsec3.salt) in dns_resource_record_copy()
1635 copy->nsec3.salt_size = rr->nsec3.salt_size; in dns_resource_record_copy()
1636 …copy->nsec3.next_hashed_name = memdup(rr->nsec3.next_hashed_name, rr->nsec3.next_hashed_name_size); in dns_resource_record_copy()
1637 if (!copy->nsec3.next_hashed_name) in dns_resource_record_copy()
1639 copy->nsec3.next_hashed_name_size = rr->nsec3.next_hashed_name_size; in dns_resource_record_copy()
1640 if (rr->nsec3.types) { in dns_resource_record_copy()
1641 copy->nsec3.types = bitmap_copy(rr->nsec3.types); in dns_resource_record_copy()
1642 if (!copy->nsec3.types) in dns_resource_record_copy()