mirror of
https://github.com/intel/linux-sgx
synced 2026-06-08 14:49:32 +00:00
28817533cc
Added support for the Key Separation and Sharing (KSS) feature. Provided a set of new encryption and decryption functions such as sgx_hmac256_*. Provided a new untrusted API: sgx_get_target_info. Provided a new untrusted API: sgx_create_enclave_from_buffer_ex. Updated the cryptography library and Architecture Enclaves to use Intel(R) Integrated Performance Primitives Cryptography 2019 Update 1. Fixed bugs. Signed-off-by: Li, Xun <xun.li@intel.com>
------------------------
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