Re: [PATCH v2 6/6] tools/tdx: Add a sample attestation user app

From: Kuppuswamy, Sathyanarayanan
Date: Thu Jul 15 2021 - 11:19:41 EST




On 7/15/21 1:36 AM, Mian Yousaf Kaukab wrote:
In tdg_attest_ioctl() TDX_CMD_GEN_QUOTE case is calling
tdx_mcall_tdreport() same as TDX_CMD_GET_TDREPORT case. Then what is
the point of calling get_tdreport() here? Do you mean to call
gen_report_data()?

Yes, I also noticed this issue and fixed the attestation driver to
to get TDREPORT data as input to get TDQUOTE.

I will be posting the fixed version of attestation driver today.


--
Sathyanarayanan Kuppuswamy
Linux Kernel Developer