3 releases
0.5.11 | Jul 2, 2022 |
---|---|
0.5.10 | Jul 2, 2022 |
0.5.9 | Oct 17, 2021 |
#1676 in Cryptography
42 downloads per month
Used in 10 crates
(2 directly)
38MB
1M
SLoC
ntru
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.
ntruhps2048509
clean
avx2
(if supported)
ntruhps2048677
clean
avx2
(if supported)
ntruhps4096821
clean
avx2
(if supported)
ntruhps40961229
clean
ntruhrss701
clean
avx2
(if supported)
ntruhrss1373
clean
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.