TianoCore EDK2 master
|
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Uefi/UefiBaseType.h>
#include <Library/TdxLib.h>
#include <Library/BaseMemoryLib.h>
#include <IndustryStandard/Tpm20.h>
#include <IndustryStandard/Tdx.h>
Go to the source code of this file.
Macros | |
#define | RTMR_COUNT 4 |
#define | TD_EXTEND_BUFFER_LEN (64 + 48) |
Functions | |
EFI_STATUS EFIAPI | TdExtendRtmr (IN UINT32 *Data, IN UINT32 DataLen, IN UINT8 Index) |
Variables | |
UINT8 | mExtendBuffer [TD_EXTEND_BUFFER_LEN] |
Extends one of the RTMR measurement registers in TDCS with the provided extension data in memory.
Copyright (c) 2020 - 2021, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Rtmr.c.
EFI_STATUS EFIAPI TdExtendRtmr | ( | IN UINT32 * | Data, |
IN UINT32 | DataLen, | ||
IN UINT8 | Index | ||
) |
This function extends one of the RTMR measurement register in TDCS with the provided extension data in memory. RTMR extending supports SHA384 which length is 48 bytes.
[in] | Data | Point to the data to be extended |
[in] | DataLen | Length of the data. Must be 48 |
[in] | Index | RTMR index |