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

Support for enclave dynamic memory #292

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Support for enclave dynamic memory #292

wants to merge 6 commits into from

Conversation

raoulstrackx
Copy link
Contributor

@raoulstrackx raoulstrackx commented Oct 13, 2020

SGXv2 supports adding and removing memory pages after the enclave has been constructed. This PR implements the required infrastructure for this.

Related #104

@raoulstrackx raoulstrackx marked this pull request as draft October 15, 2020 15:00
@raoulstrackx raoulstrackx force-pushed the raoul/edmm branch 4 times, most recently from 4d62955 to d002186 Compare October 26, 2020 10:00
@raoulstrackx raoulstrackx marked this pull request as ready for review October 26, 2020 10:02
@raoulstrackx raoulstrackx marked this pull request as draft November 3, 2020 17:54
@raoulstrackx raoulstrackx force-pushed the raoul/edmm branch 3 times, most recently from 0dd7cf9 to 75eb7fa Compare April 6, 2021 09:40
@raoulstrackx raoulstrackx marked this pull request as ready for review April 6, 2021 09:52
@@ -17,3 +17,6 @@ members = [
"sgxs-tools"
]
exclude = ["examples"]

[patch.crates-io]
bitflags = { git = "https://github.com/bitflags/bitflags" }
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can be removed once bitflags publishes a new version

@raoulstrackx
Copy link
Contributor Author

We should add infrastructure to run this in CI as well.

@@ -22,6 +23,7 @@ use openssl::{
use sgx_isa::{Attributes, AttributesFlags, Miscselect, Sigstruct};
use sgxs::crypto::{SgxHashOps, SgxRsaOps};
use sgxs::loader::{Load, MappingInfo, Tcs};
use sgxs::loader::{EnclaveControl};
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Remove '{' and '}'

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.

None yet

1 participant