TianoCore EDK2 master
|
Go to the source code of this file.
Macros | |
#define | FSP_MEASURE_FSP BIT0 |
#define | FSP_MEASURE_FSPT BIT1 |
#define | FSP_MEASURE_FSPM BIT2 |
#define | FSP_MEASURE_FSPS BIT3 |
#define | FSP_MEASURE_FSPUPD BIT31 |
Functions | |
EFI_STATUS EFIAPI | MeasureFspFirmwareBlob (IN UINT32 PcrIndex, IN CHAR8 *Description OPTIONAL, IN EFI_PHYSICAL_ADDRESS FirmwareBlobBase, IN UINT64 FirmwareBlobLength) |
This library is used by FSP modules to measure data to TPM.
Copyright (c) 2020, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file FspMeasurementLib.h.
#define FSP_MEASURE_FSP BIT0 |
Definition at line 12 of file FspMeasurementLib.h.
#define FSP_MEASURE_FSPM BIT2 |
Definition at line 14 of file FspMeasurementLib.h.
#define FSP_MEASURE_FSPS BIT3 |
Definition at line 15 of file FspMeasurementLib.h.
#define FSP_MEASURE_FSPT BIT1 |
Definition at line 13 of file FspMeasurementLib.h.
#define FSP_MEASURE_FSPUPD BIT31 |
Definition at line 16 of file FspMeasurementLib.h.
EFI_STATUS EFIAPI MeasureFspFirmwareBlob | ( | IN UINT32 | PcrIndex, |
IN CHAR8 *Description | OPTIONAL, | ||
IN EFI_PHYSICAL_ADDRESS | FirmwareBlobBase, | ||
IN UINT64 | FirmwareBlobLength | ||
) |
Measure a FSP FirmwareBlob.
[in] | PcrIndex | PCR Index. |
[in] | Description | Description for this FirmwareBlob. |
[in] | FirmwareBlobBase | Base address of this FirmwareBlob. |
[in] | FirmwareBlobLength | Size in bytes of this FirmwareBlob. |
EFI_SUCCESS | Operation completed successfully. |
EFI_UNSUPPORTED | TPM device not available. |
EFI_OUT_OF_RESOURCES | Out of memory. |
EFI_DEVICE_ERROR | The operation was unsuccessful. |
Definition at line 232 of file FspMeasurementLib.c.