#cryptography #post-quantum #security

no-std pqcrypto-sphincsplus

Post-Quantum Signature Scheme sphincsplus

15 releases

new 0.6.3 Nov 25, 2021
0.6.0 Jun 10, 2021
0.5.3 Feb 26, 2021
0.5.2 Dec 9, 2020
0.4.2 Jul 24, 2019

#83 in Cryptography

44 downloads per month
Used in 3 crates (2 directly)

MIT/Apache

36MB
1M SLoC

GNU Style Assembly 567K SLoC // 0.0% comments C 347K 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