Commit Graph

350 Commits

Author SHA1 Message Date
lzha101 9aaa2e8426 Merge pull request #580 from sbellem/fix-typo
Fix typo in linux/reproducibility/README.md

Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
2020-08-31 15:51:28 +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>
sgx_2.11
2020-08-28 09:01:06 +08:00
Li Xun 62b116c502 Merge pull request #581 from lengyijun/patch-2
Update README.md
2020-08-07 15:21:17 +08:00
lyj 80325b8c20 Update README.md 2020-08-05 13:26:37 +08:00
Sylvain Bellemare d4c55e3139 Fix typo in linux/reproducibility/README.md 2020-08-04 15:45:03 -04:00
lzha101 ce4a18d9a0 Merge pull request #571 from lzha101/fix_large_rsrv_mem
Fix bug of setting large reserved momory.

Signed-off-by: Zhang Lili Z lili.z.zhang@intel.com
2020-07-23 11:49:19 +08:00
Zhang Lili Z adaeb2af79 Fix bug of setting large reserved momory.
Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
2020-07-23 18:28:33 +08:00
Li Xun 7c2e2f9d0b Merge pull request #568 from GuilhemN/master
Fix some more typos
2020-07-20 15:33:25 +08:00
Guilhem Niot 746e602864 Fix some more typos 2020-07-17 10:46:10 +02:00
lzha101 d1029a5821 Merge pull request #567 from fqiu1/master
Fix build error in "make psw_install_psw"

Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
2020-07-10 14:01:43 +08: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
Qiu Feng 63fbce42a9 Fix the build error in "make psw_install_pkg"
Signed-off-by: Qiu Feng <feng.qiu@intel.com>
2020-07-09 23:44:00 +08:00
Qiu Feng a014ab0198 Merge pull request #1 from intel/master
sync from orig repo
2020-07-09 16:44:42 +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>
sgx_2.10
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
Haitao Huang 3ea0560dc6 Merge pull request #557 from haitaohuang/fix_docker
Fix an error in docker/build
2020-06-23 17:31:01 -05:00
Haitao Huang d340cef321 Fix an error in docker/build
And minor README update

