Intel® Software Guard Extensions (Intel® SGX)
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.

where can find the code about creating the quote in the sample code in the SDK?

yu_b_1
Beginner
170 Views

Hi.In the sample code RemoteAttestation directory, I couldn't find the source code about creating the quote.

I think some api ,such as  sgx_init_quote,sgx_create_report, sgx_get_quote etc  should be used , but I can't find it in the file .

who can tell me the file name including those codes?

the url of the code :https://github.com/01org/linux-sgx/blob/master/SampleCode/RemoteAttestation

Thanks a lot.

                                                                                

 

 

0 Kudos
1 Solution
you_w_
New Contributor III
170 Views

Hi yu b:

When you call "sgx_ra_proc_msg2", what's happened?You can find what you want I     "[-] ukey_exchange.cpp" and    "[-] tkey_exchange.cpp".

Regards 

you

 

 

View solution in original post

3 Replies
you_w_
New Contributor III
171 Views

Hi yu b:

When you call "sgx_ra_proc_msg2", what's happened?You can find what you want I     "[-] ukey_exchange.cpp" and    "[-] tkey_exchange.cpp".

Regards 

you

 

 

yu_b_1
Beginner
170 Views

Yes. you are right, I find it.

Thanks.

you_w_
New Contributor III
170 Views

Hi yu b:

Actually in hardware mode, PSW's QE(quoting enclave) helps to generate the "quote". The file "linux-sgx\psw\ae\qe\quoting_enclave.cpp" shows the  implement. You can look into it.

Regards 

you

 

Reply