├── .dockerignore ├── .env.sample ├── .gitattributes ├── .github ├── pull_request_template.md ├── script │ └── prs.js └── workflows │ └── release.yml ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── README.md ├── azure-pipelines.yml ├── config ├── Enclave.config.xml ├── Enclave.lds ├── UnitTestEnclave.config.xml ├── enclave_pub.pem ├── ias_root_cert.pem └── test_enclave_signing.pem ├── docker-compose.yml ├── docker ├── README.md ├── base-anonify-dev-pgx.Dockerfile ├── base-anonify-dev.Dockerfile ├── base-occlum-enclave.Dockerfile ├── base-occlum-host.Dockerfile ├── base-rust-sgx-sdk-rootless.Dockerfile ├── entrypoint │ └── fixuid.bash ├── example-encrypted-sql-ops-pg.Dockerfile ├── example-erc20.Dockerfile └── example-keyvault.Dockerfile ├── docs ├── dir_structure.md └── framework.md ├── e2e-docker-compose.yml ├── edl ├── Anonify_common.edl └── Anonify_test.edl ├── esop-docker-compose.yml ├── example ├── encrypted-sql-ops │ ├── README.md │ ├── enclave │ │ ├── Cargo.toml │ │ ├── rust-toolchain │ │ └── src │ │ │ ├── ecalls.rs │ │ │ └── lib.rs │ └── pg-extension │ │ ├── .cargo │ │ └── config │ │ ├── .gitignore │ │ ├── Cargo.lock │ │ ├── Cargo.toml │ │ ├── encrypted_sql_ops_pg_extension.control │ │ ├── rust-toolchain │ │ ├── sql │ │ └── load-order.txt │ │ └── src │ │ ├── aggregate.rs │ │ ├── func.rs │ │ ├── init.rs │ │ ├── lib.rs │ │ └── typ.rs ├── erc20 │ ├── cli │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── commands.rs │ │ │ ├── config.rs │ │ │ ├── error.rs │ │ │ ├── main.rs │ │ │ └── term │ │ │ ├── config.rs │ │ │ ├── mod.rs │ │ │ └── style.rs │ ├── enclave │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── ecalls.rs │ │ │ ├── lib.rs │ │ │ └── state_transition.rs │ └── server │ │ ├── Cargo.toml │ │ └── src │ │ └── main.rs ├── key-vault │ ├── enclave │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── ecalls.rs │ │ │ └── lib.rs │ └── server │ │ ├── Cargo.toml │ │ └── src │ │ └── main.rs ├── occlum │ ├── enclave │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── handler.rs │ │ │ └── main.rs │ ├── host │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── main.rs │ │ │ └── tests.rs │ └── rpc-types │ │ ├── Cargo.toml │ │ ├── build.rs │ │ ├── src │ │ └── lib.rs │ │ └── test.proto └── wallet │ ├── Cargo.toml │ └── src │ ├── constants.rs │ ├── derive.rs │ ├── disk.rs │ ├── error.rs │ ├── keyfile.rs │ └── lib.rs ├── frame ├── README.md ├── azure-client │ ├── .gitignore │ ├── Cargo.toml │ ├── README.md │ ├── docker-compose.yml │ ├── src │ │ ├── blob.rs │ │ └── lib.rs │ └── testdata │ │ └── .gitkeep ├── common │ ├── Cargo.toml │ └── src │ │ ├── ciphertexts │ │ ├── mod.rs │ │ └── treekem.rs │ │ ├── crypto.rs │ │ ├── lib.rs │ │ ├── state_types.rs │ │ └── traits.rs ├── config │ ├── Cargo.toml │ └── src │ │ ├── envs.rs │ │ ├── lib.rs │ │ └── measurement.rs ├── enclave │ ├── Cargo.toml │ └── src │ │ ├── enclave_use_case.rs │ │ ├── enclave_use_case │ │ ├── basic_enclave_use_case.rs │ │ └── state_runtime_enclave_use_case.rs │ │ ├── lib.rs │ │ └── register_enclave_use_case.rs ├── host │ ├── Cargo.toml │ ├── build.rs │ └── src │ │ ├── ecall_controller.rs │ │ ├── ecalls.rs │ │ ├── error.rs │ │ ├── init_enclave.rs │ │ ├── lib.rs │ │ └── ocalls.rs ├── mra-tls │ ├── Cargo.toml │ └── src │ │ ├── cert.rs │ │ ├── client.rs │ │ ├── config.rs │ │ ├── connection.rs │ │ ├── error.rs │ │ ├── key.rs │ │ ├── key_vault │ │ ├── mod.rs │ │ ├── request.rs │ │ └── response.rs │ │ ├── lib.rs │ │ ├── server.rs │ │ ├── tests.rs │ │ └── verifier.rs ├── remote-attestation │ ├── Cargo.toml │ └── src │ │ ├── client.rs │ │ ├── error.rs │ │ ├── lib.rs │ │ └── quote.rs ├── retrier │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── retry.rs │ │ └── strategy.rs ├── runtime │ ├── Cargo.toml │ └── src │ │ ├── impls.rs │ │ ├── lib.rs │ │ ├── prelude.rs │ │ ├── primitives.rs │ │ └── traits.rs ├── sodium │ ├── Cargo.toml │ └── src │ │ ├── crypto.rs │ │ ├── lib.rs │ │ ├── rng.rs │ │ ├── sealing.rs │ │ └── store_dec_key.rs ├── treekem │ ├── Cargo.toml │ └── src │ │ ├── application.rs │ │ ├── crypto │ │ ├── dh.rs │ │ ├── ecies.rs │ │ ├── hash.rs │ │ ├── hkdf.rs │ │ ├── hmac.rs │ │ ├── mod.rs │ │ └── secrets.rs │ │ ├── group_state.rs │ │ ├── handshake.rs │ │ ├── lib.rs │ │ ├── ratchet_tree.rs │ │ ├── store_path_secrets.rs │ │ ├── test_funcs.rs │ │ └── tree_math.rs └── types │ ├── Cargo.toml │ ├── build.rs │ └── src │ ├── lib.rs │ ├── traits.rs │ └── types.rs ├── modules ├── anonify-ecall-types │ ├── Cargo.toml │ └── src │ │ ├── ciphertexts.rs │ │ ├── cmd.rs │ │ ├── lib.rs │ │ └── types.rs ├── anonify-enclave │ ├── Cargo.toml │ └── src │ │ ├── backup.rs │ │ ├── commands │ │ ├── enclave_key.rs │ │ ├── executor.rs │ │ ├── mod.rs │ │ ├── plaintext.rs │ │ └── treekem.rs │ │ ├── context.rs │ │ ├── enclave_key.rs │ │ ├── error.rs │ │ ├── group_key.rs │ │ ├── handshake.rs │ │ ├── join_group │ │ ├── enclave_key.rs │ │ ├── mod.rs │ │ └── treekem.rs │ │ ├── kvs │ │ ├── mod.rs │ │ ├── user_counter.rs │ │ └── user_state.rs │ │ ├── lib.rs │ │ └── notify.rs ├── anonify-eth-driver │ ├── Cargo.toml │ └── src │ │ ├── backup.rs │ │ ├── cache.rs │ │ ├── controller.rs │ │ ├── dispatcher.rs │ │ ├── error.rs │ │ ├── eth │ │ ├── connection.rs │ │ ├── event_def.rs │ │ ├── event_payload.rs │ │ ├── event_watcher.rs │ │ ├── mod.rs │ │ └── sender.rs │ │ ├── lib.rs │ │ └── utils.rs ├── encrypted-sql-ops-ecall-types │ ├── Cargo.toml │ └── src │ │ ├── ecall_cmd.rs │ │ ├── enc_type.rs │ │ ├── enc_type │ │ ├── enc_aggregate_state.rs │ │ ├── enc_aggregate_state │ │ │ └── enc_avg_state.rs │ │ └── encinteger.rs │ │ ├── enclave_types.rs │ │ ├── enclave_types │ │ ├── enclave_enc_avg_state.rs │ │ ├── enclave_enc_avg_state_with_next.rs │ │ ├── enclave_enc_integer.rs │ │ ├── enclave_plain_integer.rs │ │ └── enclave_plain_real.rs │ │ └── lib.rs ├── encrypted-sql-ops-enclave │ ├── Cargo.toml │ └── src │ │ ├── aggregate_calc.rs │ │ ├── enclave_context.rs │ │ ├── enclave_use_cases.rs │ │ ├── enclave_use_cases │ │ ├── enc_integer_avg_final_func_use_case.rs │ │ ├── enc_integer_avg_state_func_use_case.rs │ │ └── enc_integer_from_use_case.rs │ │ ├── error.rs │ │ ├── lib.rs │ │ ├── plain_types.rs │ │ ├── plain_types │ │ ├── plain_avg_state.rs │ │ ├── plain_integer.rs │ │ └── plain_real.rs │ │ ├── type_crypt.rs │ │ └── type_crypt │ │ └── pad16bytes_crypt.rs ├── encrypted-sql-ops-host │ ├── Cargo.toml │ └── src │ │ ├── controller.rs │ │ ├── controller │ │ ├── encinteger_avg_final_func.rs │ │ ├── encinteger_avg_state_func.rs │ │ ├── encinteger_from.rs │ │ ├── host_types.rs │ │ └── host_types │ │ │ ├── host_enc_avg_state_with_next.rs │ │ │ ├── host_enc_integer.rs │ │ │ ├── host_input_enc_avg_state.rs │ │ │ ├── host_output_enc_avg_state.rs │ │ │ ├── host_plain_integer.rs │ │ │ └── host_plain_real.rs │ │ └── lib.rs ├── key-vault-ecall-types │ ├── Cargo.toml │ └── src │ │ ├── cmd.rs │ │ ├── lib.rs │ │ └── types.rs ├── key-vault-enclave │ ├── Cargo.toml │ └── src │ │ ├── context.rs │ │ ├── error.rs │ │ ├── handlers.rs │ │ ├── lib.rs │ │ └── server.rs ├── key-vault-host │ ├── Cargo.toml │ └── src │ │ ├── controller.rs │ │ ├── dispatcher.rs │ │ ├── error.rs │ │ └── lib.rs ├── occlum-enclave │ ├── Cargo.toml │ ├── build.rs │ ├── proto │ │ └── health.proto │ └── src │ │ ├── context.rs │ │ ├── lib.rs │ │ └── service.rs └── occlum-host │ ├── Cargo.toml │ └── src │ └── lib.rs ├── nodes ├── key-vault │ ├── Cargo.toml │ └── src │ │ ├── handlers.rs │ │ ├── lib.rs │ │ └── test │ │ ├── enclave_key.rs │ │ ├── mod.rs │ │ └── treekem.rs └── state-runtime │ ├── api │ ├── Cargo.toml │ └── src │ │ └── lib.rs │ └── server │ ├── Cargo.toml │ └── src │ ├── error.rs │ ├── handlers.rs │ ├── lib.rs │ └── test │ ├── enclave_key.rs │ ├── mod.rs │ └── treekem.rs ├── occlum-docker-compose.yml ├── pgx-docker-compose.yml ├── rustfmt.toml ├── scripts ├── Makefile ├── build-cli.sh ├── client.js ├── e2e-test.sh ├── encrypted-sql-ops-pg-test.sh ├── gen-enclave-config.sh ├── occlum-enclave-test.sh ├── occlum-host-test.sh ├── pre-build.sh ├── req_sign_to_azkv.py └── test.sh ├── templates ├── check_changes_of_base_dockerfile.yml └── setup_env.yml └── tests ├── integration ├── Cargo.toml └── src │ ├── enclave_key.rs │ ├── lib.rs │ └── treekem.rs ├── units ├── enclave │ ├── Cargo.toml │ └── src │ │ └── lib.rs └── host │ ├── Cargo.toml │ ├── build.rs │ └── src │ └── lib.rs └── utils ├── Cargo.toml ├── proc-macro ├── Cargo.toml └── src │ └── lib.rs └── src ├── lib.rs ├── runner.rs └── tracing.rs /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/.dockerignore -------------------------------------------------------------------------------- /.env.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/.env.sample -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.sol linguist-language=Solidity 2 | -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/script/prs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/.github/script/prs.js -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/.gitignore -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/Cargo.toml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/README.md -------------------------------------------------------------------------------- /azure-pipelines.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/azure-pipelines.yml -------------------------------------------------------------------------------- /config/Enclave.config.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/config/Enclave.config.xml -------------------------------------------------------------------------------- /config/Enclave.lds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/config/Enclave.lds -------------------------------------------------------------------------------- /config/UnitTestEnclave.config.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/config/UnitTestEnclave.config.xml -------------------------------------------------------------------------------- /config/enclave_pub.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/config/enclave_pub.pem -------------------------------------------------------------------------------- /config/ias_root_cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/config/ias_root_cert.pem -------------------------------------------------------------------------------- /config/test_enclave_signing.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/config/test_enclave_signing.pem -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docker/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/docker/README.md -------------------------------------------------------------------------------- /docker/base-anonify-dev-pgx.Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/docker/base-anonify-dev-pgx.Dockerfile -------------------------------------------------------------------------------- /docker/base-anonify-dev.Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/docker/base-anonify-dev.Dockerfile -------------------------------------------------------------------------------- /docker/base-occlum-enclave.Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/docker/base-occlum-enclave.Dockerfile -------------------------------------------------------------------------------- /docker/base-occlum-host.Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/docker/base-occlum-host.Dockerfile -------------------------------------------------------------------------------- /docker/base-rust-sgx-sdk-rootless.Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/docker/base-rust-sgx-sdk-rootless.Dockerfile -------------------------------------------------------------------------------- /docker/entrypoint/fixuid.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/docker/entrypoint/fixuid.bash -------------------------------------------------------------------------------- /docker/example-encrypted-sql-ops-pg.Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/docker/example-encrypted-sql-ops-pg.Dockerfile -------------------------------------------------------------------------------- /docker/example-erc20.Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/docker/example-erc20.Dockerfile -------------------------------------------------------------------------------- /docker/example-keyvault.Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/docker/example-keyvault.Dockerfile -------------------------------------------------------------------------------- /docs/dir_structure.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/docs/dir_structure.md -------------------------------------------------------------------------------- /docs/framework.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/docs/framework.md -------------------------------------------------------------------------------- /e2e-docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/e2e-docker-compose.yml -------------------------------------------------------------------------------- /edl/Anonify_common.edl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/edl/Anonify_common.edl -------------------------------------------------------------------------------- /edl/Anonify_test.edl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/edl/Anonify_test.edl -------------------------------------------------------------------------------- /esop-docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/esop-docker-compose.yml -------------------------------------------------------------------------------- /example/encrypted-sql-ops/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/encrypted-sql-ops/README.md -------------------------------------------------------------------------------- /example/encrypted-sql-ops/enclave/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/encrypted-sql-ops/enclave/Cargo.toml -------------------------------------------------------------------------------- /example/encrypted-sql-ops/enclave/rust-toolchain: -------------------------------------------------------------------------------- 1 | nightly-2020-10-25 2 | -------------------------------------------------------------------------------- /example/encrypted-sql-ops/enclave/src/ecalls.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/encrypted-sql-ops/enclave/src/ecalls.rs -------------------------------------------------------------------------------- /example/encrypted-sql-ops/enclave/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/encrypted-sql-ops/enclave/src/lib.rs -------------------------------------------------------------------------------- /example/encrypted-sql-ops/pg-extension/.cargo/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/encrypted-sql-ops/pg-extension/.cargo/config -------------------------------------------------------------------------------- /example/encrypted-sql-ops/pg-extension/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/encrypted-sql-ops/pg-extension/.gitignore -------------------------------------------------------------------------------- /example/encrypted-sql-ops/pg-extension/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/encrypted-sql-ops/pg-extension/Cargo.lock -------------------------------------------------------------------------------- /example/encrypted-sql-ops/pg-extension/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/encrypted-sql-ops/pg-extension/Cargo.toml -------------------------------------------------------------------------------- /example/encrypted-sql-ops/pg-extension/encrypted_sql_ops_pg_extension.control: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/encrypted-sql-ops/pg-extension/encrypted_sql_ops_pg_extension.control -------------------------------------------------------------------------------- /example/encrypted-sql-ops/pg-extension/rust-toolchain: -------------------------------------------------------------------------------- 1 | nightly-2021-05-18 2 | -------------------------------------------------------------------------------- /example/encrypted-sql-ops/pg-extension/sql/load-order.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/encrypted-sql-ops/pg-extension/sql/load-order.txt -------------------------------------------------------------------------------- /example/encrypted-sql-ops/pg-extension/src/aggregate.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/encrypted-sql-ops/pg-extension/src/aggregate.rs -------------------------------------------------------------------------------- /example/encrypted-sql-ops/pg-extension/src/func.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/encrypted-sql-ops/pg-extension/src/func.rs -------------------------------------------------------------------------------- /example/encrypted-sql-ops/pg-extension/src/init.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/encrypted-sql-ops/pg-extension/src/init.rs -------------------------------------------------------------------------------- /example/encrypted-sql-ops/pg-extension/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/encrypted-sql-ops/pg-extension/src/lib.rs -------------------------------------------------------------------------------- /example/encrypted-sql-ops/pg-extension/src/typ.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/encrypted-sql-ops/pg-extension/src/typ.rs -------------------------------------------------------------------------------- /example/erc20/cli/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/erc20/cli/Cargo.toml -------------------------------------------------------------------------------- /example/erc20/cli/src/commands.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/erc20/cli/src/commands.rs -------------------------------------------------------------------------------- /example/erc20/cli/src/config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/erc20/cli/src/config.rs -------------------------------------------------------------------------------- /example/erc20/cli/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/erc20/cli/src/error.rs -------------------------------------------------------------------------------- /example/erc20/cli/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/erc20/cli/src/main.rs -------------------------------------------------------------------------------- /example/erc20/cli/src/term/config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/erc20/cli/src/term/config.rs -------------------------------------------------------------------------------- /example/erc20/cli/src/term/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/erc20/cli/src/term/mod.rs -------------------------------------------------------------------------------- /example/erc20/cli/src/term/style.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/erc20/cli/src/term/style.rs -------------------------------------------------------------------------------- /example/erc20/enclave/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/erc20/enclave/Cargo.toml -------------------------------------------------------------------------------- /example/erc20/enclave/src/ecalls.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/erc20/enclave/src/ecalls.rs -------------------------------------------------------------------------------- /example/erc20/enclave/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/erc20/enclave/src/lib.rs -------------------------------------------------------------------------------- /example/erc20/enclave/src/state_transition.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/erc20/enclave/src/state_transition.rs -------------------------------------------------------------------------------- /example/erc20/server/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/erc20/server/Cargo.toml -------------------------------------------------------------------------------- /example/erc20/server/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/erc20/server/src/main.rs -------------------------------------------------------------------------------- /example/key-vault/enclave/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/key-vault/enclave/Cargo.toml -------------------------------------------------------------------------------- /example/key-vault/enclave/src/ecalls.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/key-vault/enclave/src/ecalls.rs -------------------------------------------------------------------------------- /example/key-vault/enclave/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/key-vault/enclave/src/lib.rs -------------------------------------------------------------------------------- /example/key-vault/server/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/key-vault/server/Cargo.toml -------------------------------------------------------------------------------- /example/key-vault/server/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/key-vault/server/src/main.rs -------------------------------------------------------------------------------- /example/occlum/enclave/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/occlum/enclave/Cargo.toml -------------------------------------------------------------------------------- /example/occlum/enclave/src/handler.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/occlum/enclave/src/handler.rs -------------------------------------------------------------------------------- /example/occlum/enclave/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/occlum/enclave/src/main.rs -------------------------------------------------------------------------------- /example/occlum/host/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/occlum/host/Cargo.toml -------------------------------------------------------------------------------- /example/occlum/host/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/occlum/host/src/main.rs -------------------------------------------------------------------------------- /example/occlum/host/src/tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/occlum/host/src/tests.rs -------------------------------------------------------------------------------- /example/occlum/rpc-types/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/occlum/rpc-types/Cargo.toml -------------------------------------------------------------------------------- /example/occlum/rpc-types/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/occlum/rpc-types/build.rs -------------------------------------------------------------------------------- /example/occlum/rpc-types/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/occlum/rpc-types/src/lib.rs -------------------------------------------------------------------------------- /example/occlum/rpc-types/test.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/occlum/rpc-types/test.proto -------------------------------------------------------------------------------- /example/wallet/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/wallet/Cargo.toml -------------------------------------------------------------------------------- /example/wallet/src/constants.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/wallet/src/constants.rs -------------------------------------------------------------------------------- /example/wallet/src/derive.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /example/wallet/src/disk.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/wallet/src/disk.rs -------------------------------------------------------------------------------- /example/wallet/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/wallet/src/error.rs -------------------------------------------------------------------------------- /example/wallet/src/keyfile.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/wallet/src/keyfile.rs -------------------------------------------------------------------------------- /example/wallet/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/example/wallet/src/lib.rs -------------------------------------------------------------------------------- /frame/README.md: -------------------------------------------------------------------------------- 1 | # A framework for composable Anonify modules 2 | -------------------------------------------------------------------------------- /frame/azure-client/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/azure-client/.gitignore -------------------------------------------------------------------------------- /frame/azure-client/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/azure-client/Cargo.toml -------------------------------------------------------------------------------- /frame/azure-client/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/azure-client/README.md -------------------------------------------------------------------------------- /frame/azure-client/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/azure-client/docker-compose.yml -------------------------------------------------------------------------------- /frame/azure-client/src/blob.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/azure-client/src/blob.rs -------------------------------------------------------------------------------- /frame/azure-client/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/azure-client/src/lib.rs -------------------------------------------------------------------------------- /frame/azure-client/testdata/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /frame/common/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/common/Cargo.toml -------------------------------------------------------------------------------- /frame/common/src/ciphertexts/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod treekem; 2 | -------------------------------------------------------------------------------- /frame/common/src/ciphertexts/treekem.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/common/src/ciphertexts/treekem.rs -------------------------------------------------------------------------------- /frame/common/src/crypto.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/common/src/crypto.rs -------------------------------------------------------------------------------- /frame/common/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/common/src/lib.rs -------------------------------------------------------------------------------- /frame/common/src/state_types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/common/src/state_types.rs -------------------------------------------------------------------------------- /frame/common/src/traits.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/common/src/traits.rs -------------------------------------------------------------------------------- /frame/config/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/config/Cargo.toml -------------------------------------------------------------------------------- /frame/config/src/envs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/config/src/envs.rs -------------------------------------------------------------------------------- /frame/config/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/config/src/lib.rs -------------------------------------------------------------------------------- /frame/config/src/measurement.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/config/src/measurement.rs -------------------------------------------------------------------------------- /frame/enclave/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/enclave/Cargo.toml -------------------------------------------------------------------------------- /frame/enclave/src/enclave_use_case.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/enclave/src/enclave_use_case.rs -------------------------------------------------------------------------------- /frame/enclave/src/enclave_use_case/basic_enclave_use_case.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/enclave/src/enclave_use_case/basic_enclave_use_case.rs -------------------------------------------------------------------------------- /frame/enclave/src/enclave_use_case/state_runtime_enclave_use_case.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/enclave/src/enclave_use_case/state_runtime_enclave_use_case.rs -------------------------------------------------------------------------------- /frame/enclave/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/enclave/src/lib.rs -------------------------------------------------------------------------------- /frame/enclave/src/register_enclave_use_case.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/enclave/src/register_enclave_use_case.rs -------------------------------------------------------------------------------- /frame/host/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/host/Cargo.toml -------------------------------------------------------------------------------- /frame/host/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/host/build.rs -------------------------------------------------------------------------------- /frame/host/src/ecall_controller.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/host/src/ecall_controller.rs -------------------------------------------------------------------------------- /frame/host/src/ecalls.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/host/src/ecalls.rs -------------------------------------------------------------------------------- /frame/host/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/host/src/error.rs -------------------------------------------------------------------------------- /frame/host/src/init_enclave.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/host/src/init_enclave.rs -------------------------------------------------------------------------------- /frame/host/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/host/src/lib.rs -------------------------------------------------------------------------------- /frame/host/src/ocalls.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/host/src/ocalls.rs -------------------------------------------------------------------------------- /frame/mra-tls/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/mra-tls/Cargo.toml -------------------------------------------------------------------------------- /frame/mra-tls/src/cert.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/mra-tls/src/cert.rs -------------------------------------------------------------------------------- /frame/mra-tls/src/client.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/mra-tls/src/client.rs -------------------------------------------------------------------------------- /frame/mra-tls/src/config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/mra-tls/src/config.rs -------------------------------------------------------------------------------- /frame/mra-tls/src/connection.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/mra-tls/src/connection.rs -------------------------------------------------------------------------------- /frame/mra-tls/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/mra-tls/src/error.rs -------------------------------------------------------------------------------- /frame/mra-tls/src/key.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/mra-tls/src/key.rs -------------------------------------------------------------------------------- /frame/mra-tls/src/key_vault/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/mra-tls/src/key_vault/mod.rs -------------------------------------------------------------------------------- /frame/mra-tls/src/key_vault/request.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/mra-tls/src/key_vault/request.rs -------------------------------------------------------------------------------- /frame/mra-tls/src/key_vault/response.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/mra-tls/src/key_vault/response.rs -------------------------------------------------------------------------------- /frame/mra-tls/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/mra-tls/src/lib.rs -------------------------------------------------------------------------------- /frame/mra-tls/src/server.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/mra-tls/src/server.rs -------------------------------------------------------------------------------- /frame/mra-tls/src/tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/mra-tls/src/tests.rs -------------------------------------------------------------------------------- /frame/mra-tls/src/verifier.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/mra-tls/src/verifier.rs -------------------------------------------------------------------------------- /frame/remote-attestation/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/remote-attestation/Cargo.toml -------------------------------------------------------------------------------- /frame/remote-attestation/src/client.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/remote-attestation/src/client.rs -------------------------------------------------------------------------------- /frame/remote-attestation/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/remote-attestation/src/error.rs -------------------------------------------------------------------------------- /frame/remote-attestation/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/remote-attestation/src/lib.rs -------------------------------------------------------------------------------- /frame/remote-attestation/src/quote.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/remote-attestation/src/quote.rs -------------------------------------------------------------------------------- /frame/retrier/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/retrier/Cargo.toml -------------------------------------------------------------------------------- /frame/retrier/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/retrier/src/lib.rs -------------------------------------------------------------------------------- /frame/retrier/src/retry.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/retrier/src/retry.rs -------------------------------------------------------------------------------- /frame/retrier/src/strategy.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/retrier/src/strategy.rs -------------------------------------------------------------------------------- /frame/runtime/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/runtime/Cargo.toml -------------------------------------------------------------------------------- /frame/runtime/src/impls.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/runtime/src/impls.rs -------------------------------------------------------------------------------- /frame/runtime/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/runtime/src/lib.rs -------------------------------------------------------------------------------- /frame/runtime/src/prelude.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/runtime/src/prelude.rs -------------------------------------------------------------------------------- /frame/runtime/src/primitives.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/runtime/src/primitives.rs -------------------------------------------------------------------------------- /frame/runtime/src/traits.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/runtime/src/traits.rs -------------------------------------------------------------------------------- /frame/sodium/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/sodium/Cargo.toml -------------------------------------------------------------------------------- /frame/sodium/src/crypto.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/sodium/src/crypto.rs -------------------------------------------------------------------------------- /frame/sodium/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/sodium/src/lib.rs -------------------------------------------------------------------------------- /frame/sodium/src/rng.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/sodium/src/rng.rs -------------------------------------------------------------------------------- /frame/sodium/src/sealing.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/sodium/src/sealing.rs -------------------------------------------------------------------------------- /frame/sodium/src/store_dec_key.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/sodium/src/store_dec_key.rs -------------------------------------------------------------------------------- /frame/treekem/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/treekem/Cargo.toml -------------------------------------------------------------------------------- /frame/treekem/src/application.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/treekem/src/application.rs -------------------------------------------------------------------------------- /frame/treekem/src/crypto/dh.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/treekem/src/crypto/dh.rs -------------------------------------------------------------------------------- /frame/treekem/src/crypto/ecies.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/treekem/src/crypto/ecies.rs -------------------------------------------------------------------------------- /frame/treekem/src/crypto/hash.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/treekem/src/crypto/hash.rs -------------------------------------------------------------------------------- /frame/treekem/src/crypto/hkdf.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/treekem/src/crypto/hkdf.rs -------------------------------------------------------------------------------- /frame/treekem/src/crypto/hmac.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/treekem/src/crypto/hmac.rs -------------------------------------------------------------------------------- /frame/treekem/src/crypto/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/treekem/src/crypto/mod.rs -------------------------------------------------------------------------------- /frame/treekem/src/crypto/secrets.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/treekem/src/crypto/secrets.rs -------------------------------------------------------------------------------- /frame/treekem/src/group_state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/treekem/src/group_state.rs -------------------------------------------------------------------------------- /frame/treekem/src/handshake.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/treekem/src/handshake.rs -------------------------------------------------------------------------------- /frame/treekem/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/treekem/src/lib.rs -------------------------------------------------------------------------------- /frame/treekem/src/ratchet_tree.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/treekem/src/ratchet_tree.rs -------------------------------------------------------------------------------- /frame/treekem/src/store_path_secrets.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/treekem/src/store_path_secrets.rs -------------------------------------------------------------------------------- /frame/treekem/src/test_funcs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/treekem/src/test_funcs.rs -------------------------------------------------------------------------------- /frame/treekem/src/tree_math.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/treekem/src/tree_math.rs -------------------------------------------------------------------------------- /frame/types/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/types/Cargo.toml -------------------------------------------------------------------------------- /frame/types/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/types/build.rs -------------------------------------------------------------------------------- /frame/types/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/types/src/lib.rs -------------------------------------------------------------------------------- /frame/types/src/traits.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/types/src/traits.rs -------------------------------------------------------------------------------- /frame/types/src/types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/frame/types/src/types.rs -------------------------------------------------------------------------------- /modules/anonify-ecall-types/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-ecall-types/Cargo.toml -------------------------------------------------------------------------------- /modules/anonify-ecall-types/src/ciphertexts.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-ecall-types/src/ciphertexts.rs -------------------------------------------------------------------------------- /modules/anonify-ecall-types/src/cmd.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-ecall-types/src/cmd.rs -------------------------------------------------------------------------------- /modules/anonify-ecall-types/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-ecall-types/src/lib.rs -------------------------------------------------------------------------------- /modules/anonify-ecall-types/src/types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-ecall-types/src/types.rs -------------------------------------------------------------------------------- /modules/anonify-enclave/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-enclave/Cargo.toml -------------------------------------------------------------------------------- /modules/anonify-enclave/src/backup.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-enclave/src/backup.rs -------------------------------------------------------------------------------- /modules/anonify-enclave/src/commands/enclave_key.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-enclave/src/commands/enclave_key.rs -------------------------------------------------------------------------------- /modules/anonify-enclave/src/commands/executor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-enclave/src/commands/executor.rs -------------------------------------------------------------------------------- /modules/anonify-enclave/src/commands/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-enclave/src/commands/mod.rs -------------------------------------------------------------------------------- /modules/anonify-enclave/src/commands/plaintext.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-enclave/src/commands/plaintext.rs -------------------------------------------------------------------------------- /modules/anonify-enclave/src/commands/treekem.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-enclave/src/commands/treekem.rs -------------------------------------------------------------------------------- /modules/anonify-enclave/src/context.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-enclave/src/context.rs -------------------------------------------------------------------------------- /modules/anonify-enclave/src/enclave_key.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-enclave/src/enclave_key.rs -------------------------------------------------------------------------------- /modules/anonify-enclave/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-enclave/src/error.rs -------------------------------------------------------------------------------- /modules/anonify-enclave/src/group_key.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-enclave/src/group_key.rs -------------------------------------------------------------------------------- /modules/anonify-enclave/src/handshake.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-enclave/src/handshake.rs -------------------------------------------------------------------------------- /modules/anonify-enclave/src/join_group/enclave_key.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-enclave/src/join_group/enclave_key.rs -------------------------------------------------------------------------------- /modules/anonify-enclave/src/join_group/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-enclave/src/join_group/mod.rs -------------------------------------------------------------------------------- /modules/anonify-enclave/src/join_group/treekem.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-enclave/src/join_group/treekem.rs -------------------------------------------------------------------------------- /modules/anonify-enclave/src/kvs/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-enclave/src/kvs/mod.rs -------------------------------------------------------------------------------- /modules/anonify-enclave/src/kvs/user_counter.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-enclave/src/kvs/user_counter.rs -------------------------------------------------------------------------------- /modules/anonify-enclave/src/kvs/user_state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-enclave/src/kvs/user_state.rs -------------------------------------------------------------------------------- /modules/anonify-enclave/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-enclave/src/lib.rs -------------------------------------------------------------------------------- /modules/anonify-enclave/src/notify.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-enclave/src/notify.rs -------------------------------------------------------------------------------- /modules/anonify-eth-driver/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-eth-driver/Cargo.toml -------------------------------------------------------------------------------- /modules/anonify-eth-driver/src/backup.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-eth-driver/src/backup.rs -------------------------------------------------------------------------------- /modules/anonify-eth-driver/src/cache.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-eth-driver/src/cache.rs -------------------------------------------------------------------------------- /modules/anonify-eth-driver/src/controller.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-eth-driver/src/controller.rs -------------------------------------------------------------------------------- /modules/anonify-eth-driver/src/dispatcher.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-eth-driver/src/dispatcher.rs -------------------------------------------------------------------------------- /modules/anonify-eth-driver/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-eth-driver/src/error.rs -------------------------------------------------------------------------------- /modules/anonify-eth-driver/src/eth/connection.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-eth-driver/src/eth/connection.rs -------------------------------------------------------------------------------- /modules/anonify-eth-driver/src/eth/event_def.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-eth-driver/src/eth/event_def.rs -------------------------------------------------------------------------------- /modules/anonify-eth-driver/src/eth/event_payload.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-eth-driver/src/eth/event_payload.rs -------------------------------------------------------------------------------- /modules/anonify-eth-driver/src/eth/event_watcher.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-eth-driver/src/eth/event_watcher.rs -------------------------------------------------------------------------------- /modules/anonify-eth-driver/src/eth/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-eth-driver/src/eth/mod.rs -------------------------------------------------------------------------------- /modules/anonify-eth-driver/src/eth/sender.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-eth-driver/src/eth/sender.rs -------------------------------------------------------------------------------- /modules/anonify-eth-driver/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-eth-driver/src/lib.rs -------------------------------------------------------------------------------- /modules/anonify-eth-driver/src/utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/anonify-eth-driver/src/utils.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-ecall-types/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-ecall-types/Cargo.toml -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-ecall-types/src/ecall_cmd.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-ecall-types/src/ecall_cmd.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-ecall-types/src/enc_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-ecall-types/src/enc_type.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-ecall-types/src/enc_type/enc_aggregate_state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-ecall-types/src/enc_type/enc_aggregate_state.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-ecall-types/src/enc_type/enc_aggregate_state/enc_avg_state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-ecall-types/src/enc_type/enc_aggregate_state/enc_avg_state.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-ecall-types/src/enc_type/encinteger.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-ecall-types/src/enc_type/encinteger.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-ecall-types/src/enclave_types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-ecall-types/src/enclave_types.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-ecall-types/src/enclave_types/enclave_enc_avg_state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-ecall-types/src/enclave_types/enclave_enc_avg_state.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-ecall-types/src/enclave_types/enclave_enc_avg_state_with_next.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-ecall-types/src/enclave_types/enclave_enc_avg_state_with_next.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-ecall-types/src/enclave_types/enclave_enc_integer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-ecall-types/src/enclave_types/enclave_enc_integer.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-ecall-types/src/enclave_types/enclave_plain_integer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-ecall-types/src/enclave_types/enclave_plain_integer.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-ecall-types/src/enclave_types/enclave_plain_real.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-ecall-types/src/enclave_types/enclave_plain_real.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-ecall-types/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-ecall-types/src/lib.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-enclave/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-enclave/Cargo.toml -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-enclave/src/aggregate_calc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-enclave/src/aggregate_calc.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-enclave/src/enclave_context.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-enclave/src/enclave_context.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-enclave/src/enclave_use_cases.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-enclave/src/enclave_use_cases.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-enclave/src/enclave_use_cases/enc_integer_avg_final_func_use_case.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-enclave/src/enclave_use_cases/enc_integer_avg_final_func_use_case.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-enclave/src/enclave_use_cases/enc_integer_avg_state_func_use_case.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-enclave/src/enclave_use_cases/enc_integer_avg_state_func_use_case.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-enclave/src/enclave_use_cases/enc_integer_from_use_case.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-enclave/src/enclave_use_cases/enc_integer_from_use_case.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-enclave/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-enclave/src/error.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-enclave/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-enclave/src/lib.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-enclave/src/plain_types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-enclave/src/plain_types.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-enclave/src/plain_types/plain_avg_state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-enclave/src/plain_types/plain_avg_state.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-enclave/src/plain_types/plain_integer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-enclave/src/plain_types/plain_integer.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-enclave/src/plain_types/plain_real.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-enclave/src/plain_types/plain_real.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-enclave/src/type_crypt.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-enclave/src/type_crypt.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-enclave/src/type_crypt/pad16bytes_crypt.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-enclave/src/type_crypt/pad16bytes_crypt.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-host/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-host/Cargo.toml -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-host/src/controller.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-host/src/controller.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-host/src/controller/encinteger_avg_final_func.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-host/src/controller/encinteger_avg_final_func.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-host/src/controller/encinteger_avg_state_func.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-host/src/controller/encinteger_avg_state_func.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-host/src/controller/encinteger_from.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-host/src/controller/encinteger_from.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-host/src/controller/host_types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-host/src/controller/host_types.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-host/src/controller/host_types/host_enc_avg_state_with_next.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-host/src/controller/host_types/host_enc_avg_state_with_next.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-host/src/controller/host_types/host_enc_integer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-host/src/controller/host_types/host_enc_integer.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-host/src/controller/host_types/host_input_enc_avg_state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-host/src/controller/host_types/host_input_enc_avg_state.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-host/src/controller/host_types/host_output_enc_avg_state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-host/src/controller/host_types/host_output_enc_avg_state.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-host/src/controller/host_types/host_plain_integer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-host/src/controller/host_types/host_plain_integer.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-host/src/controller/host_types/host_plain_real.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-host/src/controller/host_types/host_plain_real.rs -------------------------------------------------------------------------------- /modules/encrypted-sql-ops-host/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/encrypted-sql-ops-host/src/lib.rs -------------------------------------------------------------------------------- /modules/key-vault-ecall-types/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/key-vault-ecall-types/Cargo.toml -------------------------------------------------------------------------------- /modules/key-vault-ecall-types/src/cmd.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/key-vault-ecall-types/src/cmd.rs -------------------------------------------------------------------------------- /modules/key-vault-ecall-types/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/key-vault-ecall-types/src/lib.rs -------------------------------------------------------------------------------- /modules/key-vault-ecall-types/src/types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/key-vault-ecall-types/src/types.rs -------------------------------------------------------------------------------- /modules/key-vault-enclave/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/key-vault-enclave/Cargo.toml -------------------------------------------------------------------------------- /modules/key-vault-enclave/src/context.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/key-vault-enclave/src/context.rs -------------------------------------------------------------------------------- /modules/key-vault-enclave/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/key-vault-enclave/src/error.rs -------------------------------------------------------------------------------- /modules/key-vault-enclave/src/handlers.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/key-vault-enclave/src/handlers.rs -------------------------------------------------------------------------------- /modules/key-vault-enclave/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/key-vault-enclave/src/lib.rs -------------------------------------------------------------------------------- /modules/key-vault-enclave/src/server.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/key-vault-enclave/src/server.rs -------------------------------------------------------------------------------- /modules/key-vault-host/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/key-vault-host/Cargo.toml -------------------------------------------------------------------------------- /modules/key-vault-host/src/controller.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/key-vault-host/src/controller.rs -------------------------------------------------------------------------------- /modules/key-vault-host/src/dispatcher.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/key-vault-host/src/dispatcher.rs -------------------------------------------------------------------------------- /modules/key-vault-host/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/key-vault-host/src/error.rs -------------------------------------------------------------------------------- /modules/key-vault-host/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/key-vault-host/src/lib.rs -------------------------------------------------------------------------------- /modules/occlum-enclave/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/occlum-enclave/Cargo.toml -------------------------------------------------------------------------------- /modules/occlum-enclave/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/occlum-enclave/build.rs -------------------------------------------------------------------------------- /modules/occlum-enclave/proto/health.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/occlum-enclave/proto/health.proto -------------------------------------------------------------------------------- /modules/occlum-enclave/src/context.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/occlum-enclave/src/context.rs -------------------------------------------------------------------------------- /modules/occlum-enclave/src/lib.rs: -------------------------------------------------------------------------------- 1 | #![deny(missing_debug_implementations)] 2 | 3 | mod context; 4 | pub mod service; 5 | -------------------------------------------------------------------------------- /modules/occlum-enclave/src/service.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/occlum-enclave/src/service.rs -------------------------------------------------------------------------------- /modules/occlum-host/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/modules/occlum-host/Cargo.toml -------------------------------------------------------------------------------- /modules/occlum-host/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /nodes/key-vault/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/nodes/key-vault/Cargo.toml -------------------------------------------------------------------------------- /nodes/key-vault/src/handlers.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/nodes/key-vault/src/handlers.rs -------------------------------------------------------------------------------- /nodes/key-vault/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/nodes/key-vault/src/lib.rs -------------------------------------------------------------------------------- /nodes/key-vault/src/test/enclave_key.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/nodes/key-vault/src/test/enclave_key.rs -------------------------------------------------------------------------------- /nodes/key-vault/src/test/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/nodes/key-vault/src/test/mod.rs -------------------------------------------------------------------------------- /nodes/key-vault/src/test/treekem.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/nodes/key-vault/src/test/treekem.rs -------------------------------------------------------------------------------- /nodes/state-runtime/api/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/nodes/state-runtime/api/Cargo.toml -------------------------------------------------------------------------------- /nodes/state-runtime/api/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/nodes/state-runtime/api/src/lib.rs -------------------------------------------------------------------------------- /nodes/state-runtime/server/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/nodes/state-runtime/server/Cargo.toml -------------------------------------------------------------------------------- /nodes/state-runtime/server/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/nodes/state-runtime/server/src/error.rs -------------------------------------------------------------------------------- /nodes/state-runtime/server/src/handlers.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/nodes/state-runtime/server/src/handlers.rs -------------------------------------------------------------------------------- /nodes/state-runtime/server/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/nodes/state-runtime/server/src/lib.rs -------------------------------------------------------------------------------- /nodes/state-runtime/server/src/test/enclave_key.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/nodes/state-runtime/server/src/test/enclave_key.rs -------------------------------------------------------------------------------- /nodes/state-runtime/server/src/test/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/nodes/state-runtime/server/src/test/mod.rs -------------------------------------------------------------------------------- /nodes/state-runtime/server/src/test/treekem.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/nodes/state-runtime/server/src/test/treekem.rs -------------------------------------------------------------------------------- /occlum-docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/occlum-docker-compose.yml -------------------------------------------------------------------------------- /pgx-docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/pgx-docker-compose.yml -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- 1 | edition = "2018" 2 | use_field_init_shorthand = true 3 | -------------------------------------------------------------------------------- /scripts/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/scripts/Makefile -------------------------------------------------------------------------------- /scripts/build-cli.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/scripts/build-cli.sh -------------------------------------------------------------------------------- /scripts/client.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/scripts/client.js -------------------------------------------------------------------------------- /scripts/e2e-test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/scripts/e2e-test.sh -------------------------------------------------------------------------------- /scripts/encrypted-sql-ops-pg-test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/scripts/encrypted-sql-ops-pg-test.sh -------------------------------------------------------------------------------- /scripts/gen-enclave-config.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/scripts/gen-enclave-config.sh -------------------------------------------------------------------------------- /scripts/occlum-enclave-test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/scripts/occlum-enclave-test.sh -------------------------------------------------------------------------------- /scripts/occlum-host-test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/scripts/occlum-host-test.sh -------------------------------------------------------------------------------- /scripts/pre-build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/scripts/pre-build.sh -------------------------------------------------------------------------------- /scripts/req_sign_to_azkv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/scripts/req_sign_to_azkv.py -------------------------------------------------------------------------------- /scripts/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/scripts/test.sh -------------------------------------------------------------------------------- /templates/check_changes_of_base_dockerfile.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/templates/check_changes_of_base_dockerfile.yml -------------------------------------------------------------------------------- /templates/setup_env.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/templates/setup_env.yml -------------------------------------------------------------------------------- /tests/integration/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/tests/integration/Cargo.toml -------------------------------------------------------------------------------- /tests/integration/src/enclave_key.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/tests/integration/src/enclave_key.rs -------------------------------------------------------------------------------- /tests/integration/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/tests/integration/src/lib.rs -------------------------------------------------------------------------------- /tests/integration/src/treekem.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/tests/integration/src/treekem.rs -------------------------------------------------------------------------------- /tests/units/enclave/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/tests/units/enclave/Cargo.toml -------------------------------------------------------------------------------- /tests/units/enclave/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/tests/units/enclave/src/lib.rs -------------------------------------------------------------------------------- /tests/units/host/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/tests/units/host/Cargo.toml -------------------------------------------------------------------------------- /tests/units/host/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/tests/units/host/build.rs -------------------------------------------------------------------------------- /tests/units/host/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/tests/units/host/src/lib.rs -------------------------------------------------------------------------------- /tests/utils/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/tests/utils/Cargo.toml -------------------------------------------------------------------------------- /tests/utils/proc-macro/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/tests/utils/proc-macro/Cargo.toml -------------------------------------------------------------------------------- /tests/utils/proc-macro/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/tests/utils/proc-macro/src/lib.rs -------------------------------------------------------------------------------- /tests/utils/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/tests/utils/src/lib.rs -------------------------------------------------------------------------------- /tests/utils/src/runner.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/tests/utils/src/runner.rs -------------------------------------------------------------------------------- /tests/utils/src/tracing.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayerXcom/confidential-computing-modules/HEAD/tests/utils/src/tracing.rs --------------------------------------------------------------------------------