pqcrypto-ntruprime

Crates.iopqcrypto-ntruprime
lib.rspqcrypto-ntruprime
version0.1.6
sourcesrc
created_at2021-02-26 21:55:12.628002
updated_at2022-04-14 13:35:23.882142
descriptionPost-Quantum Key-Encapsulation Mechanism ntruprime
homepagehttps://github.com/rustpq/
repositoryhttps://github.com/rustpq/pqcrypto/
max_upload_size
id361106
size43,893,610
Thom Wiggers (thomwiggers)

documentation

README

ntruprime

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.

  • ntrulpr653
    • clean
    • avx2 (if supported)
  • ntrulpr761
    • clean
    • avx2 (if supported)
  • ntrulpr857
    • clean
    • avx2 (if supported)
  • ntrulpr953
    • clean
    • avx2 (if supported)
  • ntrulpr1013
    • clean
    • avx2 (if supported)
  • ntrulpr1277
    • clean
    • avx2 (if supported)
  • sntrup653
    • clean
    • avx2 (if supported)
  • sntrup761
    • clean
    • avx2 (if supported)
  • sntrup857
    • clean
    • avx2 (if supported)
  • sntrup953
    • clean
    • avx2 (if supported)
  • sntrup1013
    • clean
    • avx2 (if supported)
  • sntrup1277
    • 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.

Commit count: 234

cargo fmt