Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Ang__Liso
Beginner
74 Views

create an enclave from ocall

I am not very sure if it is possible. I am trying to do the following:
 

sgx_status_t ocall_do_something(){

    sgx_create_enclave()

    ecall into the enclave created and do something inside this enclave

   sgx_destory_enclave()

}

but it seems the program stops in the middle of the ocall, when it is trying to memcpy the function arguments.

I would like to know if I can do something like this and what is the proper way of doing it.

Thanks.

0 Kudos
0 Replies
Reply