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

#2000 in Cryptography

Download history 34/week @ 2023-12-06 80/week @ 2023-12-13 65/week @ 2023-12-20 33/week @ 2023-12-27 40/week @ 2024-01-03 50/week @ 2024-01-10 81/week @ 2024-01-17 52/week @ 2024-01-24 93/week @ 2024-01-31 38/week @ 2024-02-07 66/week @ 2024-02-14 66/week @ 2024-02-21 68/week @ 2024-02-28 42/week @ 2024-03-06 98/week @ 2024-03-13 153/week @ 2024-03-20

371 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

~56–385KB