17 releases

0.7.0 Oct 16, 2023
0.6.4 Apr 14, 2022
0.6.3 Nov 25, 2021
0.6.0 Jun 10, 2021
0.4.2 Jul 24, 2019

#2485 in Cryptography

Download history 273/week @ 2024-07-21 229/week @ 2024-07-28 474/week @ 2024-08-04 280/week @ 2024-08-11 190/week @ 2024-08-18 388/week @ 2024-08-25 342/week @ 2024-09-01 517/week @ 2024-09-08 310/week @ 2024-09-15 484/week @ 2024-09-22 499/week @ 2024-09-29 313/week @ 2024-10-06 556/week @ 2024-10-13 619/week @ 2024-10-20 245/week @ 2024-10-27 202/week @ 2024-11-03

1,659 downloads per month
Used in 7 crates (3 directly)

MIT/Apache

19MB
432K SLoC

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

sphincsplus

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.

  • sphincs-shake-128f-simple
    • clean
    • avx2 (if supported)
  • sphincs-shake-128s-simple
    • clean
    • avx2 (if supported)
  • sphincs-shake-192f-simple
    • clean
    • avx2 (if supported)
  • sphincs-shake-192s-simple
    • clean
    • avx2 (if supported)
  • sphincs-shake-256f-simple
    • clean
    • avx2 (if supported)
  • sphincs-shake-256s-simple
    • clean
    • avx2 (if supported)
  • sphincs-sha2-128f-simple
    • clean
    • avx2 (if supported)
  • sphincs-sha2-128s-simple
    • clean
    • avx2 (if supported)
  • sphincs-sha2-192f-simple
    • clean
    • avx2 (if supported)
  • sphincs-sha2-192s-simple
    • clean
    • avx2 (if supported)
  • sphincs-sha2-256f-simple
    • clean
    • avx2 (if supported)
  • sphincs-sha2-256s-simple
    • 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