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

Improve sgx-isa usability, add test for local attestation #117

Merged
merged 2 commits into from
Aug 16, 2019

Conversation

jethrogb
Copy link
Member

No description provided.

@jethrogb jethrogb force-pushed the jb/local-attestation branch 6 times, most recently from 257cae4 to f2bf42b Compare March 26, 2019 16:28

let mut mac_out = [0u8; 16];
Cipher::new(CipherId::Aes, CipherMode::ECB, 128).unwrap()
.cmac(&key, report.mac_data(), &mut mac_out).unwrap();
Copy link
Member Author

Choose a reason for hiding this comment

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

this should use the verify function

@jethrogb jethrogb force-pushed the jb/local-attestation branch 2 times, most recently from 0d0bebb to 3a6f367 Compare August 16, 2019 21:39
@Goirad
Copy link
Member

Goirad commented Aug 16, 2019

Would it be worth it to introduce cfg_if to clean up that tests file a bit?

@Goirad
Copy link
Member

Goirad commented Aug 16, 2019

bors r+

bors bot added a commit that referenced this pull request Aug 16, 2019
117: Improve sgx-isa usability, add test for local attestation r=Goirad a=jethrogb



Co-authored-by: Jethro Beekman <jethro@fortanix.com>
@bors
Copy link
Contributor

bors bot commented Aug 16, 2019

Build succeeded

  • continuous-integration/travis-ci/push

@bors bors bot merged commit 3a6f367 into master Aug 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants