Files
intel-linux-sgx/SampleCode/SampleCommonLoader
Li, Xun d10cabebb5 Linux 2.5 Open Source Gold Release
Added new APIs in sgx_uae_service.h and sgx_ukey_exchange.h to support ECDSA quote based remote attestation.
  The set of legacy APIs supports EPID only and the set of new APIs supports ECDSA quotes.
Enhanced Edger8r with structure deep-copy feature.
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2019-04-02 13:26:58 +08:00
..
2019-04-02 13:26:58 +08:00
2019-04-02 13:26:58 +08:00
2018-09-13 09:47:41 +08:00

------------------------
Purpose of SampleCommonLoader
------------------------
The project demonstrates how to use these Enclave Common Loader Layer APIs: 
- enclave_create
- enclave_load_data
- enclave_initialize
- enclave_delete

------------------------------------
How to Build/Execute the Sample Code
------------------------------------
1. Install Intel(R) Software Guard Extensions (Intel(R) SGX) PSW and Intel(R) SGX SDK for Linux* OS
2. Make sure your environment is set:
    $ source ${sgx-sdk-install-path}/environment
3. Build the project with the prepared Makefile:
    a. Build the project
        $ make
    b. Clean the project
        $ make clean
    c. Re-build the project
        $ make rebuild
4. Execute the binary directly:
    $ ./sample