vendorcode/eltan/security/mboot/mboot.c: Correct parameter description

The flags parameter of the tpm2_get_capability_pcrs() is used by
mboot_hash_extend_log().

BUGS=NA
TEST=Build

Change-Id: Ia718d27f21d41a5e16230c74ca402ea6099470b2
Signed-off-by: Wim Vervoorn <wvervoorn@eltan.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36680
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
This commit is contained in:
Frans Hendriks 2019-11-08 09:56:14 +01:00 committed by Patrick Georgi
parent a1c259beef
commit 0cc619bedc
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ int tpm2_get_capability_pcrs(TPML_PCR_SELECTION *Pcrs)
* Calculates the hash over the data and extends it in active PCR banks and * Calculates the hash over the data and extends it in active PCR banks and
* then logs them in the event log. * then logs them in the event log.
* *
* @param[in] flags flags associated with hash data. Currently unused. * @param[in] flags flags associated with hash data.
* @param[in] hashData data to be hashed. * @param[in] hashData data to be hashed.
* @param[in] hashDataLen length of the data to be hashed. * @param[in] hashDataLen length of the data to be hashed.
* @param[in] newEventHdr event header in TCG_PCR_EVENT2 format. * @param[in] newEventHdr event header in TCG_PCR_EVENT2 format.