After reading all the Intel Documents and SGX API, I was sure that th sgx_create_report is the way to call the EREPORT SGX instruction needed for Local attestation between two Enclaves. I then started with the Sample Code(Local Attestation) example. However the example seems to use a Diffie Hellman Key exchange mechanism. Am I missing something here?
They don't even seem to call the sgx_create_report instruction :(