Commit Graph

154 Commits

Author SHA1 Message Date
Yu Yuan fb7a0a03e5 update supported OS version in readme file
Signed-off-by: Yu Yuan <yuan.yu@intel.com>
2018-05-10 22:24:54 +08: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>
sgx_2.1.3
2018-05-10 11:05:38 +08:00
Andy Zhao 4b31cebfe5 Merge pull request #253 from yuyuany/refle
fix ref_le build issue with edger8r
2018-04-16 10:28:26 +08:00
Yu Yuan 2544dbd729 fix ref_le build issue with edger8r
Signed-off-by: Yu Yuan <yuan.yu@intel.com>
2018-04-16 18:14:29 +08:00
Andy Zhao e9a7c096a8 Merge pull request #250 from llly/tlibcrypto_update
Update tlibcrypto to add new crypto wrapper function
2018-04-13 09:30:58 +08:00
Li, Xun 5d59856dae Update tlibcrypto to add new crypto wrapper function
New API:
sgx_create_rsa_key_pair
sgx_rsa_priv_decrypt_sha256
sgx_rsa_pub_encrypt_sha256
sgx_create_rsa_priv2_key
sgx_create_rsa_priv1_key

Signed-off-by: Li, Xun <xun.li@intel.com>
2018-04-12 11:15:57 +08:00
lzha101 646b2d37ba Merge pull request #248 from yuyuany/fedora-support
Add Fedora support info to README

Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
2018-04-12 11:02:25 +08:00
Yu Yuan c697a4a836 Add Fedora support info to README
Signed-off-by: Yu Yuan <yuan.yu@intel.com>
2018-04-11 21:34:44 +08:00
lzha101 08bff79aa6 Merge pull request #245 from yuyuany/no-unused-parameter
add -Wno-unused-parameter to protobufs

Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
2018-04-09 14:47:45 +08:00
Yu Yuan b588e5d43e add -Wno-unused-parameter to protobufs
Signed-off-by: Yu Yuan <yuan.yu@intel.com>
2018-04-09 22:24:08 +08:00
lzha101 0f45cad401 Merge pull request #231 from lzha101/trts_red_zone
Fix red zone issue in continue_execution()

Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
2018-03-20 11:03:05 +08:00
Zhang Lili Z edb18459b8 Fix red zone issue in continue_execution(). And create a header file for shared constants between assembly code and C code.
Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
2018-03-19 23:18:37 +08:00
lzha101 a31b0b6034 Merge pull request #143 from deeglaze/ioctl_retry
Expose an internal error on enclave_create ioctl interrupt.

Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
2018-03-16 17:13:40 +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
Dionna Glaze 25709d8403 Expose an internal error on enclave_create ioctl interrupt.
After months of debugging to find the source of the interrupt, this
is the middle ground solution to make progress.

Signed-off-by: Dionna Glaze <dionnaglaze@google.com>
2018-03-14 11:26:27 -07:00
lzha101 7ce7e243d2 Merge pull request #216 from deeglaze/typedef_include
Adds includes to allow use of some typedefs when in pickier compilers.

Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
2018-03-05 15:54:56 +08:00
lzha101 3535f30bd2 Merge pull request #215 from deeglaze/sgx_is_enclave_crashed
Adds an API function to check if the enclave has crashed.

Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
2018-03-05 15:52:56 +08:00
Dionna Glaze 22f9f6008e Adds includes to allow use of some typedefs when in pickier compilers.
Signed-off-by: Dionna Glaze <dionnaglaze@google.com>
2018-03-02 09:58:08 -08:00
Dionna Glaze 3d80233b42 Adds an API function to check if the enclave has crashed.
Signed-off-by: Dionna Glaze <dionnaglaze@google.com>
2018-03-02 09:56:44 -08:00
lzha101 7d0a4086ed Merge pull request #219 from lzha101/st_fix
Fix dump command for sgx_sign

Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
2018-02-28 10:53:58 +08:00
Zhang Lili Z 08d15d554e Fix dump command for sgx_sign
Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
2018-02-28 18:46:37 +08:00
Andy Zhao 1bcdf2ed21 Linux 2.1.1 Open Source Gold Release
Signed-off-by: Andy Zhao <yebin.andy.zhao@intel.com>
sgx_2.1.1
2018-02-13 06:29:03 +00:00
lzha101 3ccaec34f4 Merge pull request #203 from lzha101/openssl_compat
Fix OpenSSL 1.1.0 compatibility issue in sign_tool and urts_sim

Signed-off-by: Zhang Lili Z lili.z.zhang@intel.com
2018-01-29 11:19:20 +08:00
Zhang Lili Z a12405a2b3 Fix OpenSSL 1.1.0 compatibility issue in sign_tool and urts_sim
Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
2018-01-27 01:45:19 +08:00
lzha101 3f132c612f Update download_prebuilt.sh
Update download script to use prebuilt AEs with security updates.
2018-01-26 17:02:10 +08:00
lzha101 049541fa6a Merge pull request #197 from dingelish/master
Fix improper Makefile for tprotected_fs and uprotected_fs. And fix a typo in sample project.

