occlum/demos
Junxian Xiao 86d11e9d44 Refactor the remote attestation demo
This commits consists of three major changes:

1. Support a new interface to get the base64 quote only.
This is useful in the case that application sends the quote
to service provider server and get the final IAS report there.
The application itself doesn't depend on IAS in this case.

2. Improve the C++ programming style. Now, we only provide
C++ classes and limited C APIs(for configuration and sgx device).

3. Use the more general keywords as names prefix.

Signed-off-by: Junxian Xiao <junxian.xjx@antfin.com>
2020-06-23 16:59:33 +08:00
..
embedded_mode Add support for PAL API v2 2020-05-29 05:26:38 +00:00
fish Add symbolic file support for FISH demo 2020-06-13 03:33:32 +00:00
gdb_support Add GDB support for apps running upon Occlum 2020-02-14 07:52:45 +00:00
golang Rewrite Python demo with NumPy, scikit-learn, and pandas 2020-06-05 11:56:31 +08:00
grpc Fix the demo's compiling failure in some cases 2020-04-15 14:14:00 +08:00
hello_bazel Improve Occlum GCC toolchain with new wrappers for binaries 2019-11-29 11:20:00 +00:00
hello_c Improve Occlum GCC toolchain with new wrappers for binaries 2019-11-29 11:20:00 +00:00
hello_cc Improve Occlum GCC toolchain with new wrappers for binaries 2019-11-29 11:20:00 +00:00
https_server Improve Occlum GCC toolchain with new wrappers for binaries 2019-11-29 11:20:00 +00:00
local_attestation Fix local attestation demo to use new PAL API and sdk 2.9.1 2020-06-04 20:05:55 +08:00
openvino Rewrite Python demo with NumPy, scikit-learn, and pandas 2020-06-05 11:56:31 +08:00
python Rewrite Python demo with NumPy, scikit-learn, and pandas 2020-06-05 11:56:31 +08:00
remote_attestation Refactor the remote attestation demo 2020-06-23 16:59:33 +08:00
rust Add the Occlum-compatible Rust toolchains and a demo 2020-05-22 14:36:11 +08:00
sqlite Add SQLite demo 2020-02-25 11:14:48 +00:00
tensorflow_lite Improve Occlum GCC toolchain with new wrappers for binaries 2019-11-29 11:20:00 +00:00
xgboost Polish the XGBoost demo 2020-06-05 15:09:26 +08:00
README.md Add the Occlum-compatible Rust toolchains and a demo 2020-05-22 14:36:11 +08:00

Demos

This directory contains sample projects that demonstrate how Occlum can be used to build and run user applications.

Toolchain demos

This set of demos shows how the Occlum toolchain can be used with different build tools.

  • hello_c: A sample C project built with Makefile/CMake.
  • hello_cc: A sample C++ project built with Makefile/CMake.
  • hello_bazel: A sample C++ project built with Bazel.

Application demos

This set of demos shows how real-world apps can be easily run inside SGX enclaves with Occlum.

Other demos

  • embedded_mode: A cross-enclave memory throughput benchmark enabled by the embedded mode of Occlum.
  • gdb_support: This demo explains the technical detail of GDB support and demonstrates how to debug an app running upon Occlum with GDB.
  • local_attestation: This project demonstrates how an app running upon Occlum can perform SGX local attestation.
  • remote_attestation: This project demonstrates how an app running upon Occlum can perform SGX remote attestation.