Intel® Software Guard Extensions (Intel® SGX)
Discussion board focused on hardware-based isolation and memory encryption to provide extended code protection in solutions.

Problem in calling sgx_ra_proc_msg2

Jimmy_W_
Beginner
405 Views

Hi,I am learning SGX and doing experiment on ubuntu 14.04 and sdk version 1.5.

In remote attestation sample code , the service provider is a dynamic library, isv_app and service_provider are in the same program. I divided the code into two parts and make them connect through socket, but I have a problem in calling sgx_ra_proc_msg2.

When isv_app get msg2 coming from service provider and call  sgx_ra_proc_msg2, it always getting NULL msg3. I check it for some time but I can't figure it out.

Please help me.

 

0 Kudos
1 Reply
Rodolfo_S_
New Contributor III
405 Views

Hi.

Did you check the return code after calling sgx_ra_proc_msg2?

Also, is there a specific reason why you are using SGX SDK v1.5 and Ubuntu 14.04 instead of the currently supported versions (SGX SDK v1.8 and Ubuntu16.04)?

0 Kudos
Reply