TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
EFI_STATUS | InternalBuildGuidHobForTdxMeasurement (VOID) |
EFI_STATUS EFIAPI | TdxHelperProcessTdHob (VOID) |
EFI_STATUS EFIAPI | TdxHelperMeasureTdHob (VOID) |
EFI_STATUS EFIAPI | TdxHelperMeasureCfvImage (VOID) |
EFI_STATUS EFIAPI | TdxHelperBuildGuidHobForTdxMeasurement (VOID) |
TdxHelper Functions which are used in PEI phase
Copyright (c) 2022 - 2023, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file PeiTdxHelper.c.
EFI_STATUS InternalBuildGuidHobForTdxMeasurement | ( | VOID | ) |
Build the GuidHob for tdx measurements which were done in SEC phase. The measurement values are stored in WorkArea.
EFI_SUCCESS | The GuidHob is built successfully |
Others | Other errors as indicated |
Definition at line 173 of file TdxMeasurementHob.c.
EFI_STATUS EFIAPI TdxHelperBuildGuidHobForTdxMeasurement | ( | VOID | ) |
Build the GuidHob for tdx measurements which were done in SEC phase. The measurement values are stored in WorkArea.
EFI_SUCCESS | The GuidHob is built successfully |
Others | Other errors as indicated |
Definition at line 86 of file PeiTdxHelper.c.
EFI_STATUS EFIAPI TdxHelperMeasureCfvImage | ( | VOID | ) |
In Tdx guest, Configuration FV (CFV) is treated as external input because it may contain the data provided by VMM. From the sucurity perspective Cfv image should be measured before it is consumed.
EFI_SUCCESS | Successfully measure the CFV image |
Others | Other error as indicated |
Definition at line 70 of file PeiTdxHelper.c.
EFI_STATUS EFIAPI TdxHelperMeasureTdHob | ( | VOID | ) |
In Tdx guest, TdHob is passed from host VMM to guest firmware and it contains the information of the memory resource. From the security perspective before it is consumed, it should be measured and extended.
EFI_SUCCESS | Successfully measure the TdHob |
Others | Other error as indicated |
Definition at line 53 of file PeiTdxHelper.c.
EFI_STATUS EFIAPI TdxHelperProcessTdHob | ( | VOID | ) |
In Tdx guest, some information need to be passed from host VMM to guest firmware. For example, the memory resource, etc. These information are prepared by host VMM and put in TdHob which is described in TdxMetadata. TDVF processes the TdHob to accept memories.
EFI_SUCCESS | Successfully process the TdHob |
Others | Other error as indicated |
Definition at line 36 of file PeiTdxHelper.c.