Lines Matching refs:rrsig
448 free(rr->rrsig.signer); in dns_resource_record_free()
449 free(rr->rrsig.signature); in dns_resource_record_free()
651 return a->rrsig.type_covered == b->rrsig.type_covered && in dns_resource_record_payload_equal()
652 a->rrsig.algorithm == b->rrsig.algorithm && in dns_resource_record_payload_equal()
653 a->rrsig.labels == b->rrsig.labels && in dns_resource_record_payload_equal()
654 a->rrsig.original_ttl == b->rrsig.original_ttl && in dns_resource_record_payload_equal()
655 a->rrsig.expiration == b->rrsig.expiration && in dns_resource_record_payload_equal()
656 a->rrsig.inception == b->rrsig.inception && in dns_resource_record_payload_equal()
657 a->rrsig.key_tag == b->rrsig.key_tag && in dns_resource_record_payload_equal()
658 FIELD_EQUAL(a->rrsig, b->rrsig, signature) && in dns_resource_record_payload_equal()
659 dns_name_equal(a->rrsig.signer, b->rrsig.signer); in dns_resource_record_payload_equal()
1001 type = dns_type_to_string(rr->rrsig.type_covered); in dns_resource_record_to_string()
1003 r = dnssec_algorithm_to_string_alloc(rr->rrsig.algorithm, &alg); in dns_resource_record_to_string()
1007 r = format_timestamp_dns(expiration, sizeof(expiration), rr->rrsig.expiration); in dns_resource_record_to_string()
1011 r = format_timestamp_dns(inception, sizeof(inception), rr->rrsig.inception); in dns_resource_record_to_string()
1021 type ? 0 : 1, type ? 0u : (unsigned) rr->rrsig.type_covered, in dns_resource_record_to_string()
1023 rr->rrsig.labels, in dns_resource_record_to_string()
1024 rr->rrsig.original_ttl, in dns_resource_record_to_string()
1027 rr->rrsig.key_tag, in dns_resource_record_to_string()
1028 rr->rrsig.signer); in dns_resource_record_to_string()
1033 rr->rrsig.signature, rr->rrsig.signature_size, in dns_resource_record_to_string()
1414 siphash24_compress(&rr->rrsig.type_covered, sizeof(rr->rrsig.type_covered), state); in dns_resource_record_hash_func()
1415 siphash24_compress(&rr->rrsig.algorithm, sizeof(rr->rrsig.algorithm), state); in dns_resource_record_hash_func()
1416 siphash24_compress(&rr->rrsig.labels, sizeof(rr->rrsig.labels), state); in dns_resource_record_hash_func()
1417 siphash24_compress(&rr->rrsig.original_ttl, sizeof(rr->rrsig.original_ttl), state); in dns_resource_record_hash_func()
1418 siphash24_compress(&rr->rrsig.expiration, sizeof(rr->rrsig.expiration), state); in dns_resource_record_hash_func()
1419 siphash24_compress(&rr->rrsig.inception, sizeof(rr->rrsig.inception), state); in dns_resource_record_hash_func()
1420 siphash24_compress(&rr->rrsig.key_tag, sizeof(rr->rrsig.key_tag), state); in dns_resource_record_hash_func()
1421 dns_name_hash_func(rr->rrsig.signer, state); in dns_resource_record_hash_func()
1422 siphash24_compress_safe(rr->rrsig.signature, rr->rrsig.signature_size, state); in dns_resource_record_hash_func()
1591 copy->rrsig.type_covered = rr->rrsig.type_covered; in dns_resource_record_copy()
1592 copy->rrsig.algorithm = rr->rrsig.algorithm; in dns_resource_record_copy()
1593 copy->rrsig.labels = rr->rrsig.labels; in dns_resource_record_copy()
1594 copy->rrsig.original_ttl = rr->rrsig.original_ttl; in dns_resource_record_copy()
1595 copy->rrsig.expiration = rr->rrsig.expiration; in dns_resource_record_copy()
1596 copy->rrsig.inception = rr->rrsig.inception; in dns_resource_record_copy()
1597 copy->rrsig.key_tag = rr->rrsig.key_tag; in dns_resource_record_copy()
1598 copy->rrsig.signer = strdup(rr->rrsig.signer); in dns_resource_record_copy()
1599 if (!copy->rrsig.signer) in dns_resource_record_copy()
1601 copy->rrsig.signature = memdup(rr->rrsig.signature, rr->rrsig.signature_size); in dns_resource_record_copy()
1602 if (!copy->rrsig.signature) in dns_resource_record_copy()
1604 copy->rrsig.signature_size = rr->rrsig.signature_size; in dns_resource_record_copy()