Lines Matching refs:dnskey
444 free(rr->dnskey.key); in dns_resource_record_free()
644 return a->dnskey.flags == b->dnskey.flags && in dns_resource_record_payload_equal()
645 a->dnskey.protocol == b->dnskey.protocol && in dns_resource_record_payload_equal()
646 a->dnskey.algorithm == b->dnskey.algorithm && in dns_resource_record_payload_equal()
647 FIELD_EQUAL(a->dnskey, b->dnskey, key); in dns_resource_record_payload_equal()
964 r = dnssec_algorithm_to_string_alloc(rr->dnskey.algorithm, &alg); in dns_resource_record_to_string()
970 rr->dnskey.flags, in dns_resource_record_to_string()
971 rr->dnskey.protocol, in dns_resource_record_to_string()
977 rr->dnskey.key, rr->dnskey.key_size, in dns_resource_record_to_string()
986 rr->dnskey.flags & DNSKEY_FLAG_SEP ? " SEP" : "", in dns_resource_record_to_string()
987 rr->dnskey.flags & DNSKEY_FLAG_REVOKE ? " REVOKE" : "", in dns_resource_record_to_string()
988 rr->dnskey.flags & DNSKEY_FLAG_ZONE_KEY ? " ZONE_KEY" : "", in dns_resource_record_to_string()
1407 siphash24_compress(&rr->dnskey.flags, sizeof(rr->dnskey.flags), state); in dns_resource_record_hash_func()
1408 siphash24_compress(&rr->dnskey.protocol, sizeof(rr->dnskey.protocol), state); in dns_resource_record_hash_func()
1409 siphash24_compress(&rr->dnskey.algorithm, sizeof(rr->dnskey.algorithm), state); in dns_resource_record_hash_func()
1410 siphash24_compress_safe(rr->dnskey.key, rr->dnskey.key_size, state); in dns_resource_record_hash_func()
1581 copy->dnskey.flags = rr->dnskey.flags; in dns_resource_record_copy()
1582 copy->dnskey.protocol = rr->dnskey.protocol; in dns_resource_record_copy()
1583 copy->dnskey.algorithm = rr->dnskey.algorithm; in dns_resource_record_copy()
1584 copy->dnskey.key = memdup(rr->dnskey.key, rr->dnskey.key_size); in dns_resource_record_copy()
1585 if (!copy->dnskey.key) in dns_resource_record_copy()
1587 copy->dnskey.key_size = rr->dnskey.key_size; in dns_resource_record_copy()