70 breaking releases

0.78.0 Sep 13, 2023
0.76.0 Jun 27, 2023
0.69.0 Mar 28, 2023
0.62.0 Sep 21, 2022
0.12.0 Jul 29, 2021

#2168 in Cryptography

25 downloads per month

Apache-2.0

375KB
8K SLoC

ockam-ffi

crate docs license discuss

Ockam is a library for building devices that communicate securely, privately and trustfully with cloud services and other devices.

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.

Usage

Add this to your Cargo.toml:

[dependencies]
ockam-ffi = "0.78.0"

License

This code is licensed under the terms of the Apache License 2.0.

Dependencies

~10–19MB
~243K SLoC