51 Commits

Author SHA1 Message Date
Jing He 064d0468de add a sample project for stdc_ex branch
Signed-off-by: Jing He <jing.j.he@intel.com>
2023-06-19 10:14:40 +08:00
Zhang Lili cd8ea431c3 Rebase the code to 2.18 release.
Signed-off-by: Zhang Lili <lili.z.zhang@intel.com>
2022-11-29 15:51:35 +08:00
Li, Xun effae62802 Linux 2.17 Open Source Gold Release
Along with the latest processor microcode and re-signed all the Intel(R) SGX
  Architecture Enclaves (AEs) to address CVE-2022-21123, CVE-2022-21125 and
  CVE-2022-21166.
Upgraded to Protobuf 3.20.
Upgraded to SgxSSL/OpenSSL 1.1.1o.
Added Intel TDX Attestation support.
Added Rust support for ECDSA quote verification.
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2022-06-15 09:34:27 +08:00
gaoyusong 111a916b5d Fix sgx_create_enclave retry mechanism
Fix sgx_create_enclave retry mechanism when load_enclave
just return SGX_ERROR_MEMORY_MAP_FAILURE. Deprecated the
SGX_ERROR_MEMORY_MAP_CONFLICT. Make the retry mechanism
compatible with new driver and urts.

Signed-off-by: gaoyusong <a869920004@163.com>
2022-04-08 10:29:29 +08:00
Li, Xun 321a6580fb Linux 2.16 Open Source Gold Release
Upgraded to OpenSSL 1.1.1m.
Provided RA-TLS (Remote Attestation based Transport Layer Security) APIs and
  Samples.
Supported PKRU (Protection Key rights Register) in Enclave.
Added APIs of SHA384 and VerifyReport2 to support TDX.
Enhanced QPL (Quote Provider Library) to support caching Intel PCK
  (Provisioning Certificate Key) certificate chain in local memory, or
  retrieving Intel PCK cert chain from local HTTP/S address.
Upgraded Intel ECDSA Quote Verification Enclave to integrate SgxSSL/OpenSSL
  version 1.1.1m.
Introduced Intel ID enclave for QE identity generation.
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2022-04-06 12:06:27 +08:00
Zhang Lili 6bb988fd7c Linux 2.15 Open Source Gold Release
Upgraded Intel(R) Integrated Performance Primitives Cryptography library to version 2021 update 3.
Upgraded Intel(R) SGX Architecture Enclaves based on new IPP crypto library.
Added software prevention of fault injection attacks.
Upgraded to GNU Binutils 2.36.1. Stopped providing ld.gold (developers should use ld instead).
Supported Google Protobuf C++.
Enabled C++14 within SGX SDK.
Added SM2/3/4 Samples.
Fixed bugs.

