diff options
author | Tom Rini <trini@konsulko.com> | 2022-09-03 14:55:37 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-09-03 14:55:37 -0400 |
commit | 427aa3c9b72b6672f714389a6f71b6cc2841d559 (patch) | |
tree | 476ad96614cfa09e11674b4f36d74c6e001b3753 /include/tpm_api.h | |
parent | bc5d11316be3cdf09c6d854070c67ec0952528ee (diff) | |
parent | 5208ed187cb6314dc64657802e8e5bb5a5e3a7fb (diff) |
Merge tag 'tpm-03092022' of https://source.denx.de/u-boot/custodians/u-boot-tpm
TPM fixes and state reporting
Diffstat (limited to 'include/tpm_api.h')
-rw-r--r-- | include/tpm_api.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/tpm_api.h b/include/tpm_api.h index 11aa14eb793..8979d9d6df7 100644 --- a/include/tpm_api.h +++ b/include/tpm_api.h @@ -81,14 +81,16 @@ u32 tpm_nv_write_value(struct udevice *dev, u32 index, const void *data, * * @param dev TPM device * @param index index of the PCR - * @param in_digest 160-bit value representing the event to be + * @param in_digest 160/256-bit value representing the event to be * recorded - * @param out_digest 160-bit PCR value after execution of the + * @param size size of digest in bytes + * @param out_digest 160/256-bit PCR value after execution of the * command + * @param name digest source, used for log output * Return: return code of the operation */ u32 tpm_pcr_extend(struct udevice *dev, u32 index, const void *in_digest, - void *out_digest); + uint size, void *out_digest, const char *name); /** * Issue a TPM_PCRRead command. |