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

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

yu_b_1
Beginner
495 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
495 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

0 Kudos
3 Replies
you_w_
New Contributor III
496 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

 

 

0 Kudos
yu_b_1
Beginner
495 Views

Yes. you are right, I find it.

Thanks.

0 Kudos
you_w_
New Contributor III
495 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

 

0 Kudos
Reply