fwupd/plugins/tpm-eventlog/fu-tpm-eventlog-device.h
Richard Hughes f5c6e1d276 Add a new plugin that can parse the TPM event log
Some devices do not have a stable PCR0 for the same firmware version, and I'd
like to collect the TPM event log for affected machines to debug why.
2019-12-06 15:05:16 +00:00

18 lines
516 B
C

/*
* Copyright (C) 2019 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
*/
#pragma once
#include "fu-plugin.h"
#define FU_TYPE_TPM_EVENTLOG_DEVICE (fu_tpm_eventlog_device_get_type ())
G_DECLARE_FINAL_TYPE (FuTpmEventlogDevice, fu_tpm_eventlog_device, FU, TPM_EVENTLOG_DEVICE, FuDevice)
FuTpmEventlogDevice *fu_tpm_eventlog_device_new (const guint8 *buf,
gsize bufsz,
GError **error);
gchar *fu_tpm_eventlog_device_report_metadata (FuTpmEventlogDevice *self);