Home
last modified time | relevance | path

Searched refs:active_banks (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/char/tpm/
Dtpm2-cmd.c245 if (count > ARRAY_SIZE(chip->active_banks)) in tpm2_pcr_extend()
884 if (count > ARRAY_SIZE(chip->active_banks)) { in tpm2_get_pcr_allocation()
903 chip->active_banks[i] = be16_to_cpu(pcr_selection.hash_alg); in tpm2_get_pcr_allocation()
911 if (i < ARRAY_SIZE(chip->active_banks)) in tpm2_get_pcr_allocation()
912 chip->active_banks[i] = TPM2_ALG_ERROR; in tpm2_get_pcr_allocation()
Dtpm-interface.c1042 struct tpm2_digest digest_list[ARRAY_SIZE(chip->active_banks)]; in tpm_pcr_extend()
1053 for (i = 0; i < ARRAY_SIZE(chip->active_banks) && in tpm_pcr_extend()
1054 chip->active_banks[i] != TPM2_ALG_ERROR; i++) { in tpm_pcr_extend()
1055 digest_list[i].alg_id = chip->active_banks[i]; in tpm_pcr_extend()
Dtpm.h251 u16 active_banks[7]; member