8 releases

0.4.0 May 30, 2021
0.1.7 May 3, 2021
0.1.5 Apr 27, 2021

#626 in Cryptography

49 downloads per month

Apache-2.0

98KB
2K 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.1.7"

License

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

Dependencies

~5MB
~94K SLoC