You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@teaclave.apache.org by ms...@apache.org on 2021/07/02 02:46:56 UTC

[incubator-teaclave] branch master updated (e54debd -> 6105701)

This is an automated email from the ASF dual-hosted git repository.

mssun pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave.git.


    from e54debd  Fix a potential index overflow of DBQueue (#514)
     add d4dccd4  Add Teaclave context file APIs and related examples for WASM executor
     add 6105701  Update CI docker image version to 0.1.3

No new revisions were added by this update.

Summary of changes:
 .drone.yml                                         |  46 ++---
 .github/workflows/ci.yml                           |   6 +-
 cmake/scripts/test.sh                              |   9 +-
 docker/build.ubuntu-1804.sgx-2.9.1.Dockerfile      |   2 +
 docker/build.ubuntu-1804.sgx-dcap-1.6.Dockerfile   |   2 +
 docs/executing-wasm.md                             |  78 +++++++++
 examples/c/builtin_echo.c                          |  42 +++--
 examples/python/builtin_face_detection.py          |  13 +-
 examples/python/builtin_ordered_set_intersect.py   |   2 +
 .../wasm_c_millionaire_problem_payload/Makefile    |  38 ++--
 .../millionaire_problem.c}                         |   9 +-
 .../{wasm_simple_add.py => wasm_c_simple_add.py}   |   2 +-
 .../simple_add.c                                   |   1 -
 .../simple_add.wasm                                | Bin
 ...n_ordered_set_intersect.py => wasm_rust_psi.py} | 109 +++++++-----
 examples/python/wasm_rust_psi_payload/Cargo.toml   |  17 ++
 .../python/wasm_rust_psi_payload/Makefile          |   9 +-
 examples/python/wasm_rust_psi_payload/src/lib.rs   |  98 +++++++++++
 .../python/wasm_teaclave_pf_payload/teaclave_pf.h  |  68 --------
 executor/README.md                                 |   6 +-
 executor/src/wamr.rs                               |  13 +-
 sdk/{c => payload/wasm}/cbindgen.toml              |   7 +-
 sdk/payload/wasm/teaclave_context.h                |  94 ++++++++++
 sdk/payload/wasm/teaclave_context/Cargo.toml       |   9 +
 sdk/payload/wasm/teaclave_context/src/lib.rs       | 191 +++++++++++++++++++++
 .../expected_output.txt                            |   0
 .../input_a.txt                                    |   0
 .../input_b.txt                                    |   0
 .../millionaire_problem.c                          |   9 +-
 .../millionaire_problem.wasm                       | Bin
 tests/fixtures/functions/wamr_rust_psi/psi0.txt    |  20 +++
 .../fixtures/functions/wamr_rust_psi/psi0.txt.enc  | Bin 0 -> 4096 bytes
 tests/fixtures/functions/wamr_rust_psi/psi1.txt    |  19 ++
 .../fixtures/functions/wamr_rust_psi/psi1.txt.enc  | Bin 0 -> 4096 bytes
 34 files changed, 699 insertions(+), 220 deletions(-)
 create mode 100644 docs/executing-wasm.md
 copy cmake/scripts/gen_enclave_info_toml.py => examples/python/wasm_c_millionaire_problem_payload/Makefile (53%)
 mode change 100644 => 100755
 copy examples/python/{wasm_teaclave_pf_payload/teaclave_pf.c => wasm_c_millionaire_problem_payload/millionaire_problem.c} (95%)
 rename examples/python/{wasm_simple_add.py => wasm_c_simple_add.py} (98%)
 rename examples/python/{wasm_simple_add_payload => wasm_c_simple_add_payload}/simple_add.c (99%)
 rename examples/python/{wasm_simple_add_payload => wasm_c_simple_add_payload}/simple_add.wasm (100%)
 copy examples/python/{builtin_ordered_set_intersect.py => wasm_rust_psi.py} (60%)
 create mode 100644 examples/python/wasm_rust_psi_payload/Cargo.toml
 copy cmake/scripts/llvm-gcov.sh => examples/python/wasm_rust_psi_payload/Makefile (83%)
 create mode 100644 examples/python/wasm_rust_psi_payload/src/lib.rs
 delete mode 100644 examples/python/wasm_teaclave_pf_payload/teaclave_pf.h
 copy sdk/{c => payload/wasm}/cbindgen.toml (86%)
 create mode 100644 sdk/payload/wasm/teaclave_context.h
 create mode 100644 sdk/payload/wasm/teaclave_context/Cargo.toml
 create mode 100644 sdk/payload/wasm/teaclave_context/src/lib.rs
 rename tests/fixtures/functions/{wamr => wamr_c_millionaire_problem}/expected_output.txt (100%)
 rename tests/fixtures/functions/{wamr => wamr_c_millionaire_problem}/input_a.txt (100%)
 rename tests/fixtures/functions/{wamr => wamr_c_millionaire_problem}/input_b.txt (100%)
 rename examples/python/wasm_teaclave_pf_payload/teaclave_pf.c => tests/fixtures/functions/wamr_c_millionaire_problem/millionaire_problem.c (95%)
 rename examples/python/wasm_teaclave_pf_payload/teaclave_pf.wasm => tests/fixtures/functions/wamr_c_millionaire_problem/millionaire_problem.wasm (100%)
 create mode 100644 tests/fixtures/functions/wamr_rust_psi/psi0.txt
 create mode 100644 tests/fixtures/functions/wamr_rust_psi/psi0.txt.enc
 create mode 100644 tests/fixtures/functions/wamr_rust_psi/psi1.txt
 create mode 100644 tests/fixtures/functions/wamr_rust_psi/psi1.txt.enc

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@teaclave.apache.org
For additional commands, e-mail: commits-help@teaclave.apache.org