Signed-off-by: Zhang Lili <lili.z.zhang@intel.com>
2021-09-30 00:32:18 +00:00
Li, Xun edfe42a517 Linux 2.14 Open Source Gold Release
Supported loading enclave at address 0.
Upgraded Intel(R) Quote Verification Enclave to integrate SgxSSL/OpenSSL version 1.1.1k.
Updated the DCAP driver V1.33 with stability fixes, released as V1.33.2. This is to support
  legacy solutions not ready to transition to the latest DCAP driver V1.41 or kernel 5.11+.
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2021-07-13 14:01:03 +08:00
lzha101 26c458905b Update copyright. (#708)
Signed-off-by: Zhang Lili <lili.z.zhang@intel.com>
2021-05-18 10:52:48 +08:00
Qinkun Bao ff73c6213d fix typos
Signed-off-by: Qinkun Bao <qinkunbao@gmail.com>
2021-02-18 13:42:07 -05:00
Li, Xun 73b8b57aea Linux 2.13 Open Source Gold Release
Added more logs in PSW components for identifying issues.
Upgraded OpenSSL and SgxSSL to latest version 1.1.1i in DCAP components.
Added data base migration support in PCCS.
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2021-02-04 14:56:56 +08:00
Yu Ding d10c025eb0 Typo fixes (#588)
Signed-off-by: Yu Ding dingelish@gmail.com
2020-09-09 16:31:22 +08:00
Li, Xun b9b071b544 Linux 2.11 Open Source Gold Release
Supported new OS: RHEL 8.2 and SUSE 15.
Provided standalone Intel(R) SGX DCAP Quote verification library installer.
Added Intel(R) SGX DCAP Platform Certificate ID Retrieval Tool and Multi-package Registration
  Agent (MPA) installers into SGX installation repo.
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2020-08-28 09:01:06 +08:00
Guilhem Niot 746e602864 Fix some more typos 2020-07-17 10:46:10 +02:00
lzha101 15287981b9 Merge pull request #566 from dingelish/fix-typos
Fix typos
Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
2020-07-10 14:01:16 +08:00
Li, Xun 60d36e0de7 Linux 2.10 Open Source Gold Release
Provided a reproducible SDK.
Supported new OS: RHEL 8.1, CentOS 8.1 and Fedora 31.
Supported user to specify platform id in PCK Cert ID Retrieval Tool’s command line option.
Added ability to execute Platform Cert ID Retrieval Tool on multi-package platforms without
  loading enclaves. PCCS now supports this functionality. The platform still needs to support
  SGX.
Updated Platform Cert ID Retrieval Tool and Multi-package registration tool to align with BIOS
  platform manifest changes.
Added .deb and .rpm installers for Platform Cert ID Retrieval Tool and Multi-package
  Registration Agent.
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2020-07-07 08:42:08 +08:00
Yu Ding f8c59e1445 docs: fix typos
Signed-off-by: Yu Ding <dingelish@gmail.com>
2020-07-04 15:26:43 -07:00
Guilhem Niot 639c2aa1d1 Fix typos in sample comments 2020-06-06 00:28:49 +02:00
Li Xun 4bb545cde0 Merge pull request #516 from beviko/bugfix-local-attestation-example
Fixes buggy replay protection counter in local attestation example.
2020-04-22 14:13:23 +08:00
Li, Xun 1eaa4551d4 Linux 2.9.1 Open Source Gold Release
Supported to query Intel(R) SGX attestation key ID list.
Fixed bugwqs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2020-04-09 14:45:01 +08:00
Benedikt Kopf 8174f92412 Fixes buggy replay protection counter in local attestation example.
Signed-off-by: Benedikt Kopf <benedikt.kopf@tum.de>
2020-03-25 17:23:29 +01:00
Li, Xun 4589daddd5 Linux 2.9 Open Source Gold Release
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2020-03-10 12:47:50 +08:00
lyj 4ec7eab8dd Update Makefile 2020-01-31 16:48:02 +08:00
Zhang Lili Z 9ddec08fb9 Linux 2.8 Open Source Gold Release.
Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
2020-01-16 09:56:26 +08:00
Li, Xun 033054af39 Fix a typo in LocalAttestation sample code
Signed-off-by: Li, Xun <xun.li@intel.com>
2019-11-04 09:08:27 +08:00
Li Xun 50d5bec588 Merge pull request #385 from pdxjohnny/remote_attestation_readme
Remote Attestation sample update README
2019-08-14 11:23:38 +08:00
Li, Xun a58a732114 Refine output message for RemoteAttestation sample code
wSigned-off-by: Li, Xun <xun.li@intel.com>
2019-07-24 10:26:00 +08:00
Li, Xun 1e37f48d4f fix Remote Attestation sample code
Signed-off-by: Li, Xun <xun.li@intel.com>
2019-07-24 08:06:18 +08:00
Li, Xun c505e6129a Linux 2.6 Open Source Gold Release
Added support for Reproducible Enclave Build using Docker file.
Added support for Intel AVX-512 instructions and Intel SHA Extensions New Instructions (SHA-NI) in trusted libraries.
Support both EPID and ECDSA based quote for quoting related interfaces in sgx_uae_service library.
Updated key exchange library to support both EPID and ECDSA based remote attestation.
Support new interface to check platform information blob from remote attestation response message.
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2019-07-05 14:12:24 +08:00
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
John Andersen abb0bb90b1 Remote Attestation sample update README
* LD_LIBRARY_PATH needed to be extended to include sample_libcrypto
  rather than overwritten.

Signed-off-by: John Andersen <john.s.andersen@intel.com>
2019-03-14 10:05:46 -07:00
Li, Xun 28817533cc Linux 2.4 Open Source Gold Release
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>
2018-12-20 11:02:39 +08:00
Yu Ding 477ab4f562 Fix typo
Signed-off-by: Yu Ding <dingelish@gmail.com>
2018-10-25 10:56:12 -07:00
Li, Xun 68f44d6e68 Linux 2.3 Open Source Gold Release
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>
2018-09-13 09:47:41 +08:00
Zhang Lili Z 62dc69d355 Add 'const' to sgx_create_enclave_ex()
Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
2018-08-07 22:31:27 +08:00
Li, Xun a169a69497 Linux 2.2 Open Source Gold Release
Support for Switchless Calls
Bug fixes

Signed-off-by: Li, Xun <xun.li@intel.com>
2018-07-03 10:48:20 +08:00
Liron Shacham ef87f1f4f7 Removed wrong link
Signed-off-by: Shacham, Liron<liron.shacham@intel.com>
2018-05-10 17:56:42 +03:00
Li, Xun 75dd558bda Linux 2.1.3 Open Source Gold Release
Security updates to Linux SDK and PSW
Support for Intel SGX Protected Code Loader

Signed-off-by: Li, Xun <xun.li@intel.com>
2018-05-10 11:05:38 +08:00
Li, Xun bd59dc35dc Linux 2.1.2 Open Source Gold Release
Security updates to Linux SDK and PSW

Signed-off-by: Li, Xun <xun.li@intel.com>
2018-03-16 12:56:41 +08:00
Andy Zhao 1bcdf2ed21 Linux 2.1.1 Open Source Gold Release
Signed-off-by: Andy Zhao <yebin.andy.zhao@intel.com>
2018-02-13 06:29:03 +00:00
Yu Ding ec99334de7 Fix a typo
Signed-off-by: Yu Ding <dingelish@gmail.com>
2018-01-19 10:55:22 -08:00
Li, Xun 1ccf25b64a Linux 2.1 Open Source Gold release
Signed-off-by: Li, Xun <xun.li@intel.com>
2018-01-19 11:02:56 +08:00
Li, Xun 53c7eae28f Remerge pull request #176
The changes in #176 were reverted in Linux 2.0 Open Source Gold release.

Signed-off-by: Li, Xun <xun.li@intel.com>
2017-11-09 10:02:06 +08:00
Li, Xun 159f60223e Linux 2.0 Open Source Gold release
Signed-off-by: Li, Xun <xun.li@intel.com>
2017-11-07 14:41:20 +08:00
Clenimar Filemon cabf1f60b0 Mention environment set up to compile samples
In some cases it may be necessary to source the needed environment
variables before compiling the sample codes. Mention it in the main
README and also in every sample code README.

Signed-off-by: Clenimar Filemon <clenimar.filemon@gmail.com>
2017-10-23 10:42:44 -03:00
Michał Kowalczyk b1bc6fcad9 Fix a typo in a sample code
Signed-off-by: Michał Kowalczyk <mkow@invisiblethingslab.com>
2017-10-13 11:36:33 +02:00
Greg Laun 38023b61aa Correct typos in some of the sample apps.
Signed-off-by: Greg Laun <greg.laun@gmail.com>
2017-09-05 12:33:37 -07:00
Li, Xun 0fb9f47e78 Linux 1.9 Open Source Gold release
Signed-off-by: Li, Xun <xun.li@intel.com>
2017-06-30 15:51:16 +08:00
Li, Xun 1115c195cd Linux 1.8 Open Source Gold release
Signed-off-by: Li, Xun <xun.li@intel.com>
2017-03-16 15:30:38 +09:00
llly 6662022bf8 Linux 1.7 Open Source Gold release
Signed-off-by: Li, Xun <xun.li@email.com>
2016-12-20 09:47:15 +09:00
zhaohuidu 85947caa12 Upgrade to Linux 1.6 gold release
switch code to linux 1.6 opensource gold release
2016-09-19 14:55:22 +08:00