#cryptography #post-quantum #security

no-std pqcrypto-sphincsplus

Post-Quantum Signature Scheme sphincsplus

16 releases

0.6.4 Apr 14, 2022
0.6.3 Nov 25, 2021
0.6.2 Sep 20, 2021
0.6.0 Jun 10, 2021
0.4.2 Jul 24, 2019

#861 in Cryptography

Download history 45/week @ 2022-12-01 67/week @ 2022-12-08 14/week @ 2022-12-15 20/week @ 2022-12-22 22/week @ 2022-12-29 24/week @ 2023-01-05 15/week @ 2023-01-12 29/week @ 2023-01-19 56/week @ 2023-01-26 28/week @ 2023-02-02 43/week @ 2023-02-09 72/week @ 2023-02-16 36/week @ 2023-02-23 23/week @ 2023-03-02 20/week @ 2023-03-09 17/week @ 2023-03-16

98 downloads per month
Used in 4 crates (2 directly)

MIT/Apache

36MB
1M SLoC

GNU Style Assembly 567K SLoC // 0.0% comments C 346K SLoC // 0.2% comments Rust 23K SLoC // 0.0% comments Python 1.5K SLoC // 0.1% comments SWIG 348 SLoC // 0.0% comments 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-haraka-128f-robust
    • clean
    • aesni (if supported)
  • sphincs-haraka-128f-simple
    • clean
    • aesni (if supported)
  • sphincs-haraka-128s-robust
    • clean
    • aesni (if supported)
  • sphincs-haraka-128s-simple
    • clean
    • aesni (if supported)
  • sphincs-haraka-192f-robust
    • clean
    • aesni (if supported)
  • sphincs-haraka-192f-simple
    • clean
    • aesni (if supported)
  • sphincs-haraka-192s-robust
    • clean
    • aesni (if supported)
  • sphincs-haraka-192s-simple
    • clean
    • aesni (if supported)
  • sphincs-haraka-256f-robust
    • clean
    • aesni (if supported)
  • sphincs-haraka-256f-simple
    • clean
    • aesni (if supported)
  • sphincs-haraka-256s-robust
    • clean
    • aesni (if supported)
  • sphincs-haraka-256s-simple
    • clean
    • aesni (if supported)
  • sphincs-shake256-128f-robust
    • clean
    • avx2 (if supported)
  • sphincs-shake256-128f-simple
    • clean
    • avx2 (if supported)
  • sphincs-shake256-128s-robust
    • clean
    • avx2 (if supported)
  • sphincs-shake256-128s-simple
    • clean
    • avx2 (if supported)
  • sphincs-shake256-192f-robust
    • clean
    • avx2 (if supported)
  • sphincs-shake256-192f-simple
    • clean
    • avx2 (if supported)
  • sphincs-shake256-192s-robust
    • clean
    • avx2 (if supported)
  • sphincs-shake256-192s-simple
    • clean
    • avx2 (if supported)
  • sphincs-shake256-256f-robust
    • clean
    • avx2 (if supported)
  • sphincs-shake256-256f-simple
    • clean
    • avx2 (if supported)
  • sphincs-shake256-256s-robust
    • clean
    • avx2 (if supported)
  • sphincs-shake256-256s-simple
    • clean
    • avx2 (if supported)
  • sphincs-sha256-128f-robust
    • clean
    • avx2 (if supported)
  • sphincs-sha256-128f-simple
    • clean
    • avx2 (if supported)
  • sphincs-sha256-128s-robust
    • clean
    • avx2 (if supported)
  • sphincs-sha256-128s-simple
    • clean
    • avx2 (if supported)
  • sphincs-sha256-192f-robust
    • clean
    • avx2 (if supported)
  • sphincs-sha256-192f-simple
    • clean
    • avx2 (if supported)
  • sphincs-sha256-192s-robust
    • clean
    • avx2 (if supported)
  • sphincs-sha256-192s-simple
    • clean
    • avx2 (if supported)
  • sphincs-sha256-256f-robust
    • clean
    • avx2 (if supported)
  • sphincs-sha256-256f-simple
    • clean
    • avx2 (if supported)
  • sphincs-sha256-256s-robust
    • clean
    • avx2 (if supported)
  • sphincs-sha256-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