mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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 <raymond.mao@linaro.org> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user