TianoCore EDK2 master
|
#include <PiPei.h>
#include <Library/Tpm12CommandLib.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/Tpm12DeviceLib.h>
Go to the source code of this file.
Data Structures | |
struct | TPM_CMD_EXTEND |
struct | TPM_RSP_EXTEND |
Functions | |
EFI_STATUS EFIAPI | Tpm12Extend (IN TPM_DIGEST *DigestToExtend, IN TPM_PCRINDEX PcrIndex, OUT TPM_DIGEST *NewPcrValue) |
Implement TPM1.2 PCR related commands.
Copyright (c) 2016, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Tpm12Pcr.c.
EFI_STATUS EFIAPI Tpm12Extend | ( | IN TPM_DIGEST * | DigestToExtend, |
IN TPM_PCRINDEX | PcrIndex, | ||
OUT TPM_DIGEST * | NewPcrValue | ||
) |
Extend a TPM PCR.
[in] | DigestToExtend | The 160 bit value representing the event to be recorded. |
[in] | PcrIndex | The PCR to be updated. |
[out] | NewPcrValue | New PCR value after extend. |
EFI_SUCCESS | Operation completed successfully. |
EFI_TIMEOUT | The register can't run into the expected status in time. |
EFI_BUFFER_TOO_SMALL | Response data buffer is too small. |
EFI_DEVICE_ERROR | Unexpected device behavior. |
Definition at line 46 of file Tpm12Pcr.c.