mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-11 04:47:32 +00:00
22 lines
666 B
C
22 lines
666 B
C
/*
|
|
* Copyright (C) 2019 Richard Hughes <richard@hughsie.com>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <fwupdplugin.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 (FuContext *ctx,
|
|
const guint8 *buf,
|
|
gsize bufsz,
|
|
GError **error);
|
|
gchar *fu_tpm_eventlog_device_report_metadata (FuTpmEventlogDevice *self);
|
|
GPtrArray *fu_tpm_eventlog_device_get_checksums (FuTpmEventlogDevice *self,
|
|
guint8 pcr,
|
|
GError **error);
|