#signatures #picnic

no-std pqcrypto-picnic

Picnic implementation for pqcrypto

3 unstable releases

Uses new Rust 2021

0.1.0 Aug 19, 2022
0.0.2 Apr 5, 2022
0.0.1 Dec 6, 2021

#697 in Cryptography

MIT license

19KB
365 lines

Picnic implementation for pqcrypto

This crate provides bindings for the optimized implementation of the Picnic digital signature scheme. It implements the traits of the pqcrypto-traits crate.

Features

This crate supports the following features:

  • picnic (default): Enable the Picnic parameter sets with ZKB++/Fiat-Shamir as proof system.
  • unruh-transform: Enable the Picnic parameter sets with ZKB++/Unruh as proof system.
  • picnic3 (default): Enable the Picnic parameter sets with KKW/Fiat-Shamir as proof system.
  • system (default): Use the shared library of Picnic per default.
  • static-fallback (default): Build Picnic on demand if shared library is not available.
  • std (default): Use std.
  • serialization: Enable serialization with serde.

If the crate is not built with std enabled, the alloc crates is used.

Security Notes

This crate has received no security audit. Use at your own risk.

License

This crate is licensed under the MIT license.

Dependencies

~3.5MB
~40K SLoC