- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Calling sgx_init_quote is the first thing an Intel® Software Guard Extensions application does in the process of getting a quote of an enclave.But after i create enclave success,when i execute the sgx_init_quote,the function return SGX_ERROR_BUSY. I referd the <<Intel® Software Guard Extensions (Intel® SGX) SDK for Linux* OS>>,the doc said "It's suggested that the caller should wait (typically several seconds to tens of seconds) and retry this API if SGX_ERROR_BUSY is returned", my code as flows:
do{
sleep(50);
ret = sgx_init_quote(&target_info, &epid_gid);//check errors,https://software.intel.com/en-us/sgx-sdk-dev-reference-error-codes
cout << busy_retry_time << endl;
}while (SGX_ERROR_BUSY == ret && busy_retry_time--);
the error is the same sgx-error_busy:"The requested service is temporarily not available" .why?
Link Copied
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page