I'm interested in the enclave the protection of the Enclave itself.
I want to use SGXAPI "sgx_create_encrypted_enclave".
Is there sample code using it or the documentation how to use?
If yes, please let me know.
what encryption algorithm does it encrypt the enclave?
And, can the developer select any algorithm in the future?
Loads the encrypted enclave using its file name and initializes it using a launch token.
sgx_create_encrypted_enclave is a macro for the sgx_create_encrypted_enclavea(ANSI) or sgx_create_encrypted_enclavew (Unicode) function.
const char *file_name,
const int debug,
And you can find the information regarding this function is Page No.139 of https://software.intel.com/sites/default/files/managed/b4/cf/Intel-SGX-SDK-Developer-Reference-for-Windows-OS.pdf
Could you provide more details on how the encrypted enclave is generated? Is there a specific algorithm to be used? What about the key?
I read the Developer Reference, but I couldn't find anything regarding it.