[PATCH v5 2/2] tpm-v2: allow algorithm name to be configured for pcr_read and pcr_extend

Miquel Raynal miquel.raynal at bootlin.com
Mon May 27 10:59:10 CEST 2024


Hi Tim,

tharvey at gateworks.com wrote on Sat, 25 May 2024 13:00:49 -0700:

> For pcr_read and pcr_extend commands allow the digest algorithm to be
> specified by an additional argument. If not specified it will default to
> SHA256 for backwards compatibility.
> 
> Additionally update test_tpm2.py for the changes in output in pcr_read
> which now shows the algo and algo length in the output.
> 
> A follow-on to this could be to extend all PCR banks with the detected
> algo when the <digest_algo> argument is 'auto'.
> 
> Signed-off-by: Tim Harvey <tharvey at gateworks.com>
> Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>

LGTM,

Reviewed-by: Miquel Raynal <miquel.raynal at bootlin.com>

Thanks,
Miquèl


More information about the U-Boot mailing list