Home
last modified time | relevance | path

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

/systemd-251/src/shared/
Dtpm2-util.c492 TPMI_ALG_HASH supported_hash = 0, hash_with_valid_pcr = 0; in tpm2_get_best_pcr_bank() local
553 supported_hash = TPM2_ALG_SHA256; in tpm2_get_best_pcr_bank()
562 if (supported_hash == 0) in tpm2_get_best_pcr_bank()
563 supported_hash = TPM2_ALG_SHA1; in tpm2_get_best_pcr_bank()
578 assert(supported_hash == TPM2_ALG_SHA256); in tpm2_get_best_pcr_bank()
582 if (supported_hash == TPM2_ALG_SHA256) in tpm2_get_best_pcr_bank()
585 assert(supported_hash == TPM2_ALG_SHA1); in tpm2_get_best_pcr_bank()
590 } else if (supported_hash == TPM2_ALG_SHA256) { in tpm2_get_best_pcr_bank()
593 } else if (supported_hash == TPM2_ALG_SHA1) { in tpm2_get_best_pcr_bank()