diff options
| author | Ilias Apalodimas <[email protected]> | 2024-12-24 08:01:04 -0800 |
|---|---|---|
| committer | Ilias Apalodimas <[email protected]> | 2025-01-07 15:45:51 +0200 |
| commit | dbe08c7b38f9bcb17c073cafc9ed8d3d2f398566 (patch) | |
| tree | cb179e69b933356ace1976929a94119368f83a56 /include | |
| parent | 6d41f0a39d6423c8e57e92ebbe9f8c0333a63f72 (diff) | |
tpm: Rename tpm2_is_active_pcr()
This function is checking for active PCR banks, so rename it
to something that's easier to read and closer to what the function
does.
Signed-off-by: Raymond Mao <[email protected]>
Signed-off-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/tpm-v2.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/tpm-v2.h b/include/tpm-v2.h index 4fd19c52fd7..8c43f4fd9b5 100644 --- a/include/tpm-v2.h +++ b/include/tpm-v2.h @@ -740,12 +740,12 @@ u16 tpm2_algorithm_to_len(enum tpm2_algorithms algo); bool tpm2_allow_extend(struct udevice *dev); /** - * tpm2_is_active_pcr() - check the pcr_select. If at least one of the PCRs - * supports the algorithm add it on the active ones + * tpm2_is_active_bank() - check the pcr_select. If at least one of the PCRs + * supports the algorithm add it on the active ones * * @selection: PCR selection structure * Return: True if the algorithm is active */ -bool tpm2_is_active_pcr(struct tpms_pcr_selection *selection); +bool tpm2_is_active_bank(struct tpms_pcr_selection *selection); #endif /* __TPM_V2_H */ |
