Crate ockam_ffi

source ·
Expand description

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.

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.

This crate provides the Vault FFI bindings following the “C” calling convention, and generates static and dynamic C linkable libraries.

Macros

  • Safety macro which ensures a buffer is not null and not empty.

Structs

Enums

  • Represents the failures that can occur in an Ockam FFI Vault.

Functions