3 releases

0.2.14 Jul 2, 2022
0.2.13 Jul 2, 2022
0.2.12 Oct 17, 2021

#2069 in Cryptography

Download history 63/week @ 2023-12-18 31/week @ 2023-12-25 77/week @ 2024-01-08 15/week @ 2024-01-15 91/week @ 2024-01-22 94/week @ 2024-01-29 25/week @ 2024-02-05 65/week @ 2024-02-12 35/week @ 2024-02-19 77/week @ 2024-02-26 35/week @ 2024-03-04 69/week @ 2024-03-11 156/week @ 2024-03-18 81/week @ 2024-03-25 216/week @ 2024-04-01

531 downloads per month
Used in 15 crates (3 directly)

MIT/Apache

38MB
1M SLoC

GNU Style Assembly 567K SLoC // 0.0% comments C 354K SLoC // 0.2% comments Bitbake 59K SLoC // 0.0% comments Python 1.5K SLoC // 0.1% comments Rust 1.5K SLoC // 0.0% comments SWIG 348 SLoC // 0.0% comments Jinja2 201 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)
  • falcon-1024
    • clean
    • avx2 (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