Skip to content

Commit

Permalink
remove EPID call for mrenclave of self
Browse files Browse the repository at this point in the history
  • Loading branch information
brenzi committed Dec 13, 2024
1 parent 495ecd6 commit e8a82f1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions enclave-runtime/src/ocall/attestation_ocall.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,7 @@ trait GetSgxReport {

impl<T: EnclaveAttestationOCallApi> GetSgxReport for T {
fn get_report_of_self(&self) -> SgxResult<sgx_report_body_t> {
// (1) get ti + eg
let init_quote_result = self.sgx_init_quote()?;

let target_info = init_quote_result.0;
let target_info: sgx_target_info_t = sgx_target_info_t::default();
let report_data: sgx_report_data_t = sgx_report_data_t::default();

let rep = match rsgx_create_report(&target_info, &report_data) {
Expand Down

0 comments on commit e8a82f1

Please sign in to comment.