Extracts additional platform specific data from the report and writes it to target_info_buffer.
After calling this function, the target_info_buffer can used for the opt_params field in oe_get_report.
For example, on SGX, the target_info_buffer can be used as a sgx_target_info_t for local attestation.
- Parameters
-
[in] | report | The report returned by oe_get_report. |
[in] | report_size | The size of report in bytes. |
[out] | target_info_buffer | This points to the platform specific data upon success. |
[out] | target_info_size | This is set to the size of target_info_buffer on success. |
- Return values
-
OE_OK | The platform specific data was successfully extracted. |
OE_INVALID_PARAMETER | At least one parameter is invalid. |
OE_OUT_OF_MEMORY | Failed to allocate memory. |