Searched refs:md_algorithm (Results 1 – 5 of 5) sorted by relevance
/systemd-251/src/basic/ |
D | gcrypt-util.c | 22 int string_hashsum(const char *s, size_t len, int md_algorithm, char **out) { in string_hashsum() argument 31 hash_size = gcry_md_get_algo_dlen(md_algorithm); in string_hashsum() 34 err = gcry_md_open(&md, md_algorithm, 0); in string_hashsum()
|
D | gcrypt-util.h | 21 int string_hashsum(const char *s, size_t len, int md_algorithm, char **out);
|
/systemd-251/src/shared/ |
D | openssl-util.c | 116 const EVP_MD *md_algorithm, in string_hashsum() argument 124 hash_size = EVP_MD_size(md_algorithm); in string_hashsum() 127 r = openssl_hash(md_algorithm, s, len, hash, NULL); in string_hashsum()
|
D | openssl-util.h | 65 int string_hashsum(const char *s, size_t len, hash_algorithm_t md_algorithm, char **ret);
|
/systemd-251/src/resolve/ |
D | resolved-dns-dnssec.c | 890 hash_md_t md_algorithm; in dnssec_rrset_verify_sig() local 916 md_algorithm = algorithm_to_implementation_id(rrsig->rrsig.algorithm); in dnssec_rrset_verify_sig() 918 if (!md_algorithm) in dnssec_rrset_verify_sig() 925 if (EVP_DigestInit_ex(ctx, md_algorithm, NULL) <= 0) in dnssec_rrset_verify_sig() 937 if (md_algorithm < 0) in dnssec_rrset_verify_sig() 938 return md_algorithm; in dnssec_rrset_verify_sig() 940 gcry_error_t err = gcry_md_open(&md, md_algorithm, 0); in dnssec_rrset_verify_sig() 944 hash_size = gcry_md_get_algo_dlen(md_algorithm); in dnssec_rrset_verify_sig() 962 OPENSSL_OR_GCRYPT(md_algorithm, gcry_md_algo_name(md_algorithm)), in dnssec_rrset_verify_sig() 970 OPENSSL_OR_GCRYPT(md_algorithm, gcry_md_algo_name(md_algorithm)), in dnssec_rrset_verify_sig() [all …]
|