]>
git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.c
2 This library is used by other modules to measure data to TPM.
4 Copyright (c) 2015, Intel Corporation. All rights reserved. <BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
10 Tpm measure and log data, and extend the measurement result into a specific PCR.
12 @param[in] PcrIndex PCR Index.
13 @param[in] EventType Event type.
14 @param[in] EventLog Measurement event log.
15 @param[in] LogLen Event log length in bytes.
16 @param[in] HashData The start of the data buffer to be hashed, extended.
17 @param[in] HashDataLen The length, in bytes, of the buffer referenced by HashData
19 @retval EFI_SUCCESS Operation completed successfully.
20 @retval EFI_UNSUPPORTED TPM device not available.
21 @retval EFI_OUT_OF_RESOURCES Out of memory.
22 @retval EFI_DEVICE_ERROR The operation was unsuccessful.
26 TpmMeasureAndLogData (
36 // Do nothing, just return EFI_SUCCESS.