arise-verify · tee
Source declarations, signatures and documentation for tee.
Source: sigil/node/../arise-bridge/arise-verify/src/tee.rs. SHA-256: f0b2d04a4dd99b19e9a83082489c219ff624f378605c889119b3c4944e804287.
This reference follows declared source modules, retains conditional attributes, and includes public declarations and implementation methods. Private-module re-exports and trait resolution require the compiler; this is a source reference, not a claim that every listed item is a root import. Function bodies and constant values are omitted.
tee::TeeType
Supported TEE platforms.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)]
pub enum TeeType {
/// Intel Software Guard Extensions.
IntelSgx,
/// Intel Trust Domain Extensions.
IntelTdx,
/// AMD Secure Encrypted Virtualization - Secure Nested Paging.
AmdSevSnp,
/// Arm Confidential Compute Architecture.
ArmCca,
}Source line: 19.
tee::TeeAttestation
A TEE attestation report from a provider.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct TeeAttestation {
/// The type of TEE platform.
pub tee_type: TeeType,
/// Raw attestation report data.
pub report_data: Vec<u8>,
/// Platform measurement (e.g. MRENCLAVE for SGX).
pub measurement: Vec<u8>,
/// Human-readable platform information string.
pub platform_info: String,
/// Whether the attestation has been structurally verified.
pub verified: bool
}Source line: 44.
tee::TeeAttestation::new
Creates a new unverified TEE attestation.
pub fn new(
tee_type: TeeType,
report_data: Vec<u8>,
measurement: Vec<u8>,
platform_info: String,
) -> Self;Source line: 59.
tee::TeeAttestation::verify_report
Performs structural verification of the attestation report.
This checks that the report data and measurement are non-empty and meet minimum length requirements for the platform. Full cryptographic verification is platform-specific and requires vendor libraries (Intel DCAP, AMD SEV Tool, etc.).
Returns true if structurally valid, false otherwise.
pub fn verify_report(&mut self) -> Result<bool, VerifyError>;Source line: 82.
arise-verify · sentinel
Source declarations, signatures and documentation for sentinel.
sigil-anomaly
Off-chain L1 rule-based anomaly detection for Sigil. Pure-fn rules over (transaction, snapshot view). Code-enforced airgap from consensus path: this crate has zero deps on sigil-consensus, sigil-tower, sigil-execution, sigil-state, sigil-storage, sigil-network, or sigil-node. Results are flags only, never consensus inputs.