ockam_ffi/
lib.rs

1//! In order to support a variety of cryptographically capable hardware we maintain loose coupling between our protocols and how a specific building block is invoked in a specific hardware. This is achieved using an abstract Vault trait.
2//!
3//! A concrete implementation of the Vault trait is called an Ockam Vault. Over time, and with help from the Ockam open source community, we plan to add vaults for several TEEs, TPMs, HSMs, and Secure Enclaves.
4//!
5//! This crate provides the Vault FFI bindings following the  "C" calling convention, and generates static and dynamic C linkable libraries.
6#![warn(
7    missing_docs,
8    trivial_casts,
9    trivial_numeric_casts,
10    unused_import_braces,
11    unused_qualifications
12)]
13#![allow(clippy::not_unsafe_ptr_arg_deref)]
14
15mod error;
16mod macros;
17mod vault;
18mod vault_types;
19
20pub use error::*;
21pub use vault::*;
22use vault_types::*;