-
Notifications
You must be signed in to change notification settings - Fork 10
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 bindings for SGX crypto library #8
Conversation
@jcape let me know if this is the directory layout you were thinking of. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
e52ed44
to
853f044
Compare
28c5730
to
0bda4ab
Compare
2f9ceac
to
9aaa4e5
Compare
Current dependencies on/for this PR: This comment was auto-generated by Graphite. |
9aaa4e5
to
48d9ef7
Compare
The generated bindings files |
The rebase and refactor doesn't accuratly represent the code that was originally reviewed.
bc4ee90
to
136bec0
Compare
f5379a1
to
de6fbb5
Compare
136bec0
to
85cf180
Compare
de6fbb5
to
d8f8d13
Compare
Co-authored-by: Remoun Metyas <[email protected]>
85cf180
to
3f00da6
Compare
d8f8d13
to
c9b82dd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Not totally sure why we have a separate crate just for types but the pattern is applied broadly in @mobilecoinfoundation/mobilecoin so it makes sense to be consistent.
Graphite Merge Job Current status: ✅ Merged This pull request was successfully merged as part of a stack. This comment was auto-generated by Graphite. Job Reference: QB8STOU63qtQFHJyhfrd |
Initial rust wrapper to show usage of bindings for SGX crypto library.
This provides the basic bindings to show that the sgx_tcrypto library is linked in and can be executed against. Only one sgx function was provided with an explicit rust wrapper.
The tests currently rely on std
Follow on work will bring in rust wrappers for the rest of the crypto functionality.