public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* TPM 2.0 Manufacutre ID wrong byte order
@ 2018-02-22 11:25 Lin, Derek (HPS UEFI Dev)
  2018-02-23  3:03 ` Zhang, Chao B
  0 siblings, 1 reply; 5+ messages in thread
From: Lin, Derek (HPS UEFI Dev) @ 2018-02-22 11:25 UTC (permalink / raw)
  To: edk2-devel@lists.01.org, Zhang, Chao B; +Cc: Yao, Jiewen, Zeng, Star

Hi TPM expert,

The line in https://github.com/tianocore/edk2/commit/73126ac2bd9804632255b2fddd4d7633537c9620#diff-76abe1c1ebf05982ed72eaf56f489029R192 change the byte order of Manufacture ID in Tpm2GetCapabilityManufactureID ().

I see it return "reversed" ManufactureId for two TPM vendor's module.
Also, all other Capability data in Tpm2Capability.c use SwapBytes32 since TPM is big-endian, which seems correct.

Can you check this and confirm?

Thanks,
Derek



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-02-26  2:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-22 11:25 TPM 2.0 Manufacutre ID wrong byte order Lin, Derek (HPS UEFI Dev)
2018-02-23  3:03 ` Zhang, Chao B
2018-02-23  8:07   ` Lin, Derek (HPS UEFI Dev)
2018-02-24  6:25     ` Zhang, Chao B
2018-02-26  2:32       ` Lin, Derek (HPS UEFI Dev)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox