12 releases

new 0.2.1 Dec 11, 2024
0.2.0 Oct 16, 2023
0.1.6 Oct 21, 2022
0.1.5 Apr 14, 2022
0.0.2 Apr 8, 2020

#2593 in Cryptography

Download history 20/week @ 2024-08-21 18/week @ 2024-08-28 84/week @ 2024-09-04 30/week @ 2024-09-11 18/week @ 2024-09-18 29/week @ 2024-09-25 11/week @ 2024-10-02 43/week @ 2024-10-09 20/week @ 2024-10-16 19/week @ 2024-10-23 21/week @ 2024-10-30 31/week @ 2024-11-06 110/week @ 2024-11-13 23/week @ 2024-11-20 14/week @ 2024-11-27 37/week @ 2024-12-04

191 downloads per month
Used in 4 crates (via pqcrypto)

MIT/Apache

22MB
469K SLoC

GNU Style Assembly 279K SLoC // 0.0% comments C 181K SLoC // 0.3% comments Bitbake 7.5K SLoC // 0.0% comments Python 1.5K SLoC // 0.1% comments Rust 545 SLoC // 0.0% 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.

hqc

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.

  • hqc-128
    • clean
  • hqc-192
    • clean
  • hqc-256
    • clean

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