3 releases

0.1.2 Mar 27, 2020
0.1.1 Feb 11, 2020
0.1.0 Nov 12, 2019

#2745 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 857 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.

newhope

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.

  • newhope1024cpa
    • clean (default)
  • newhope1024cca
    • clean (default)
  • newhope512cpa
    • clean (default)
  • newhope512cca
    • 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