Signed-off-by: Haitao Huang <4699115+haitaohuang@users.noreply.github.com>
2020-06-23 08:05:52 -05:00
Haitao Huang 0e71c227ad Merge pull request #553 from haitaohuang/docker_rel_2.9.2
Docker updates
2020-06-15 08:59:19 -05:00
Haitao Huang 388d52c723 Update README for quick start with Docker and Docker Compose
Signed-off-by: Haitao Huang <4699115+haitaohuang@users.noreply.github.com>
2020-06-12 10:54:27 -05:00
Haitao Huang 21f4d8209f Update docker files to use the FLC driver as default
Signed-off-by: Haitao Huang <4699115+haitaohuang@users.noreply.github.com>
2020-06-12 10:54:08 -05:00
Haitao Huang cd8b026daa Add .dockerignore
Signed-off-by: Haitao Huang <4699115+haitaohuang@users.noreply.github.com>
2020-06-12 10:48:06 -05:00
lzha101 c7bb69a9a9 Merge pull request #552 from GuilhemN/master
Fix a few typos in the samples comments

Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
2020-06-08 14:51:54 +08:00
Guilhem Niot 639c2aa1d1 Fix typos in sample comments 2020-06-06 00:28:49 +02:00
JunjunGu1 fdc9b33ee1 loading enclave will fail in enclave_create with oot driver (#542)
* fix the failure of enclave_common for oot driver

* update the fix for comment
2020-05-13 20:12:10 -05:00
Haitao Huang f8960343fa Merge pull request #530 from haitaohuang/v29
Changes for kernel sgx patch V29
2020-05-09 12:53:53 -05:00
Haitao Huang 32169592d0 Changes for kernel sgx patch V29
Signed-off-by: Haitao Huang <4699115+haitaohuang@users.noreply.github.com>
2020-05-09 12:38:13 -05:00
lzha101 9adb13b116 Update Makefile for ipp-crypto
Update Makefile for ipp-crypto

Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
2020-05-08 21:57:57 +08: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
Andy Zhao ff71da6187 Merge pull request #525 from jbdelcuv/docker_build
Can't build SGX SDK with the current dockerfile
2020-04-13 10:33:05 +08:00
Li Xun 2e3bbb63d1 Merge pull request #522 from dcmiddle/update-sgxlibs-uaesplit
Update SDK installer to provide sim libs
2020-04-10 10:01:09 +08:00
Juan del Cuvillo 13004889d8 Change the make target to build the SDK with no mitigation to avoid having to install the binutils package that contains the updated assembler. 2020-04-09 17:45:01 -04:00
lzha101 63d037791c Update prepare_sgxssl.sh
Update OpenSSL package url.

Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
sgx_2.9.1
2020-04-09 16:54:42 +08:00
Li, Xun da2a5bba7d Update submodule external/dnnl and external/openmp
Signed-off-by: Li, Xun <xun.li@intel.com>
2020-04-09 15:41:48 +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
lzha101 1a65d74374 Merge pull request #506 from lkatalin/python-fix
Change 'is not' to '!=' in gdb_sgx_plugin.py

Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
2020-04-09 08:45:39 +08:00
Lily S 735624409e Change 'is not' to '!=' in gdb_sgx_plugin.py
Signed-off-by: Lily Sturmann <lsturman@redhat.com>
2020-04-08 15:55:18 -04:00
lzha101 78135a5786 Update prepare_sgxssl.sh
Update OpenSSL package url.

Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
2020-04-08 15:44:08 +08:00
Dan Middleton d5e2718e23 Update SDK installer to provide sim libs
Simulation libraries are provided through the SDK installation into
the sdk_libs directory and the environment file adds that directory to
LD_LIBRARY_PATH. Starting in version 2.8 new simulation libraries were
introduced but not added to this path.

This commit adds libsgx_quote_ex_sim.so, libsgx_epid_sim.so, and
libsgx_launch_sim.so to the expected directory.

Without this change applications following the conventions of the sample
Makefiles may build but fail to execute.

Signed-off-by: Dan Middleton <dan.middleton@intel.com>
2020-04-06 15:22:49 -05:00
Li Xun a2b90e326d Merge pull request #512 from ipuustin/aesmd-service
config: aesmd.service support for new device files
2020-03-27 16:40:58 +08:00
volcano bdb8a6aa7b set pthread_info_tls.m_state = SGX_PTHREAD_EXIT after (#488)
pthread_thread_run() returns

Signed-off-by: volcano <volcano_dr@163.com>
2020-03-27 16:06:13 +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
Ismo Puustinen b460a4b2e5 config: aesmd.service support for the new device files.
The current upstream candidate driver users /dev/sgx/enclave and
/dev/sgx/provision files. Add the device files to aesmd systemd service
file so that they can be accessed.

Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
2020-03-19 15:15:17 +02:00
Seth Moore 0280f97a07 Fix CPU feature detection on non-Intel CPUs (#474)
Some developers may have workstations that are not Intel
based. These developers should be able to test their enclaves
with the SGX simulation before building real SGX enclaves and
running those enclaves on genuine Intel processors.

By fixing CPU feature detection, developers with non-Intel
workstations can use SGX simulation to develop SGX enclaves.

Signed-off-by: Seth Moore <sethmo@google.com>
2020-03-16 10:10:35 +08:00
Jakub Konka 72402fd9d2 Update Code Samples commands (#505)
This commit updates the commands one should use when verifying that
they've properly built the SDK and/or have the SGX properly set up,
up and running.

It turns out that the executable for the samples is
generated inside a `bin` subdir (located in each sample), and it is
imperative to run the sample directly from that dir as otherwise
one will be greeted with `failed to load enclave`-like error.

Signed-off-by: Jakub Konka <jakub.konka@golem.network>
2020-03-16 10:01:12 +08:00
Li, Xun ded144258d Upate README.md for 2.9 release
Signed-off-by: Li, Xun <xun.li@intel.com>
sgx_2.9
2020-03-11 09:42:25 +08:00
Li, Xun e78301b69f Update SGXSSL script
use latest SGXSSL 2.9 release

Signed-off-by: Li, Xun <xun.li@intel.com>
2020-03-11 09:12:31 +08: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
Yu Ding e0a51c4974 Fix sgx-gdb throw exceptions on every ocall in Rust-SGX (#489)
* Fix sgx-gdb throw exceptions on every ocall in Rust-SGX

In Rust-SGX environment, `sgx-gdb` always throws exception after ocall:

```
Python Exception <class 'gdb.error'> syntax error in expression, near `)0x7fffffffd840 = 0'.:
```

And the debugger stops immediately. At this time, the debugger is working in `Rust` mode instead of `C` mode:

```
gdb-peda$ set *(uintptr_t *)0x7fffffffd6d0 = 0
syntax error in expression, near `)0x7fffffffd6d0 = 0'.
gdb-peda$ set *(u32)0x7fffffffd6d0 = 0
syntax error in expression, near `0x7fffffffd6d0 = 0'.
gdb-peda$ p sizeof(u32)
$4 = 0x4
gdb-peda$ show language
The current source language is "auto; currently rust".
gdb-peda$ set language c
gdb-peda$ set *(uintptr_t *)0x7fffffffd6d0 = 0
gdb-peda$
```

This PR helps set the language to `c` before execution of essential gdb commands, and rolls back to `auto` afterwards. This would benefit lots of developers who are developing SGX enclaves in other languages.

Signed-off-by: Yu Ding <dingelish@gmail.com>

* Fix
2020-02-21 16:15:31 +08:00
Li Xun 7b9f974482 Merge pull request #493 from lengyijun/patch-1
Update Makefile
2020-02-18 08:47:09 +08:00
lyj 4ec7eab8dd Update Makefile 2020-01-31 16:48:02 +08:00