55 breaking releases

Uses new Rust 2021

0.62.0 Sep 21, 2022
0.60.0 Sep 7, 2022
0.53.0 Jul 18, 2022
0.38.0 Mar 28, 2022
0.12.0 Jul 29, 2021

#869 in Cryptography

Download history 30/week @ 2022-06-10 31/week @ 2022-06-17 11/week @ 2022-06-24 69/week @ 2022-07-01 54/week @ 2022-07-08 178/week @ 2022-07-15 155/week @ 2022-07-22 81/week @ 2022-07-29 14/week @ 2022-08-05 24/week @ 2022-08-12 4/week @ 2022-08-19 82/week @ 2022-08-26 38/week @ 2022-09-02 97/week @ 2022-09-09 30/week @ 2022-09-16 8/week @ 2022-09-23

184 downloads per month

Apache-2.0

240KB
5.5K 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.62.0"

License

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

Dependencies

~8–14MB
~237K SLoC