2 releases

0.2.5 Jul 2, 2022
0.2.4 Oct 17, 2021
0.2.3 Oct 17, 2021
0.2.2 Oct 16, 2021
0.2.1 Oct 13, 2021

#2125 in Cryptography

Download history 101/week @ 2024-03-15 149/week @ 2024-03-22 112/week @ 2024-03-29 187/week @ 2024-04-05 88/week @ 2024-04-12 72/week @ 2024-04-19 77/week @ 2024-04-26 54/week @ 2024-05-03 45/week @ 2024-05-10 75/week @ 2024-05-17 55/week @ 2024-05-24 42/week @ 2024-05-31 38/week @ 2024-06-07 50/week @ 2024-06-14 61/week @ 2024-06-21 18/week @ 2024-06-28

170 downloads per month
Used in 26 crates (11 directly)

MIT/Apache

130KB
3K SLoC

C 3K SLoC // 0.1% comments Rust 69 SLoC

Bindings to quantum-safe cryptographic libraries

dependency status

This repository contains bindings to C implementations of cryptographic algorithms part of the NIST competition. These bindings are generated based on the PQClean project, which aims to collect 'clean' implementations of cryptographic algorithms.

How to generate the bindings

The pqcrypto-templates folder contains the master copies of the Rust files. The binding libraries are generated from the PQClean meta files and PQClean specified API. The file implementations.yaml controls the version numbers and included variants of each scheme. The generation of the different pq-crates is done by the generate-implementation.py script.

Documentation

See the documentation of the master project on docs.rs.

Dependencies

~52–400KB