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

#2003 in Cryptography

Download history 30/week @ 2024-07-22 59/week @ 2024-07-29 41/week @ 2024-08-05 25/week @ 2024-08-12 21/week @ 2024-08-19 36/week @ 2024-08-26 19/week @ 2024-09-02 20/week @ 2024-09-09 25/week @ 2024-09-16 60/week @ 2024-09-23 31/week @ 2024-09-30 27/week @ 2024-10-14 16/week @ 2024-10-21 17/week @ 2024-10-28 16/week @ 2024-11-04

76 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

~51–500KB
~10K SLoC