-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Revise InitializeEnclave function documentation #2145
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
base: docs
Are you sure you want to change the base?
Conversation
Updated the documentation for the InitializeEnclave function to callout `ERROR_MOD_NOT_FOUND` scenario and requirement to ensure vertdll is in enclave dll IAT.
|
@riverar : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change. |
| | **ERROR_ENCLAVE_FAILURE** | An failure specific to the underlying enclave architecture occurred. The value for the *lpEnclaveError* parameter contains the architecture-specific error.<br/><br/>For the **ENCLAVE_TYPE_SGX** and **ENCLAVE_TYPE_SGX2** enclave types, the EINIT instruction that the [ENCLAVE_INIT_INFO_SGX](../winnt/ns-winnt-enclave_init_info_sgx.md) structure specified generated an error. The value of the *lpEnclaveError* parameter contains the error that the instruction generated. | | ||
| | **ERROR_BAD_LENGTH** | The value of the *dwInfoLength* parameter did not match the value expected based on the value specified for the *lpEnclaveInformation* parameter. | | ||
| | **ERROR_RETRY** | The processor was not able to initialize the enclave in a timely fashion. Try to initialize the enclave again. | | ||
| | **ERROR_MOD_NOT_FOUND** | The vertdll.dll module was not found loaded in the enclave. Ensure the enclave DLL calls at least one vertdll.dll API. | |
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.
Struggled to find a consumer-friendly way to describe the DLL must be present in the Enclave DLL's import table so that it is loaded/available.
|
Thanks, @riverar. I've added @CodeMaxx from the engineering side to make sure this sounds good to him. This PR may get re-assigned to another writer from the team. I'm moving to the Microsoft Foundry docs team this week, but I'm trying to help wrap up as much of my open work as possible during the transition. |
|
Thanks @alvinashcraft no worries. There's an open team discussion here microsoft/VbsEnclaveTooling#148 (comment) |
Updated the documentation for the InitializeEnclave function to callout
ERROR_MOD_NOT_FOUNDscenario and requirement to ensure vertdll is in enclave dll IAT.