google / go-tdx-guest

go-tdx-guest offers a library to wrap the /dev/tdx-guest device in Linux, as well as a library for attestation verification of fundamental components of an attestation quote.
Apache License 2.0
53 stars 12 forks source link

TD ATTRIBUTES Definition (TUP group) #48

Closed Anderson-Melo closed 2 months ago

Anderson-Melo commented 3 months ago

I was reading about the intel TDX module architecture and the TD Attributes structure, and I found 2 documents that explain it, the first one Intel® Trust Domain Extensions Data Center Attestation Primitives (Intel® TDX DCAP): Quote Generation Library and Quote Verification Library and the second one Intel® Trust Domain Extensions (Intel® TDX) Module Architecture Application Binary Interface (ABI) Reference Specification, and now I am wondering if I can find the TD Under Profiling in this structure or not. In the first document we do not have this field, but in the second one "ATTRIBUTES is provided by the host VMM as a guest TD initialization parameter as part of TD_PARAMS." is it possible to recover this information from the quote? and if so, how?

image