pqcrypto-classicmceliece-wasi

Crates.iopqcrypto-classicmceliece-wasi
lib.rspqcrypto-classicmceliece-wasi
version0.1.8
sourcesrc
created_at2021-10-13 21:44:21.864811
updated_at2021-10-17 18:46:54.78011
descriptionPost-Quantum Key-Encapsulation Mechanism classicmceliece with WASM/WASI support
homepagehttps://github.com/rustpq/
repositoryhttps://github.com/john-sharratt/pqcrypto-wasi
max_upload_size
id464690
size42,205,697
Johnathan Sharratt (john-sharratt)

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
    • avx (if supported)
    • vec (default)
    • clean (included as ffi only)
  • mceliece348864f
    • avx (if supported)
    • vec (default)
    • clean (included as ffi only)
  • mceliece460896
    • avx (if supported)
    • vec (default)
    • clean (included as ffi only)
  • mceliece460896f
    • avx (if supported)
    • vec (default)
    • clean (included as ffi only)
  • mceliece6688128
    • avx (if supported)
    • vec (default)
    • clean (included as ffi only)
  • mceliece6688128f
    • avx (if supported)
    • vec (default)
    • clean (included as ffi only)
  • mceliece6960119
    • avx (if supported)
    • vec (default)
    • clean (included as ffi only)
  • mceliece6960119f
    • avx (if supported)
    • vec (default)
    • clean (included as ffi only)
  • mceliece8192128
    • avx (if supported)
    • vec (default)
    • clean (included as ffi only)
  • mceliece8192128f
    • avx (if supported)
    • vec (default)
    • clean (included as ffi only)

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: 233

cargo fmt