mc-sgx-trts-sys

Crates.iomc-sgx-trts-sys
lib.rsmc-sgx-trts-sys
version0.11.0
sourcesrc
created_at2022-08-18 21:46:47.831435
updated_at2024-03-22 20:12:22.705785
descriptionFFI bindings for `sgx_trts`.
homepage
repositoryhttps://github.com/mobilecoinfoundation/sgx
max_upload_size
id648362
size5,726
Eran Rundstein (eranrund)

documentation

README

MobileCoin SGX: tRTS FFI Bindings

Project ChatLicenseTargetCrates.ioDocs StatusDependency Status

Provides the rust function bindings to the sgx_trts library.

Table of Contents

License

Look for the LICENSE file at the root of the repo for more information.

Build Instructions

The workspace can be built with cargo build

Due to the need to link to an enclave, tests are not currently supported.

The Intel SGX SDK needs to be installed.

Intel SGX SDK

See https://github.com/intel/linux-sgx#build-the-intelr-sgx-sdk-and-intelr-sgx-psw-package for installation instructions.

The environment variable SGX_SDK can be used to specify where the SDK is installed. When unset the location will default to /opt/intel/sgxsdk

Features

When no features are present the SGX hardware libraries will be linked in. When the sim feature is present the simulation SGX libraries will be linked in.

References

Commit count: 1096

cargo fmt