Searched refs:supported_hash (Results 1 – 1 of 1) sorted by relevance
492 TPMI_ALG_HASH supported_hash = 0, hash_with_valid_pcr = 0; in tpm2_get_best_pcr_bank() local553 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()