#post-quantum-cryptography #post-quantum #security

yanked pqcrypto-ledacryptkem

Post-Quantum Key-Encapsulation Mechanism ledacryptkem

0.0.4 Jul 23, 2020
0.0.3 Feb 11, 2020
0.0.2 Sep 24, 2019
0.0.1 Aug 22, 2019

#75 in #post-quantum-cryptography

MIT/Apache

28MB
629K SLoC

GNU Style Assembly 326K SLoC // 0.0% comments C 245K SLoC // 0.2% comments Bitbake 56K SLoC // 0.0% comments Python 1.5K SLoC // 0.1% comments Rust 672 SLoC // 0.0% comments INI 5 SLoC

ledacryptkem

This (implementation of an) cryptographic algorithm is insecure.
This crate will only compile if you enable the "cryptographically-insecure" feature.

Only use this crate and algorithm for research and educational purposes.

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.

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.

  • ledakemlt12
    • leaktime (default)
  • ledakemlt32
    • leaktime (default)
  • ledakemlt52
    • leaktime (default)

Notes

This version of LEDA is insecure

https://eprint.iacr.org/2020/455

This implementation is not constant-time! This means that it is not secure.

This crate may remove the leaktime implementation at any point.

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