Crates.io | pqcrypto-frodo-wasi |
lib.rs | pqcrypto-frodo-wasi |
version | 0.4.12 |
source | src |
created_at | 2021-10-13 20:31:50.255923 |
updated_at | 2021-10-17 18:42:53.676087 |
description | Post-Quantum Key-Encapsulation Mechanism frodo with WASM/WASI support |
homepage | https://github.com/rustpq/ |
repository | https://github.com/john-sharratt/pqcrypto-wasi |
max_upload_size | |
id | 464643 |
size | 42,118,916 |
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.
If you want serde
support, enable the serialization
feature.
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.
frodokem640aes
opt
(default)clean
(included as ffi
only)frodokem640shake
opt
(default)clean
(included as ffi
only)frodokem976aes
opt
(default)clean
(included as ffi
only)frodokem976shake
opt
(default)clean
(included as ffi
only)frodokem1344aes
opt
(default)clean
(included as ffi
only)frodokem1344shake
opt
(default)clean
(included as ffi
only)If you use it via the FFI interface: The clean
implementation of Frodo
needs a lot of stack space, specify env variable RUST_MIN_STACK
to make
sure it has enough stack space in threads.
This is not relevant for the 'normal' api methods.
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.