Lines Matching refs:ds
436 free(rr->ds.digest); in dns_resource_record_free()
633 return a->ds.key_tag == b->ds.key_tag && in dns_resource_record_payload_equal()
634 a->ds.algorithm == b->ds.algorithm && in dns_resource_record_payload_equal()
635 a->ds.digest_type == b->ds.digest_type && in dns_resource_record_payload_equal()
636 FIELD_EQUAL(a->ds, b->ds, digest); in dns_resource_record_payload_equal()
930 t = hexmem(rr->ds.digest, rr->ds.digest_size); in dns_resource_record_to_string()
936 rr->ds.key_tag, in dns_resource_record_to_string()
937 rr->ds.algorithm, in dns_resource_record_to_string()
938 rr->ds.digest_type, in dns_resource_record_to_string()
1433 siphash24_compress(&rr->ds.key_tag, sizeof(rr->ds.key_tag), state); in dns_resource_record_hash_func()
1434 siphash24_compress(&rr->ds.algorithm, sizeof(rr->ds.algorithm), state); in dns_resource_record_hash_func()
1435 siphash24_compress(&rr->ds.digest_type, sizeof(rr->ds.digest_type), state); in dns_resource_record_hash_func()
1436 siphash24_compress_safe(rr->ds.digest, rr->ds.digest_size, state); in dns_resource_record_hash_func()
1619 copy->ds.key_tag = rr->ds.key_tag; in dns_resource_record_copy()
1620 copy->ds.algorithm = rr->ds.algorithm; in dns_resource_record_copy()
1621 copy->ds.digest_type = rr->ds.digest_type; in dns_resource_record_copy()
1622 copy->ds.digest = memdup(rr->ds.digest, rr->ds.digest_size); in dns_resource_record_copy()
1623 if (!copy->ds.digest) in dns_resource_record_copy()
1625 copy->ds.digest_size = rr->ds.digest_size; in dns_resource_record_copy()