hqc
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.
hqc-128-1-cca2
leaktime
(default)
hqc-192-1-cca2
leaktime
(default)
hqc-192-2-cca2
leaktime
(default)
hqc-256-1-cca2
leaktime
(default)
hqc-256-2-cca2
leaktime
(default)
hqc-256-3-cca2
leaktime
(default)
Notes
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.