Home
last modified time | relevance | path

Searched refs:alg (Results 1 – 7 of 7) sorted by relevance

/systemd-251/src/fuzz/
Dfuzz-compress.c10 … uint32_t alg:2; /* We have only three compression algorithms so far, but we might add more in the member
30 int alg = h->alg; in LLVMFuzzerTestOneInput() local
38 compression_to_string(alg), in LLVMFuzzerTestOneInput()
48 r = compress_blob_explicit(alg, h->data, data_len, buf, size, &csize); in LLVMFuzzerTestOneInput()
65 r = decompress_startswith(alg, buf, csize, &buf2, h->data, sw_len, h->data[sw_len]); in LLVMFuzzerTestOneInput()
/systemd-251/src/shared/
Dtpm2-util.c273 TPMI_ALG_PUBLIC alg, in tpm2_make_primary() argument
330 if (IN_SET(alg, 0, TPM2_ALG_ECC)) { in tpm2_make_primary()
348 if (alg != 0) in tpm2_make_primary()
355 alg = TPM2_ALG_ECC; in tpm2_make_primary()
359 if (IN_SET(alg, 0, TPM2_ALG_RSA)) { in tpm2_make_primary()
378 else if (alg == 0) { in tpm2_make_primary()
381 alg = TPM2_ALG_RSA; in tpm2_make_primary()
391 *ret_alg = alg; in tpm2_make_primary()
1444 const char *tpm2_primary_alg_to_string(uint16_t alg) { in tpm2_primary_alg_to_string() argument
1445 if (alg == TPM2_ALG_ECC) in tpm2_primary_alg_to_string()
[all …]
Dopenssl-util.c8 int openssl_hash(const EVP_MD *alg, in openssl_hash() argument
27 r = EVP_DigestInit_ex(ctx, alg, NULL); in openssl_hash()
Dopenssl-util.h37 int openssl_hash(const EVP_MD *alg, const void *msg, size_t msg_len, uint8_t *ret_hash, size_t *ret…
Dtpm2-util.h86 int tpm2_primary_alg_from_string(const char *alg);
Dlibfido2-util.c454 static const char *fido2_algorithm_to_string(int alg) { in fido2_algorithm_to_string() argument
455 switch(alg) { in fido2_algorithm_to_string()
/systemd-251/src/resolve/
Dresolved-dns-rr.c959 _cleanup_free_ char *alg = NULL; in dns_resource_record_to_string() local
964 r = dnssec_algorithm_to_string_alloc(rr->dnskey.algorithm, &alg); in dns_resource_record_to_string()
972 alg); in dns_resource_record_to_string()
997 _cleanup_free_ char *alg = NULL; in dns_resource_record_to_string() local
1003 r = dnssec_algorithm_to_string_alloc(rr->rrsig.algorithm, &alg); in dns_resource_record_to_string()
1022 alg, in dns_resource_record_to_string()