On Sat, Jan 28, 2023 at 09:58:34PM +0800, Min Xu wrote:
> From: Min M Xu <min.m...@intel.com>
> 
> BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4243
> 
> MeasureHobList once was implemented in PeilessStartupLib and it does
> measurement and logging for TdHob in one go, using TpmMeasureAndLogData().
> But it doesn't work in SEC.
> 
> This patch splits MeasureHobList into 2 functions and implement them in
> SecTdxHelperLib.
>  - TdxHelperMeasureTdHob
>  - TdxHelperBuildGuidHobForTdxMeasurement
> 
> TdxHelperMeasureTdHob measures the TdHob and stores the hash value in
> WorkArea. TdxHelperBuildGuidHobForTdxMeasurement builds GuidHob for the
> measurement based on the hash value in WorkArea.
> 
> After these 2 functions are introduced, PeilessStartupLib should also be
> updated:
>  - Call these 2 functions instead of the MeasureHobList
>  - Delete the duplicated codes in PeilessStartupLib

Acked-by: Gerd Hoffmann <kra...@redhat.com>



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#99476): https://edk2.groups.io/g/devel/message/99476
Mute This Topic: https://groups.io/mt/96587218/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to