Searched refs:hash_with_valid_pcr (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() local556 hash_with_valid_pcr = TPM2_ALG_SHA256; in tpm2_get_best_pcr_bank()565 if (good && hash_with_valid_pcr == 0) in tpm2_get_best_pcr_bank()566 hash_with_valid_pcr = TPM2_ALG_SHA1; in tpm2_get_best_pcr_bank()577 if (hash_with_valid_pcr == TPM2_ALG_SHA256) { in tpm2_get_best_pcr_bank()581 } else if (hash_with_valid_pcr == TPM2_ALG_SHA1) { in tpm2_get_best_pcr_bank()