Home
last modified time | relevance | path

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

/external/tpm2-tss/src/tss2-fapi/
Difapi_helpers.c1960 size_t i, pcr, i_evt, hash_size, n_pcrs = 0, n_events = 0; in ifapi_calculate_pcr_digest() local
1994 pcrs[n_pcrs].pcr = pcr; in ifapi_calculate_pcr_digest()
1995 pcrs[n_pcrs].bank = pcr_selection->pcrSelections[i].hash; in ifapi_calculate_pcr_digest()
1996 pcrs[n_pcrs].value.size = hash_size; in ifapi_calculate_pcr_digest()
1997 memset(&pcrs[n_pcrs].value.buffer[0], 0, hash_size); in ifapi_calculate_pcr_digest()
1998 n_pcrs += 1; in ifapi_calculate_pcr_digest()
2011 for (i = 0; i < n_pcrs; i++) { in ifapi_calculate_pcr_digest()
2022 for (i = 0; i < n_pcrs; i++) { in ifapi_calculate_pcr_digest()
Difapi_policy_callbacks.c297 size_t i, pcr, n_pcrs = 0, i_pcr; in ifapi_read_pcr() local
358 n_pcrs += 1; in ifapi_read_pcr()
362 *pcr_values = calloc(1, sizeof(TPML_PCRVALUES) + n_pcrs* sizeof(TPMS_PCRVALUE)); in ifapi_read_pcr()