10 releases

0.3.0 Oct 16, 2023
0.2.10 Nov 25, 2021
0.2.9 Sep 20, 2021
0.2.6 Jun 10, 2021
0.1.0 Jul 24, 2019

#2330 in Cryptography

Download history 41/week @ 2024-01-22 5/week @ 2024-01-29 8/week @ 2024-02-19 37/week @ 2024-02-26 14/week @ 2024-03-04 17/week @ 2024-03-11 22/week @ 2024-03-18

91 downloads per month
Used in 10 crates (7 directly)

MIT/Apache

19MB
426K SLoC

GNU Style Assembly 278K SLoC // 0.0% comments C 143K SLoC // 0.3% comments Bitbake 2.5K SLoC // 0.0% comments Rust 1.5K SLoC // 0.0% comments Python 1.5K SLoC // 0.1% comments Jinja2 202 SLoC INI 5 SLoC

falcon

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.

Serialization

If you want serde support, enable the serialization feature.

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.

  • falcon-512
    • clean
    • avx2 (if supported)
    • aarch64 (if supported)
  • falcon-1024
    • clean
    • avx2 (if supported)
    • aarch64 (if supported)

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