[edk2-devel] [PATCH V1 0/3] Fix incorrect implementation in CcMeasurement

Min Xu posted 3 patches 1 year, 3 months ago
Failed in applying to current master (apply log)
OvmfPkg/IntelTdx/TdTcg2Dxe/TdTcg2Dxe.c        | 93 ++++++++++++-------
.../SecTpmMeasurementLibTdx.c                 |  7 +-
2 files changed, 65 insertions(+), 35 deletions(-)
[edk2-devel] [PATCH V1 0/3] Fix incorrect implementation in CcMeasurement
Posted by Min Xu 1 year, 3 months ago
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4179
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4184

This patch-set fix the incorrect implementation in CcMeasurement.

Patch#1:
  Incorrect protocol and structure version

Patch#2/3:
  Incorrect mapping between TPM PCR index and TDX Measurement Register
  index.

Code: https://github.com/mxu9/edk2/tree/CcMapping.v1

Cc: Erdem Aktas <erdemaktas@google.com> [ruleof2]
Cc: James Bottomley <jejb@linux.ibm.com> [jejb]
Cc: Jiewen Yao <jiewen.yao@intel.com> [jyao1]
Cc: Tom Lendacky <thomas.lendacky@amd.com> [tlendacky]
Cc: Arti Gupta <ARGU@microsoft.com>
Reported-by: Arti Gupta <ARGU@microsoft.com>
Signed-off-by: Min Xu <min.m.xu@intel.com>

Min M Xu (3):
  OvmfPkg/TdTcg2Dxe: Fix incorrect protocol and structure version
  OvmfPkg/TdTcg2Dxe: Fix the mapping error between PCR index and MR
    index
  OvmfPkg/SecTpmMeasurementLib: Fix the mapping error of PCR and RTMR
    index

 OvmfPkg/IntelTdx/TdTcg2Dxe/TdTcg2Dxe.c        | 93 ++++++++++++-------
 .../SecTpmMeasurementLibTdx.c                 |  7 +-
 2 files changed, 65 insertions(+), 35 deletions(-)

-- 
2.29.2.windows.2



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#97346): https://edk2.groups.io/g/devel/message/97346
Mute This Topic: https://groups.io/mt/95662129/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [edk2-devel] [PATCH V1 0/3] Fix incorrect implementation in CcMeasurement
Posted by Yao, Jiewen 1 year, 3 months ago
All Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>

> -----Original Message-----
> From: Xu, Min M <min.m.xu@intel.com>
> Sent: Wednesday, December 14, 2022 3:14 PM
> To: devel@edk2.groups.io
> Cc: Xu, Min M <min.m.xu@intel.com>; Aktas, Erdem
> <erdemaktas@google.com>; James Bottomley <jejb@linux.ibm.com>; Yao,
> Jiewen <jiewen.yao@intel.com>; Tom Lendacky
> <thomas.lendacky@amd.com>; Arti Gupta <ARGU@microsoft.com>
> Subject: [PATCH V1 0/3] Fix incorrect implementation in CcMeasurement
> 
> BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4179
> BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4184
> 
> This patch-set fix the incorrect implementation in CcMeasurement.
> 
> Patch#1:
>   Incorrect protocol and structure version
> 
> Patch#2/3:
>   Incorrect mapping between TPM PCR index and TDX Measurement Register
>   index.
> 
> Code: https://github.com/mxu9/edk2/tree/CcMapping.v1
> 
> Cc: Erdem Aktas <erdemaktas@google.com> [ruleof2]
> Cc: James Bottomley <jejb@linux.ibm.com> [jejb]
> Cc: Jiewen Yao <jiewen.yao@intel.com> [jyao1]
> Cc: Tom Lendacky <thomas.lendacky@amd.com> [tlendacky]
> Cc: Arti Gupta <ARGU@microsoft.com>
> Reported-by: Arti Gupta <ARGU@microsoft.com>
> Signed-off-by: Min Xu <min.m.xu@intel.com>
> 
> Min M Xu (3):
>   OvmfPkg/TdTcg2Dxe: Fix incorrect protocol and structure version
>   OvmfPkg/TdTcg2Dxe: Fix the mapping error between PCR index and MR
>     index
>   OvmfPkg/SecTpmMeasurementLib: Fix the mapping error of PCR and RTMR
>     index
> 
>  OvmfPkg/IntelTdx/TdTcg2Dxe/TdTcg2Dxe.c        | 93 ++++++++++++-------
>  .../SecTpmMeasurementLibTdx.c                 |  7 +-
>  2 files changed, 65 insertions(+), 35 deletions(-)
> 
> --
> 2.29.2.windows.2



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#97378): https://edk2.groups.io/g/devel/message/97378
Mute This Topic: https://groups.io/mt/95662129/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-