#monocypher #generated-bindings #api-bindings

sys mini-monocypher-sys

Monocypher C FFI Bindings generated by bindgen

2 releases

0.1.1 Jul 27, 2023
0.1.0 Jul 25, 2023

#106 in #generated-bindings


Used in 2 crates (via mini-monocypher)

CC0 license

400KB
7.5K SLoC

C 6.5K SLoC // 0.3% comments Python 444 SLoC // 0.6% comments Shell 197 SLoC // 0.7% comments Rust 29 SLoC // 0.3% comments

mini-monocypher-sys

mini-monocypher-sys provides bindgen generated C bindings to Monocypher C library. It currently exposes only a subset of functionality which is exposed as an api by mini-monocypher crate.

Status

The current bindings are generated:

  • crypto_blake2b_* functions
  • crypto_aead_{lock,unlock}
  • crypto_x25519_* functions

No runtime deps

~0–2MB
~39K SLoC