pqcrypto-classicmceliece

Crates.iopqcrypto-classicmceliece
lib.rspqcrypto-classicmceliece
version0.2.0
sourcesrc
created_at2020-02-11 08:38:59.06763
updated_at2023-10-16 14:57:48.876897
descriptionPost-Quantum Key-Encapsulation Mechanism classicmceliece
homepagehttps://github.com/rustpq/
repositoryhttps://github.com/rustpq/pqcrypto/
max_upload_size
id207293
size22,175,321
Thom Wiggers (thomwiggers)

documentation

README

classicmceliece

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.

  • mceliece348864
    • clean
    • avx2 (if supported)
  • mceliece348864f
    • clean
    • avx2 (if supported)
  • mceliece460896
    • clean
    • avx2 (if supported)
  • mceliece460896f
    • clean
    • avx2 (if supported)
  • mceliece6688128
    • clean
    • avx2 (if supported)
  • mceliece6688128f
    • clean
    • avx2 (if supported)
  • mceliece6960119
    • clean
    • avx2 (if supported)
  • mceliece6960119f
    • clean
    • avx2 (if supported)
  • mceliece8192128
    • clean
    • avx2 (if supported)
  • mceliece8192128f
    • clean
    • avx2 (if supported)

Notes

This implementation requires a lot of stack space. You need to specify RUST_MIN_STACK=800000000, probably.

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.

Commit count: 234

cargo fmt