mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-24 21:05:29 +00:00

This allows us to get the OEM Public Key BootGuard hashes. Also add a new HSI test for leaked bootguard keys.
30 lines
718 B
C
30 lines
718 B
C
/*
|
|
* Copyright (C) 2022 Richard Hughes <richard@hughsie.com>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <fwupdplugin.h>
|
|
|
|
#define FU_TYPE_INTEL_ME_HECI_DEVICE (fu_intel_me_heci_device_get_type())
|
|
G_DECLARE_DERIVABLE_TYPE(FuIntelMeHeciDevice,
|
|
fu_intel_me_heci_device,
|
|
FU,
|
|
INTEL_ME_HECI_DEVICE,
|
|
FuMeiDevice)
|
|
|
|
struct _FuIntelMeHeciDeviceClass {
|
|
FuMeiDeviceClass parent_class;
|
|
};
|
|
|
|
GByteArray *
|
|
fu_intel_me_heci_device_read_file(FuIntelMeHeciDevice *self, const gchar *filename, GError **error);
|
|
GByteArray *
|
|
fu_intel_me_heci_device_read_file_ex(FuIntelMeHeciDevice *self,
|
|
guint32 file_id,
|
|
guint32 section,
|
|
guint32 datasz_req,
|
|
GError **error);
|