pqcrypto-kyber-wasi

Crates.iopqcrypto-kyber-wasi
lib.rspqcrypto-kyber-wasi
version0.7.6
sourcesrc
created_at2021-10-13 20:31:29.836655
updated_at2021-10-17 18:42:36.690299
descriptionPost-Quantum Key-Encapsulation Mechanism kyber with WASM/WASI support
homepagehttps://github.com/rustpq/
repositoryhttps://github.com/john-sharratt/pqcrypto-wasi
max_upload_size
id464642
size42,123,201
Johnathan Sharratt (john-sharratt)

documentation

README

kyber

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.

  • kyber512
    • avx2 (if supported)
    • clean (default)
  • kyber768
    • avx2 (if supported)
    • clean (default)
  • kyber1024
    • avx2 (if supported)
    • clean (default)
  • kyber512-90s
    • avx2 (if supported)
    • clean (default)
  • kyber768-90s
    • avx2 (if supported)
    • clean (default)
  • kyber1024-90s
    • avx2 (if supported)

    • clean (default)

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