[PATCH v5 1/2] tpm-v2: add support for mapping algorithm names to algos

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


Hi Tim,

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

> replace tpm2_supported_algorithms with an array of structures
> relating algorithm names, to TCG id's, digest length and mask values.
> 
> While at it fix the tpm2_algorithm_to_mask to return the proper value.
> 
> Fixes: 97707f12fdab ("tpm: Support boot measurements")
> Signed-off-by: Tim Harvey <tharvey at gateworks.com>
> Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
> Cc: Eddie James <eajames at linux.ibm.com>
> Cc: Ilias Apalodimas <ilias.apalodimas at linaro.org>
> ---

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

Thanks,
Miquèl


More information about the U-Boot mailing list