Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
37 Views

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

Jump to solution

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

Accepted Solutions
Highlighted
New Contributor III
37 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
Highlighted
New Contributor III
38 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
Highlighted
Beginner
37 Views

Yes. you are right, I find it.

Thanks.

0 Kudos
Highlighted
New Contributor III
37 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