Lines Matching refs:revoked_dnskey
645 static int dns_trust_anchor_check_revoked_one(DnsTrustAnchor *d, DnsResourceRecord *revoked_dnskey)… in dns_trust_anchor_check_revoked_one() argument
650 assert(revoked_dnskey); in dns_trust_anchor_check_revoked_one()
651 assert(revoked_dnskey->key->type == DNS_TYPE_DNSKEY); in dns_trust_anchor_check_revoked_one()
652 assert(revoked_dnskey->dnskey.flags & DNSKEY_FLAG_REVOKE); in dns_trust_anchor_check_revoked_one()
654 a = hashmap_get(d->positive_by_key, revoked_dnskey->key); in dns_trust_anchor_check_revoked_one()
662 if (anchor->dnskey.protocol != revoked_dnskey->dnskey.protocol) in dns_trust_anchor_check_revoked_one()
665 if (anchor->dnskey.algorithm != revoked_dnskey->dnskey.algorithm) in dns_trust_anchor_check_revoked_one()
668 if (anchor->dnskey.key_size != revoked_dnskey->dnskey.key_size) in dns_trust_anchor_check_revoked_one()
674 …if (((anchor->dnskey.flags ^ revoked_dnskey->dnskey.flags) | DNSKEY_FLAG_REVOKE) != DNSKEY_FLAG_RE… in dns_trust_anchor_check_revoked_one()
677 … if (memcmp(anchor->dnskey.key, revoked_dnskey->dnskey.key, anchor->dnskey.key_size) != 0) in dns_trust_anchor_check_revoked_one()
685 …itive_by_key, &DNS_RESOURCE_KEY_CONST(revoked_dnskey->key->class, DNS_TYPE_DS, dns_resource_key_na… in dns_trust_anchor_check_revoked_one()
697 r = dnssec_verify_dnskey_by_ds(revoked_dnskey, anchor, true); in dns_trust_anchor_check_revoked_one()