lexe-enclave 0.1.25

Lexe Intel SGX enclave types and platform functions
Documentation
//! low-level SGX enclave types, constants, and platform functions.
//!
//! This crate tries to be dependency minimized, so other crates can
//! use types like `Measurement` with also pulling in a huge number of other
//! heavy dependencies.

/// Basic heap allocator instrumentation for SGX enclaves.
pub mod allocator;

// Re-export in this `enclave` module for nicer namespacing, e.g.,
// `enclave::measurement()` vs just `measurement()`.
pub mod enclave {
    pub use crate::{platform::*, types::*};

    pub mod dev {
        pub use crate::dev::*;
    }
}

/// Dev enclave identity patching.
mod dev;
/// SGX platform functions, e.g., `measurement()`, `machine_id()`, ...
mod platform;
/// SGX enclave types, e.g., `Measurement`, `MachineId`, ...
mod types;