2 unstable releases

0.2.0 Feb 11, 2020
0.1.0 Nov 12, 2019

#2640 in Cryptography

MIT/Apache

29MB
622K SLoC

GNU Style Assembly 326K SLoC // 0.0% comments C 238K SLoC // 0.2% comments Bitbake 56K SLoC // 0.0% comments Python 1K SLoC // 0.1% comments Rust 1K SLoC // 0.0% comments INI 4 SLoC

Contains (static library, 56KB) libsphincs-haraka-256s-robust_clean.a, (static library, 50KB) libkyber1024_clean.a, (static library, 49KB) libkyber512_clean.a, (static library, 39KB) libntruhps2048509_clean.a, (static library, 35KB) libntruhps2048677_clean.a, (static library, 55KB) libsphincs-haraka-192f-robust_clean.a and 348 more.

threebears

This crate contains bindings to the C implementations of the following schemes, from PQClean.

This project packages Post-Quantum cryptographic algorithms that participate in the NIST PQC standardization effort. It is currently a collection of wrappers around C implementations from the PQClean project.

Included implementations from PQClean

Below is a list of the included schemes and the corresponding implementations sourced from PQClean. The "default" implementation is used in the Rust-friendly interface, alternative implementations are exposed as ffi methods only.

  • babybear
    • clean (default)
  • mamabear
    • clean (default)
  • papabear
    • clean (default)
  • papabear-ephem
    • clean (default)
  • mamabear-ephem
    • clean (default)
  • babybear-ephem
    • clean (default)

License

The wrappers and wrapper generation scripts in this project are covered by the MIT or Apache 2.0 licenses, at your choice.

The implementations we link to are not, however. Please see the PQClean project for the appropriate licenses.

Dependencies