Signed-off-by: Zhang Lili lili.z.zhang@intel.com
2018-01-23 09:23:03 +08:00
Yu Ding ec99334de7 Fix a typo
Signed-off-by: Yu Ding <dingelish@gmail.com>
2018-01-19 10:55:22 -08:00
Yu Ding 550724f559 Merge remote-tracking branch 'upstream/master' 2018-01-19 10:53:43 -08:00
Li, Xun 1ccf25b64a Linux 2.1 Open Source Gold release
Signed-off-by: Li, Xun <xun.li@intel.com>
sgx_2.1
2018-01-19 11:02:56 +08:00
Yu Ding 4752534fb2 Fix improper Makefile for tprotected_fs and uprotected_fs, enabling make -j.
Signed-off-by: Yu Ding <dingelish@gmail.com>
2018-01-17 14:50:33 -08:00
yuyuany 3699ffd5eb Merge pull request #188 from yuyuany/heap_init
Clear the heap pages after enclave initialization
2017-12-11 14:06:25 +08:00
Yu Yuan 5fd7026fc3 Clear the heap pages after enclave initialization
Signed-off-by: Yu Yuan <yuan.yu@intel.com>
2017-12-11 21:56:40 +08:00
lzha101 160be9c402 Merge pull request #186 from akryeem-INTC/akryeem-INTC-patch-2
Update script to look into specific SGXSSL tag.

Signed-off-by: Zhang Lili lili.z.zhang@intel.com
2017-11-30 15:57:58 +08:00
akryeem-INTC 9f397bb0f6 Update script to look into specific SGXSSL tag.
Instead of downloading and using master branch, use specific tag that we know will always work for SGX SDK.
When SGXSSL master branch change, SGX SDK shouldn't be affected.
Signed-off-by: Kryeem, Alaa alaa.kryeem@intel.com
2017-11-30 09:27:49 +02:00
Li, Xun cbdce63643 Fix bug in aesm_service and uae_service shared code
Object is not allocated before dereferencing pointer.

Signed-off-by: Li, Xun <xun.li@intel.com>
2017-11-15 10:50:32 +08:00
yuyuany 1cac210251 Merge pull request #179 from rrebane/master
Fix linker error due to undefined reference.
2017-11-15 09:19:18 +08:00
Reimo Rebane d15da77481 Fix linker error due to undefined reference.
* Calling the macro "SGX_ACCESS_VERSION(sgx_capable, 1)" results in a
  reference to "sgx_sgx_capable_version" which is undefined. The correct
  reference is "sgx_capable_version".

Signed-off-by: Reimo Rebane <reimo.rebane@cyber.ee>
2017-11-13 13:05:47 +02:00
Andy Zhao de141c3984 Merge pull request #178 from avchinch/master
Update README with SGX 2.0-capable driver note.
2017-11-10 09:52:31 +08:00
Angie Chinchilla 406038db39 Update README with SGX 2.0-capable driver note.
Signed-off-by: Angie Chinchilla <angie.v.chinchilla@intel.com>
2017-11-09 16:30:15 -05: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>
sgx_2.0
2017-11-07 14:41:20 +08:00
yuyuany 2ef16f684e Merge pull request #176 from clenimar/mention-source-env
Mention environment set up to compile samples
2017-10-24 09:00:41 +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
lzha101 cc7b61d123 Merge pull request #173 from dingelish/master
Fix to a static library linking problem.

Signed-off-by: Zhang Lili lili.z.zhang@intel.com
2017-10-16 15:18:00 +08:00
lzha101 f807025460 Merge pull request #174 from mkow/patch-1
Fix a typo in a sample code

Signed-off-by: Zhang Lili lili.z.zhang@intel.com
2017-10-16 13:23:27 +08: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
Yu Ding 4b78988578 Fix to a static library linking problem.
The new `protected_fs` library is shipped within two static libraries (libsgx_tprotected_fs.a and libsgx_uprotected_fs.a). Both of them include a header file. These two header files would cause linking problem because in many circumstances, these two header files appear in source code directories and source codes include them. This patch is intended to resolve this conflict.

Signed-off-by: Yu Ding <dingyu02@baidu.com>
2017-09-28 20:45:08 -07:00
Haitao Huang 9d8046e310 Check and handle signal interrupts in sockets
Signed-off-by: Haitao Huang <4699115+haitaohuang@users.noreply.github.com>
2017-09-22 16:57:45 +08:00
Haitao Huang 960ad91a4a Add error code in oal for invalid inputs
Signed-off-by: Haitao Huang <4699115+haitaohuang@users.noreply.github.com>
2017-09-22 16:57:45 +08:00
Li, Xun e22c569335 Update libunwind for glibc 2.26 compatibility
libunwind should include <signal.h> explicitly.
glibc change sys/ucontext.h as a bug fix(https://sourceware.org/git/?p=glibc.git;a=commit;h=cfed8ece799b6e6540193a14b41d9de52dc3b08f)

Signed-off-by: Li, Xun <xun.li@intel.com>
2017-09-20 11:12:20 +08:00