Merged https://github.com/tianocore/edk2/pull/2951

> -----Original Message-----
> From: [email protected] <[email protected]> On Behalf Of Yao, Jiewen
> Sent: Sunday, June 5, 2022 10:10 AM
> To: Xu, Min M <[email protected]>; [email protected]
> Cc: Wang, Jian J <[email protected]>; Aktas, Erdem
> <[email protected]>; James Bottomley <[email protected]>; Tom
> Lendacky <[email protected]>; Gerd Hoffmann <[email protected]>
> Subject: Re: [edk2-devel] [PATCH 0/3] Introduce SecTpmMeasurementLibTdx
> 
> Reviewed-by: Jiewen Yao <[email protected]>
> 
> > -----Original Message-----
> > From: Xu, Min M <[email protected]>
> > Sent: Sunday, June 5, 2022 9:03 AM
> > To: [email protected]
> > Cc: Xu, Min M <[email protected]>; Yao, Jiewen <[email protected]>;
> > Wang, Jian J <[email protected]>; Aktas, Erdem
> > <[email protected]>; James Bottomley <[email protected]>; Tom
> > Lendacky <[email protected]>; Gerd Hoffmann
> <[email protected]>
> > Subject: [PATCH 0/3] Introduce SecTpmMeasurementLibTdx
> >
> > SecTpmMeasurementLibTdx is an instance of TpmMeasurement lib in SEC
> phase.
> > It provides RTMR based measurement functions for Intel Tdx guest.
> >
> > Commit a708536dce introduces SecMeasurementLibTdx which provides the
> > same
> > functions. But it is not an instance of TpmMeasurementLib.
> > We have updated DxeTpmMeasurementLib (which is an instance of
> > TpmMeasurementLib) to support RTMR based measurement. To make the
> > design
> > consistent, SecTpmMeasurementLibTdx is introduced. After that
> > SecMeasurementLibTdx is removed.
> >
> > Patch #1:
> >  Introduce SecMeasurementLibTdx
> > Patch #2:
> >  Update OvmfPkg to support MeasureHobList/MeasureFvImage with
> >  SecMeasurementLibTdx.
> > Patch #3:
> >  Remove SecMeasurementLibTdx.
> >
> > Code: https://github.com/mxu9/edk2/tree/secMeasurementLib.v1
> >
> > Cc: Jiewen Yao <[email protected]>
> > Cc: Jian J Wang <[email protected]>
> > Cc: Erdem Aktas <[email protected]>
> > Cc: James Bottomley <[email protected]>
> > Cc: Jiewen Yao <[email protected]>
> > Cc: Tom Lendacky <[email protected]>
> > Cc: Gerd Hoffmann <[email protected]>
> > Signed-off-by: Min Xu <[email protected]>
> >
> > Min M Xu (3):
> >   Security: Add SecTpmMeasurementLibTdx
> >   OvmfPkg: Implement MeasureHobList/MeasureFvImage
> >   OvmfPkg: Delete SecMeasurementLibTdx
> >
> >  OvmfPkg/Include/Library/SecMeasurementLib.h   |  46 ---
> >  OvmfPkg/IntelTdx/IntelTdxX64.dsc              |   2 +-
> >  OvmfPkg/Library/PeilessStartupLib/IntelTdx.c  | 186 ++++++++++
> >  .../PeilessStartupLib/PeilessStartup.c        |   1 -
> >  .../PeilessStartupInternal.h                  |  36 ++
> >  .../PeilessStartupLib/PeilessStartupLib.inf   |   2 +-
> >  .../SecMeasurementLib/SecMeasurementLibTdx.c  | 340 ------------------
> >  .../SecMeasurementLibTdx.inf                  |  30 --
> >  OvmfPkg/OvmfPkg.dec                           |   4 -
> >  .../SecTpmMeasurementLibTdx.c                 | 176 +++++++++
> >  .../SecTpmMeasurementLibTdx.inf               |  34 ++
> >  SecurityPkg/SecurityPkg.dsc                   |   2 +
> >  12 files changed, 436 insertions(+), 423 deletions(-)
> >  delete mode 100644 OvmfPkg/Include/Library/SecMeasurementLib.h
> >  delete mode 100644
> > OvmfPkg/Library/SecMeasurementLib/SecMeasurementLibTdx.c
> >  delete mode 100644
> > OvmfPkg/Library/SecMeasurementLib/SecMeasurementLibTdx.inf
> >  create mode 100644
> > SecurityPkg/Library/SecTpmMeasurementLib/SecTpmMeasurementLibTdx.c
> >  create mode 100644
> > SecurityPkg/Library/SecTpmMeasurementLib/SecTpmMeasurementLibTdx.inf
> >
> > --
> > 2.29.2.windows.2
> 
> 
> 
> 
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#90287): https://edk2.groups.io/g/devel/message/90287
Mute This Topic: https://groups.io/mt/91551450/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to