Searched refs:digest (Results 1 - 6 of 6) sorted by relevance

/systemd/src/resolve/
H A Dresolved-dns-trust-anchor.c81 rr->ds.digest = memdup(root_digest, rr->ds.digest_size);
82 if (!rr->ds.digest)
224 _cleanup_free_ char *key_tag = NULL, *algorithm = NULL, *digest_type = NULL, *digest = NULL; local
230 r = extract_many_words(&p, NULL, 0, &key_tag, &algorithm, &digest_type, &digest, NULL);
252 log_warning("Failed to parse DS digest type %s on line %s:%u", digest_type, path, line);
256 r = unhexmem(digest, strlen(digest), &dd, &l);
258 log_warning("Failed to parse DS digest %s on line %s:%u", digest, path, line);
270 rr->ds.digest
[all...]
H A Dresolved-dns-rr.h64 /* DNSSEC digest identifiers, see
229 void *digest; member in struct:DnsResourceRecord::__anon231::__anon246
H A Dtest-dnssec.c241 ds1->ds.digest = memdup(ds1_fprint, ds1->ds.digest_size);
242 assert_se(ds1->ds.digest);
253 ds2->ds.digest = memdup(ds2_fprint, ds2->ds.digest_size);
254 assert_se(ds2->ds.digest);
H A Dresolved-dns-rr.c457 free(rr->ds.digest);
657 FIELD_EQUAL(a->ds, b->ds, digest);
938 t = hexmem(rr->ds.digest, rr->ds.digest_size);
1414 siphash24_compress(rr->ds.digest, rr->ds.digest_size, state);
H A Dresolved-dns-packet.c946 r = dns_packet_append_blob(p, rr->ds.digest, rr->ds.digest_size, NULL);
1817 &rr->ds.digest, &rr->ds.digest_size,
H A Dresolved-dns-dnssec.c554 * digest identifier.
722 /* We need the wire format for ordering, and digest calculation */
739 /* OK, the RRs are now in canonical order. Let's calculate the digest */
1027 /* Translates a DNSSEC digest algorithm into a gcrypt digest identifier */
1108 r = memcmp(result, ds->ds.digest, ds->ds.digest_size) != 0;
1143 return 0; /* The DNSKEY is revoked or otherwise invalid, or we don't support the digest algorithm */
1155 /* Translates a DNSSEC NSEC3 hash algorithm into a gcrypt digest identifier */

Completed in 30 milliseconds