mirror of
https://github.com/intel/linux-sgx
synced 2026-06-08 14:49:32 +00:00
68f44d6e68
Support for Ubuntu 18.04 LTS 64-bit Desktop and Server version
Provided a new set of SGX common loader APIs in sgx_enclave_common.h
Provided the sample code for Switchless Call
Provided a new API in tcrypto: sgx_ecc256_calculate_pub_from_priv
sgx_create_enclave API will ignore the parameter of launch token and will not update it after function successfully returns
Change Intel SGX PSW installer for Ubuntu by
- Using .deb installer.
- Using name libsgx-enclave-common_{version string}-1_amd64.deb.
- Installing Intel SGX Enclave Common loader library.
Bug fixes
Signed-off-by: Li, Xun <xun.li@intel.com>
25 lines
764 B
Plaintext
25 lines
764 B
Plaintext
------------------------
|
|
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
|