Searched refs:pcr_cap (Results 1 – 1 of 1) sorted by relevance
98 struct tpml_pcr_selection *pcr_cap = NULL; in tpm2_get_bank_info() local104 pcr_cap = malloc(pcr_cap_len); in tpm2_get_bank_info()105 if (!pcr_cap) in tpm2_get_bank_info()112 ret = tpm2_get_capability(TPM2_CAP_PCRS, 0, 1, pcr_cap, &pcr_cap_len); in tpm2_get_bank_info()116 caps->num_banks = get_be32(&pcr_cap->count); in tpm2_get_bank_info()123 tpms_pcr_start = (uint8_t *)&pcr_cap->pcr_selections[0]; in tpm2_get_bank_info()151 free(pcr_cap); in tpm2_get_bank_info()
Completed in 2 milliseconds