-
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 impl TryFrom<&[u8; 48]> for QuoteHeader #13
Conversation
21298d9
to
e1df6dd
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.
Regarding the first commit: Instead of comment fences, would you consider grouping these types with submodules?
@connorkuehl Yeah, sure! I'll push a new version. |
e1df6dd
to
b3b3c28
Compare
Should the module structure be:
|
f5ee144
to
91041ec
Compare
This breaks quote.rs into smaller submodules quote.rs, quoteheader.rs, and sigdata.rs. Signed-off-by: Lily Sturmann <lsturman@redhat.com>
Signed-off-by: Lily Sturmann <lsturman@redhat.com>
91041ec
to
239cc07
Compare
@connorkuehl That is an extremely reasonable suggestion. Updated. |
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.
Looks good! 🙂
This PR has
Quote
type into submodules (includes a few small fixes)impl TryFrom<&[u8; 48]> for QuoteHeader
The former involved some reorganization of the code inquote.rs
to be more organized, ex. the types now show up in the order that they go into theQuote
. There are also header comments to help delineate these different sections. Alternatively, I could break these parts out into small submodules in separate files. Any thoughts on this?Edit: there are now submodules for
quote.
Related to: enarx/enarx#917 ,
Related to: enarx/enarx#84