Searched defs:algorithm (Results 1 - 3 of 3) sorted by relevance

/systemd/src/resolve/
H A Dresolved-dns-trust-anchor.c78 rr->ds.algorithm = DNSSEC_ALGORITHM_RSASHA256;
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);
244 a = dnssec_algorithm_from_string(algorithm);
246 log_warning("Failed to parse DS algorithm %s on line %s:%u", algorithm, path, line);
267 rr->ds.algorithm = a;
274 _cleanup_free_ char *flags = NULL, *protocol = NULL, *algorithm = NULL, *key = NULL; local
280 r = extract_many_words(&p, NULL, 0, &flags, &protocol, &algorithm, &key, NULL);
305 a = dnssec_algorithm_from_string(algorithm);
[all...]
H A Dresolved-dns-dnssec.c56 /* The algorithm from RFC 4034, Appendix B. */
66 sum = f + ((((uint32_t) dnskey->dnskey.protocol) << 8) + (uint32_t) dnskey->dnskey.algorithm);
408 int algorithm,
422 if (algorithm == DNSSEC_ALGORITHM_ECDSAP256SHA256) {
425 } else if (algorithm == DNSSEC_ALGORITHM_ECDSAP384SHA384) {
551 static int algorithm_to_gcrypt_md(uint8_t algorithm) { argument
553 /* Translates a DNSSEC signature algorithm into a gcrypt
563 switch (algorithm) {
642 md_algorithm = algorithm_to_gcrypt_md(rrsig->rrsig.algorithm);
750 md_add_uint8(md, rrsig->rrsig.algorithm);
406 dnssec_ecdsa_verify( const char *hash_algorithm, int algorithm, const void *hash, size_t hash_size, DnsResourceRecord *rrsig, DnsResourceRecord *dnskey) argument
1025 digest_to_gcrypt_md(uint8_t algorithm) argument
1153 nsec3_hash_to_gcrypt_md(uint8_t algorithm) argument
1171 int algorithm; local
[all...]
H A Dresolved-dns-rr.h42 /* DNSSEC algorithm identifiers, see
189 uint8_t algorithm; member in struct:DnsResourceRecord::__anon231::__anon242
199 uint8_t algorithm; member in struct:DnsResourceRecord::__anon231::__anon243
207 uint8_t algorithm; member in struct:DnsResourceRecord::__anon231::__anon244
227 uint8_t algorithm; member in struct:DnsResourceRecord::__anon231::__anon246
234 uint8_t algorithm; member in struct:DnsResourceRecord::__anon231::__anon247

Completed in 14 milliseconds