#cryptography #post-quantum #security

pqcrypto-threebears

Post-Quantum Key-Encapsulation Mechanism threebears

2 unstable releases

0.2.0 Feb 11, 2020
0.1.0 Nov 12, 2019

#1197 in Cryptography

MIT/Apache

25MB
567K SLoC

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

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