ACK: [PATCH 2/2] tpmevlog: add supporting several new types for event log checking

Alex Hung alex.hung at canonical.com
Mon Jan 3 22:09:54 UTC 2022


On 2021-12-30 02:39, Ivan Hu wrote:
> Add supporting the new tpm event log types which defined in the TCG PTP 1.05
> 
> Signed-off-by: Ivan Hu <ivan.hu at canonical.com>
> ---
>   src/tpm/tpmevlog/tpmevlog.c | 5 +++++
>   1 file changed, 5 insertions(+)
> 
> diff --git a/src/tpm/tpmevlog/tpmevlog.c b/src/tpm/tpmevlog/tpmevlog.c
> index 95406663..262160ed 100644
> --- a/src/tpm/tpmevlog/tpmevlog.c
> +++ b/src/tpm/tpmevlog/tpmevlog.c
> @@ -77,8 +77,13 @@ static int tpmevlog_eventtype_check(fwts_framework *fw, const fwts_tpmlog_event_
>   	case EV_EFI_ACTION:
>   	case EV_EFI_PLATFORM_FIRMWARE_BLOB:
>   	case EV_EFI_HANDOFF_TABLES:
> +	case EV_EFI_PLATFORM_FIRMWARE_BLOB2:
> +	case EV_EFI_HANDOFF_TABLES2:
> +	case EV_EFI_VARIABLE_BOOT2:
>   	case EV_EFI_HCRTM_EVENT:
>   	case EV_EFI_VARIABLE_AUTHORITY:
> +	case EV_EFI_SPDM_FIRMWARE_BLOB:
> +	case EV_EFI_SPDM_FIRMWARE_CONFIG:
>   		return FWTS_OK;
>   	default:
>   		fwts_failed(fw, LOG_LEVEL_HIGH, "PCREventType",
> 


Acked-by: Alex Hung <alex.hung at canonical.com>



More information about the fwts-devel mailing list