rustpq / pqcrypto

Rust Post-Quantum cryptography
245 stars 43 forks source link
crypto-library cryptography post-quantum post-quantum-cryptography pqc pqcrypto rust

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.