IntelFsp2WrapperPkg[all]
0.1
|
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, 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
#define FSP_MEASURE_FSP BIT0 |
#define FSP_MEASURE_FSPM BIT2 |
#define FSP_MEASURE_FSPS BIT3 |
#define FSP_MEASURE_FSPT BIT1 |
#define FSP_MEASURE_FSPUPD BIT31 |
EFI_STATUS EFIAPI MeasureFspFirmwareBlob | ( | IN UINT32 | PcrIndex, |
IN CHAR8 * | Description, | ||
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. |