11 releases

0.4.0 Oct 24, 2024
0.3.0 Oct 16, 2023
0.2.10 Nov 25, 2021
0.2.6 Jun 10, 2021
0.1.0 Jul 24, 2019

#1865 in Cryptography

Download history 11/week @ 2024-08-17 48/week @ 2024-08-24 44/week @ 2024-08-31 123/week @ 2024-09-07 23/week @ 2024-09-14 79/week @ 2024-09-21 48/week @ 2024-09-28 51/week @ 2024-10-05 64/week @ 2024-10-12 209/week @ 2024-10-19 106/week @ 2024-10-26 68/week @ 2024-11-02 68/week @ 2024-11-09 89/week @ 2024-11-16 30/week @ 2024-11-23 160/week @ 2024-11-30

359 downloads per month
Used in 14 crates (9 directly)

MIT/Apache

22MB
472K SLoC

GNU Style Assembly 279K SLoC // 0.0% comments C 181K SLoC // 0.3% comments Bitbake 7.5K SLoC // 0.0% comments Rust 3.5K SLoC // 0.0% comments Python 1.5K SLoC // 0.1% comments Jinja2 202 SLoC INI 5 SLoC

Contains (Mach-o exe, 130KB) pqclean/bin/functest_kyber1024_aarch64, (Mach-o exe, 130KB) pqclean/bin/functest_kyber512_aarch64, (Mach-o exe, 130KB) pqclean/bin/functest_kyber768_aarch64, (Mach-o exe, 110KB) pqclean/bin/functest_kyber768_clean, (Mach-o exe, 130KB) testvectors_kyber1024_aarch64, (Mach-o exe, 130KB) pqclean/bin/testvectors_kyber512_aarch64 and 76 more.

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-padded-512
    • clean
    • avx2 (if supported)
    • aarch64 (if supported)
  • falcon-1024
    • clean
    • avx2 (if supported)
    • aarch64 (if supported)
  • falcon-padded-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