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

Flatbuffers serialization, aggregation optimization, build improvements #9

Merged
merged 52 commits into from
Dec 2, 2020

Conversation

chester-leung
Copy link
Member

  • Adds integration test for C++ model aggregation
  • Replaces existing serialization with Flatbuffers
  • Optimizes enclave aggregation code
  • Build improvements

Note: I did not include Flatbuffers installation and build as part of this PR. I opened #6 to note this. To install Flatbuffers you can do snap install flatbuffers.

Co-authored-by: David Yi < davidyi624@berkeley.edu>
Co-authored-by: Rishabh Poddar rishabhp89@gmail.com
Co-authored-by: Octavian Sima 34696537+octaviansima@users.noreply.github.com

Copy link
Member

@podcastinator podcastinator left a comment

Choose a reason for hiding this comment

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

Thanks! Left some comments. In addition, there are a few empty files. Please delete them if not required?

common/encryption/encrypt.h Show resolved Hide resolved
common/utils.h Show resolved Hide resolved
server/enclave/ecalls.cpp Show resolved Hide resolved
server/host/host.cpp Show resolved Hide resolved
server/host/host.cpp Show resolved Hide resolved
@@ -14,22 +12,32 @@ using namespace std;
char* path = "./enclave/enclave.signed";
uint32_t flags = OE_ENCLAVE_FLAG_DEBUG | OE_ENCLAVE_FLAG_SIMULATE;

// Helper function used to copy double pointers from untrusted memory to enclave memory
Copy link
Member

Choose a reason for hiding this comment

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

This function is not being used.

Copy link
Member Author

Choose a reason for hiding this comment

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

Removed

@podcastinator podcastinator merged commit 2e5e38a into mc2-project:master Dec 2, 2020
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.

3 participants