Closed FranciscoJavierOrtegaPalacios closed 1 year ago
@FranciscoJavierOrtegaPalacios, a lot of changes on the diff seem to be code formatting changes which while I appreciate that they clean up the existing code, also make it fairly difficult to track the changes that were required for just TDX work. Please consider disabling the formatting which will make it easier to track the changes.
Problem:
New APIs for fetching TDX collateral were added by intel and we need parity.
What was done:
Added the following TDX API functions and the unit tests associated with them.
quote3_error_t tdx_ql_get_quote_verification_collateral(const uint8_t fmspc, uint16_t fmspc_size, const char pck_ca, tdx_ql_qve_collateral_t **pp_quote_collateral);
quote3_error_t tdx_ql_free_quote_verification_collateral(tdx_ql_qve_collateral_t *p_quote_collateral);
How the code was tested:
E2E test and OE tests ran successfully