Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rust interface to untrusted SGX #2

Merged
merged 1 commit into from
Jul 20, 2022
Merged

Conversation

nick-mobilecoin
Copy link
Collaborator

@nick-mobilecoin nick-mobilecoin commented May 5, 2022

Add a rust interface for the untrusted side of the SGX interface. This
provides the capability to create enclaves and call into them.

This is bigger than I wanted it to be, but I wanted to have working tests that show the rust wrapper actually works.
Up for suggestions on how this can be broken up more.

This place the untrusted interface down in a lower directory as its own cargo workspace, this to let it use the host target triple while the upcoming trusted side will utilize a custom target triple.

This was not played on top of the develop branch to minimize the already significant changes

@nick-mobilecoin nick-mobilecoin requested review from jcape, NotGyro, remoun and a team May 5, 2022 16:00
@remoun remoun requested a review from a team May 5, 2022 17:06
Copy link
Collaborator Author

@nick-mobilecoin nick-mobilecoin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

accidentally hit the review button instead of the respond, ingore this review...

@nick-mobilecoin nick-mobilecoin requested review from jcape, remoun and a team May 11, 2022 16:19
@nick-mobilecoin nick-mobilecoin requested a review from a team May 17, 2022 15:18
remoun
remoun previously approved these changes May 18, 2022
Copy link
Contributor

@remoun remoun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

remoun
remoun previously approved these changes May 18, 2022
remoun
remoun previously approved these changes May 19, 2022
Copy link
Contributor

@remoun remoun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nick-mobilecoin nick-mobilecoin changed the base branch from main to feature/sgx_status_t July 12, 2022 15:42
@nick-mobilecoin
Copy link
Collaborator Author

Updated the generated bindings for b19de32

@nick-mobilecoin nick-mobilecoin requested a review from a team July 14, 2022 13:57
Base automatically changed from feature/sgx_status_t to develop July 15, 2022 22:37
@jcape jcape removed the request for review from a team July 18, 2022 17:25
@NotGyro NotGyro removed their request for review July 20, 2022 17:38
@awygle awygle self-requested a review July 20, 2022 18:24
Copy link
Contributor

@awygle awygle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Add a rust interface for the untrusted side of the SGX interface.  This
provides the capability to create enclaves and call into them.
@nick-mobilecoin nick-mobilecoin merged commit 0e9e68e into develop Jul 20, 2022
@nick-mobilecoin nick-mobilecoin deleted the feature/untrusted branch July 20, 2022 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants