Searched refs:num_pcr (Results 1 – 1 of 1) sorted by relevance
1059 static int tpm2_get_num_pcr(struct udevice *dev, u32 *num_pcr) in tpm2_get_num_pcr() argument1074 *num_pcr = get_unaligned_be32(response + properties_offset); in tpm2_get_num_pcr()1075 if (*num_pcr > TPM2_MAX_PCRS) { in tpm2_get_num_pcr()1076 printf("%s: too many pcrs: %u\n", __func__, *num_pcr); in tpm2_get_num_pcr()1105 u32 num_pcr; in tpm2_get_pcr_info() local1128 ret = tpm2_get_num_pcr(dev, &num_pcr); in tpm2_get_pcr_info()1144 i * ((num_pcr + 7) / 8); in tpm2_get_pcr_info()